Linus Groh
2a38f008bf
LibWeb: Make getElementsByClassName() case-insensitive in quirks mode
...
From https://dom.spec.whatwg.org/#concept-getelementsbyclassname :
The comparisons for the classes must be done in an ASCII case-
insensitive manner if root’s node document’s mode is "quirks", and
in an identical to manner otherwise.
2021-02-08 17:59:04 +01:00
Andreas Kling
0eac44af49
LibWeb: Don't assert on <colgroup> & friends
...
Let's just construct a placeholder BlockBox layout node for now.
Fixes #5081 .
2021-02-07 11:47:33 +01:00
Andreas Kling
796c31a52b
LibWeb: Reorganize Element::create_layout_node() into a switch
...
This allows us to see which CSS::Display types are not yet handled.
2021-02-07 11:40:42 +01:00
Andreas Kling
e6712fcd82
LibWeb: Use any_of() for DOM::Element::has_class()
2021-02-07 11:35:26 +01:00
Andreas Kling
330c3fcb59
LibWeb: Use move semantics for QualifiedName more often
2021-02-07 11:20:15 +01:00
Andreas Kling
140463e833
LibWeb: Parse "display: flex" and create BlockBox layout nodes for them
...
I'm not 100% sure that BlockBox is the right layout node for flex
containers, but it's the most obviously fitting one we already have.
2021-01-18 20:20:00 +01:00
Andreas Kling
13d7c09125
Libraries: Move to Userland/Libraries/
2021-01-12 12:17:46 +01:00