Bug 1660358 - [css-lists-3][css-pseudo-4] Add support for 'text-transform' on ::marker. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D90329
This commit is contained in:
Mats Palmgren 2020-09-15 23:22:26 +00:00
parent 30d5f7b4e5
commit a4b9f330ab
7 changed files with 3 additions and 36 deletions

View File

@ -133,6 +133,7 @@
/* https://drafts.csswg.org/css-lists-3/#ua-stylesheet */
*|*::marker {
text-align: end;
text-transform: none;
unicode-bidi: isolate;
font-variant-numeric: tabular-nums;
}

View File

@ -8192,6 +8192,7 @@ var gCSSProperties = {
applies_to_first_letter: true,
applies_to_first_line: true,
applies_to_placeholder: true,
applies_to_marker: true,
initial_values: ["none"],
other_values: [
"capitalize",

View File

@ -773,6 +773,7 @@ class PropertyRestrictions:
return set([
"color",
"text-combine-upright",
"text-transform",
"unicode-bidi",
"direction",
"content",

View File

@ -1,25 +0,0 @@
[marker-default-styles.html]
[Computed value of 'text-transform' for inside symbol]
expected: FAIL
[Computed value of 'text-transform' for outside string]
expected: FAIL
[Computed value of 'text-transform' for outside marker]
expected: FAIL
[Computed value of 'text-transform' for outside symbol]
expected: FAIL
[Computed value of 'text-transform' for inside decimal]
expected: FAIL
[Computed value of 'text-transform' for inside marker]
expected: FAIL
[Computed value of 'text-transform' for outside decimal]
expected: FAIL
[Computed value of 'text-transform' for inside string]
expected: FAIL

View File

@ -1,2 +0,0 @@
[marker-text-transform-default.html]
expected: FAIL

View File

@ -17,12 +17,6 @@
[Animation of white-space in ::marker]
expected: FAIL
[Transition of text-transform in ::marker]
expected: FAIL
[Animation of text-transform in ::marker]
expected: FAIL
[Transition of tab-size in ::marker]
expected: FAIL

View File

@ -14,9 +14,6 @@
[Property transition value 'display 1s linear 2s' in ::marker]
expected: FAIL
[Property text-transform value 'uppercase' in ::marker]
expected: FAIL
[Property text-shadow value 'rgb(0, 255, 0) 1px 2px 3px' in ::marker]
expected: FAIL