mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
layout: Add initial support for the ::marker
pseudo-element (#36317)
This change adds support for the `::marker` pseudo-element and ensure that markers are cached into the box tree. This is only initial support, there are a few things missing such as animations, transitions, and support the `content` CSS property. Testing: There are WPT tests for this change. Signed-off-by: Martin Robinson <mrobinson@igalia.com> Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
a5c547259f
commit
2b63e60e8f
27 changed files with 282 additions and 276 deletions
|
@ -174,14 +174,6 @@ svg > * {
|
|||
writing-mode: inherit;
|
||||
}
|
||||
|
||||
/* style for text node. */
|
||||
*|*::-servo-legacy-text {
|
||||
text-overflow: inherit;
|
||||
overflow: inherit;
|
||||
padding: unset;
|
||||
margin: unset;
|
||||
}
|
||||
|
||||
*|*::-servo-legacy-table-wrapper {
|
||||
display: table;
|
||||
border: none;
|
||||
|
|
|
@ -422,3 +422,12 @@ iframe:fullscreen {
|
|||
border:none !important;
|
||||
padding:0 !important;
|
||||
}
|
||||
|
||||
/* https://drafts.csswg.org/css-lists-3/#ua-stylesheet */
|
||||
*::marker {
|
||||
text-align: end;
|
||||
text-transform: none;
|
||||
unicode-bidi: isolate;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: pre;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue