зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1694748 part 3 - Enable ruby-position: alternate by default. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D107384
This commit is contained in:
Родитель
f00d01d6c3
Коммит
943f2f5041
|
@ -7378,8 +7378,8 @@ var gCSSProperties = {
|
|||
inherited: true,
|
||||
type: CSS_TYPE_LONGHAND,
|
||||
applies_to_cue: true,
|
||||
initial_values: ["over"],
|
||||
other_values: ["under"],
|
||||
initial_values: ["alternate", "alternate over", "over alternate"],
|
||||
other_values: ["over", "under", "alternate under", "under alternate"],
|
||||
invalid_values: [
|
||||
"left",
|
||||
"right",
|
||||
|
@ -7388,6 +7388,8 @@ var gCSSProperties = {
|
|||
"not_a_position",
|
||||
"over left",
|
||||
"right under",
|
||||
"over under",
|
||||
"alternate alternate",
|
||||
"0",
|
||||
"100px",
|
||||
"50%",
|
||||
|
|
|
@ -6465,7 +6465,7 @@
|
|||
# Is ruby-position: alternate enabled?
|
||||
- name: layout.css.ruby.position-alternate.enabled
|
||||
type: RelaxedAtomicBool
|
||||
value: false
|
||||
value: true
|
||||
mirror: always
|
||||
rust: true
|
||||
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[ruby-position-alternate.html]
|
||||
prefs: [layout.css.ruby.position-alternate.enabled:true]
|
|
@ -16,7 +16,7 @@
|
|||
</div>
|
||||
<script>
|
||||
assert_inherited('ruby-align', 'space-around', 'center');
|
||||
assert_inherited('ruby-position', 'over', 'under');
|
||||
assert_inherited('ruby-position', 'alternate', 'under');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
padding: 20px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: over;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -12,6 +12,9 @@
|
|||
padding: 20px;
|
||||
border: 1px solid black;
|
||||
}
|
||||
ruby {
|
||||
ruby-position: over;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче