зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1696712 - [css-pseudo] Use 'white-space: pre' by default in ::marker. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D107359
This commit is contained in:
Родитель
a4272ff381
Коммит
2b3dbc5dc2
|
@ -136,6 +136,7 @@
|
|||
text-transform: none;
|
||||
unicode-bidi: isolate;
|
||||
font-variant-numeric: tabular-nums;
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
/* SVG documents don't always load this file but they do have links.
|
||||
|
|
|
@ -8526,6 +8526,7 @@ var gCSSProperties = {
|
|||
type: CSS_TYPE_LONGHAND,
|
||||
applies_to_placeholder: true,
|
||||
applies_to_cue: true,
|
||||
applies_to_marker: true,
|
||||
initial_values: ["normal"],
|
||||
other_values: [
|
||||
"pre",
|
||||
|
|
|
@ -879,6 +879,7 @@ class PropertyRestrictions:
|
|||
def marker(data):
|
||||
return set(
|
||||
[
|
||||
"white-space",
|
||||
"color",
|
||||
"text-combine-upright",
|
||||
"text-transform",
|
||||
|
|
|
@ -1,7 +1,4 @@
|
|||
[marker-supported-properties-in-animation.html]
|
||||
[Transition of white-space in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
[Transition of font in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -14,9 +11,6 @@
|
|||
[Transition of list-style in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
[Animation of white-space in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
[Transition of tab-size in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -5,9 +5,6 @@
|
|||
[Property font value 'italic small-caps 900 expanded 25px / 50px Ahem' in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
[Property white-space value 'nowrap' in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
[Property animation value '1s linear 2s infinite alternate forwards paused anim' in ::marker]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
<meta charset="utf-8">
|
||||
<title>CSS Reference: inline list-item with ::marker</title>
|
||||
<link rel="author" title="Mats Palmgren" href="mailto:mats@mozilla.com">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1696712">
|
||||
<style>
|
||||
html,body {
|
||||
color:black; background-color:white; font:16px/1 monospace; padding:0; margin:0;
|
||||
|
@ -22,15 +23,15 @@ ib { display:inline-block; }
|
|||
<body>
|
||||
|
||||
<div class="wrap">
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
|
||||
<ol>
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
<span>3 C</span>
|
||||
</ol>
|
||||
|
||||
<ol style="display:inline">
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B</span>
|
||||
<span>3 C</span>
|
||||
</ol>
|
||||
|
||||
|
@ -42,7 +43,7 @@ ib { display:inline-block; }
|
|||
</ol>
|
||||
|
||||
<ul>
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B
|
||||
<span>1 A A A A A A A A A A A A A A A A A A A A </span><span>2 B
|
||||
<ol style="display:inline"><span>2.1 a a a a a a a a a a a a a a a a a a a a </span><span>2.2 b</span>
|
||||
</ol></span><span>3 C</span>
|
||||
</ul>
|
||||
|
|
Загрузка…
Ссылка в новой задаче