Backed out 4 changesets (bug 1297097) for range reftest failures and test_property_database.html mochitest failures

Backed out changeset b54a7a48f417 (bug 1297097)
Backed out changeset 85c47c859eeb (bug 1297097)
Backed out changeset 29d9fb1f4cec (bug 1297097)
Backed out changeset 5f157ad3f509 (bug 1297097)
This commit is contained in:
Phil Ringnalda 2016-08-24 22:35:23 -07:00
parent c8b48f39ce
commit 10f51fb066
20 changed files with 620 additions and 547 deletions

View File

@ -2,7 +2,11 @@
<html>
<head>
<meta charset="UTF-8">
<!--
user_pref("layout.css.vertical-text.enabled", true);
-->
<script>
function boom()

View File

@ -39,10 +39,10 @@ skip-if(Android) == grid-placement-definite-implicit-001.html grid-placement-def
== grid-placement-definite-implicit-002.html grid-placement-definite-implicit-002-ref.html
skip-if(Android) fuzzy-if(winWidget,1,32) == grid-placement-auto-implicit-001.html grid-placement-auto-implicit-001-ref.html
== grid-placement-abspos-implicit-001.html grid-placement-abspos-implicit-001-ref.html
== rtl-grid-placement-definite-001.html rtl-grid-placement-definite-001-ref.html
== rtl-grid-placement-auto-row-sparse-001.html rtl-grid-placement-auto-row-sparse-001-ref.html
== vlr-grid-placement-auto-row-sparse-001.html vlr-grid-placement-auto-row-sparse-001-ref.html
== vrl-grid-placement-auto-row-sparse-001.html vrl-grid-placement-auto-row-sparse-001-ref.html
pref(layout.css.vertical-text.enabled,true) == rtl-grid-placement-definite-001.html rtl-grid-placement-definite-001-ref.html
pref(layout.css.vertical-text.enabled,true) == rtl-grid-placement-auto-row-sparse-001.html rtl-grid-placement-auto-row-sparse-001-ref.html
pref(layout.css.vertical-text.enabled,true) == vlr-grid-placement-auto-row-sparse-001.html vlr-grid-placement-auto-row-sparse-001-ref.html
pref(layout.css.vertical-text.enabled,true) == vrl-grid-placement-auto-row-sparse-001.html vrl-grid-placement-auto-row-sparse-001-ref.html
== grid-relpos-items-001.html grid-relpos-items-001-ref.html
== grid-item-sizing-percent-001.html grid-item-sizing-percent-001-ref.html
== grid-item-sizing-px-001.html grid-item-sizing-percent-001-ref.html

View File

@ -46,8 +46,8 @@ load nested-ruby-1.html
== ruby-align-2.html ruby-align-2-ref.html
== ruby-align-2a.html ruby-align-2-ref.html
== ruby-position-horizontal.html ruby-position-horizontal-ref.html
== ruby-position-vertical-lr.html ruby-position-vertical-lr-ref.html
== ruby-position-vertical-rl.html ruby-position-vertical-rl-ref.html
pref(layout.css.vertical-text.enabled,true) == ruby-position-vertical-lr.html ruby-position-vertical-lr-ref.html
pref(layout.css.vertical-text.enabled,true) == ruby-position-vertical-rl.html ruby-position-vertical-rl-ref.html
!= ruby-reflow-1-opaqueruby.html ruby-reflow-1-noruby.html
fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu),13,1) == ruby-reflow-1-transparentruby.html ruby-reflow-1-noruby.html
== ruby-span-1.html ruby-span-1-ref.html

View File

@ -48,6 +48,12 @@ fuzzy-if(skiaContent,1,12000) == float-in-rtl-4d.html float-in-rtl-4-ref.html
== bfc-shrink-1.html bfc-shrink-1-ref.html
# Testcases that involve vertical writing mode.
#
# XXX The default-preferences setting here can be removed after the
# pref has been made true by default for all channels (bug 1138384).
default-preferences pref(layout.css.vertical-text.enabled,true)
== float-in-rtl-vlr-1a.html float-in-rtl-vlr-1-ref.html
== float-in-rtl-vlr-1b.html float-in-rtl-vlr-1-ref.html
== float-in-rtl-vlr-1c.html float-in-rtl-vlr-1-ref.html

View File

@ -10,8 +10,8 @@ skip-if(!Android&&!B2G&&!Mulet) == number-same-as-text-unthemed.html number-same
# should look the same as type=text, except for the spin box
== number-similar-to-text-unthemed.html number-similar-to-text-unthemed-ref.html
== number-similar-to-text-unthemed-rtl.html number-similar-to-text-unthemed-rtl-ref.html
== number-similar-to-text-unthemed-vertical-lr.html number-similar-to-text-unthemed-vertical-lr-ref.html
== number-similar-to-text-unthemed-vertical-rl.html number-similar-to-text-unthemed-vertical-rl-ref.html
pref(layout.css.vertical-text.enabled,true) == number-similar-to-text-unthemed-vertical-lr.html number-similar-to-text-unthemed-vertical-lr-ref.html
pref(layout.css.vertical-text.enabled,true) == number-similar-to-text-unthemed-vertical-rl.html number-similar-to-text-unthemed-vertical-rl-ref.html
# dynamic type changes:
fuzzy-if(/^Windows\x20NT\x205\.1/.test(http.oscpu),64,4) fuzzy-if(cocoaWidget,63,4) fuzzy-if(skiaContent,2,5) == to-number-from-other-type-unthemed-1.html to-number-from-other-type-unthemed-1-ref.html

View File

@ -33,6 +33,9 @@ fails-if(B2G||Mulet||Android) == moz-range-progress-1.html moz-range-progress-1-
== moz-range-progress-3.html moz-range-progress-3-ref.html
# Tests for block and inline orientation in combination with writing-mode
# XXX Remove default-preferences setting here after bug 1138384 makes
# it the default for all channels
default-preferences pref(layout.css.vertical-text.enabled,true)
!= range-orient-horizontal.html range-orient-vertical.html
!= range-orient-horizontal.html range-orient-horizontal-rtl.html
== range-orient-block.html range-orient-vertical.html

View File

@ -27,6 +27,9 @@ include default-style/reftest.list
== max-height.html max-height-ref.html
# Tests for block and inline orientation in combination with writing-mode
# XXX Remove default-preferences setting here after bug 1138384 makes
# it the default for all channels
default-preferences pref(layout.css.vertical-text.enabled,true)
!= meter-orient-vertical.html meter-orient-horizontal.html
!= meter-orient-horizontal.html meter-orient-horizontal-rtl.html
== meter-orient-block.html meter-orient-vertical.html

View File

@ -26,6 +26,9 @@ skip-if(B2G||Mulet) == bar-pseudo-element-vertical.html bar-pseudo-element-verti
== max-height.html max-height-ref.html
# Tests for block and inline orientation in combination with writing-mode
# XXX Remove default-preferences setting here after bug 1138384 makes
# it the default for all channels
default-preferences pref(layout.css.vertical-text.enabled,true)
!= progress-orient-horizontal.html progress-orient-vertical.html
fails-if(!cocoaWidget||OSX==1010) != progress-orient-vertical.html progress-orient-vertical-rtl.html # only OS X currently has direction-dependent rendering here
== progress-orient-block.html progress-orient-vertical.html

View File

@ -131,7 +131,7 @@ fuzzy-if(/^Windows\x20NT\x2010\.0/.test(http.oscpu)||/^Windows\x20NT\x206\.[12]/
== text-shadow.svg text-shadow-ref.svg
# vertical text
== vertical-01.svg vertical-01-ref.svg
pref(layout.css.vertical-text.enabled,true) == vertical-01.svg vertical-01-ref.svg
# tests for ignoring various properties
== ignore-border.svg ignore-prop-ref.svg

View File

@ -26,11 +26,11 @@ fuzzy(1,2616) skip-if(Android||B2G||Mulet) fuzzy-if(asyncPan&&!layersGPUAccelera
HTTP(..) == combobox-zoom.html combobox-zoom-ref.html
# The vertical-text pref setting can be removed after bug 1138384 lands
== vertical-decorations-1.html vertical-decorations-1-ref.html
== vertical-decorations-2.html vertical-decorations-2-ref.html
!= vertical-decorations-1.html vertical-decorations-1-2-notref.html
!= vertical-decorations-2.html vertical-decorations-1-2-notref.html
== vertical-decorations-3.html vertical-decorations-3-ref.html
== vertical-decorations-4.html vertical-decorations-4-ref.html
!= vertical-decorations-3.html vertical-decorations-3-4-notref.html
!= vertical-decorations-4.html vertical-decorations-3-4-notref.html
pref(layout.css.vertical-text.enabled,true) == vertical-decorations-1.html vertical-decorations-1-ref.html
pref(layout.css.vertical-text.enabled,true) == vertical-decorations-2.html vertical-decorations-2-ref.html
pref(layout.css.vertical-text.enabled,true) != vertical-decorations-1.html vertical-decorations-1-2-notref.html
pref(layout.css.vertical-text.enabled,true) != vertical-decorations-2.html vertical-decorations-1-2-notref.html
pref(layout.css.vertical-text.enabled,true) == vertical-decorations-3.html vertical-decorations-3-ref.html
pref(layout.css.vertical-text.enabled,true) == vertical-decorations-4.html vertical-decorations-4-ref.html
pref(layout.css.vertical-text.enabled,true) != vertical-decorations-3.html vertical-decorations-3-4-notref.html
pref(layout.css.vertical-text.enabled,true) != vertical-decorations-4.html vertical-decorations-3-4-notref.html

View File

@ -193,15 +193,15 @@ fails == flexbox-min-height-auto-002b.html flexbox-min-height-auto-002-ref.html
== flexbox-with-pseudo-elements-003.html flexbox-with-pseudo-elements-003-ref.html
# Tests for combined influence of 'writing-mode' & 'direction' on flex axes
== flexbox-writing-mode-001.html flexbox-writing-mode-001-ref.html
== flexbox-writing-mode-002.html flexbox-writing-mode-002-ref.html
== flexbox-writing-mode-003.html flexbox-writing-mode-003-ref.html
== flexbox-writing-mode-004.html flexbox-writing-mode-004-ref.html
== flexbox-writing-mode-005.html flexbox-writing-mode-005-ref.html
== flexbox-writing-mode-006.html flexbox-writing-mode-006-ref.html
== flexbox-writing-mode-007.html flexbox-writing-mode-007-ref.html
== flexbox-writing-mode-008.html flexbox-writing-mode-008-ref.html
== flexbox-writing-mode-009.html flexbox-writing-mode-009-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-001.html flexbox-writing-mode-001-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-002.html flexbox-writing-mode-002-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-003.html flexbox-writing-mode-003-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-004.html flexbox-writing-mode-004-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-005.html flexbox-writing-mode-005-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-006.html flexbox-writing-mode-006-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-007.html flexbox-writing-mode-007-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-008.html flexbox-writing-mode-008-ref.html
test-pref(layout.css.vertical-text.enabled,true) == flexbox-writing-mode-009.html flexbox-writing-mode-009-ref.html
# Single-line size clamping
== flexbox-single-line-clamp-1.html flexbox-single-line-clamp-1-ref.html

View File

@ -1,3 +1,5 @@
default-preferences pref(layout.css.vertical-text.enabled,true)
== ruby-text-decoration-01.html ruby-text-decoration-01-ref.html
== text-decoration-propagation-01.html text-decoration-propagation-01-ref.html

View File

@ -1,5 +1,7 @@
# This directory contains tests for position:absolute and vertical writing modes.
# They require the vertical-text pref to be true, otherwise lots of them will fail.
# (See bug 1079151 for the origin of these testcases by Gérard Talbot.)
default-preferences pref(layout.css.vertical-text.enabled,true)
# All of these are fuzzy-if on skia content on OS X due to subpixel text positioning.
fuzzy-if(cocoaWidget,15,5) fuzzy-if(d2d,102,164) fuzzy-if(skiaContent,255,248) == s71-abs-pos-non-replaced-vlr-003.xht s71-abs-pos-non-replaced-vlr-003-ref.xht

View File

@ -1,4 +1,6 @@
# This directory contains tests for vertical text and logical layout coordinates.
# They require the vertical-text pref to be true, otherwise lots of them will fail.
default-preferences pref(layout.css.vertical-text.enabled,true)
HTTP(..) == 1079154-1-vertical-rl-columns.html 1079154-1-vertical-rl-columns-ref.html
== 1082844.html 1082844-ref.html

View File

@ -648,10 +648,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Size,
@ -668,18 +669,20 @@ CSS_PROP_SHORTHAND(
border-block-end,
border_block_end,
BorderBlockEnd,
CSS_PROPERTY_PARSE_FUNCTION,
"")
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
"layout.css.vertical-text.enabled")
CSS_PROP_LOGICAL(
border-block-end-color,
border_block_end_color,
BorderBlockEndColor,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_HCK,
kBorderColorKTable,
BorderColor,
@ -692,10 +695,11 @@ CSS_PROP_LOGICAL(
BorderBlockEndStyle,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_HK,
kBorderStyleKTable,
BorderStyle,
@ -710,10 +714,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_HKL | VARIANT_CALC,
kBorderWidthKTable,
BorderWidth,
@ -724,17 +729,19 @@ CSS_PROP_SHORTHAND(
border-block-start,
border_block_start,
BorderBlockStart,
CSS_PROPERTY_PARSE_FUNCTION,
"")
CSS_PROPERTY_PARSE_FUNCTION |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
"layout.css.vertical-text.enabled")
CSS_PROP_LOGICAL(
border-block-start-color,
border_block_start_color,
BorderBlockStartColor,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HCK,
kBorderColorKTable,
BorderColor,
@ -747,9 +754,10 @@ CSS_PROP_LOGICAL(
BorderBlockStartStyle,
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HK,
kBorderStyleKTable,
BorderStyle,
@ -764,9 +772,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_APPLIES_TO_FIRST_LETTER |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HKL | VARIANT_CALC,
kBorderWidthKTable,
BorderWidth,
@ -2320,9 +2329,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHKLP | VARIANT_CALC,
kWidthKTable,
Size,
@ -2491,10 +2501,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Margin,
@ -2510,9 +2521,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_APPLIES_TO_PAGE_RULE |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Margin,
@ -2835,10 +2847,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HLPO | VARIANT_CALC,
nullptr,
MaxSize,
@ -2867,9 +2880,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HKLPO | VARIANT_CALC,
kWidthKTable,
MaxSize,
@ -2898,10 +2912,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
MinSize,
@ -2944,9 +2959,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_VALUE_NONNEGATIVE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHKLP | VARIANT_CALC,
kWidthKTable,
MinSize,
@ -3008,10 +3024,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Offset,
@ -3025,9 +3042,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Offset,
@ -3041,9 +3059,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Offset,
@ -3057,8 +3076,9 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL,
"",
"layout.css.vertical-text.enabled",
VARIANT_AHLP | VARIANT_CALC,
nullptr,
Offset,
@ -3276,10 +3296,11 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS |
CSS_PROPERTY_LOGICAL_END_EDGE,
"",
"layout.css.vertical-text.enabled",
VARIANT_HLP | VARIANT_CALC,
nullptr,
Padding,
@ -3297,9 +3318,10 @@ CSS_PROP_LOGICAL(
CSS_PROPERTY_APPLIES_TO_PLACEHOLDER |
CSS_PROPERTY_STORES_CALC |
CSS_PROPERTY_GETCS_NEEDS_LAYOUT_FLUSH |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS |
CSS_PROPERTY_LOGICAL |
CSS_PROPERTY_LOGICAL_BLOCK_AXIS,
"",
"layout.css.vertical-text.enabled",
VARIANT_HLP | VARIANT_CALC,
nullptr,
Padding,
@ -4035,8 +4057,9 @@ CSS_PROP_VISIBILITY(
text-orientation,
text_orientation,
TextOrientation,
CSS_PROPERTY_PARSE_VALUE,
"",
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
"layout.css.vertical-text.enabled",
VARIANT_HK,
kTextOrientationKTable,
CSS_PROP_NO_OFFSET,
@ -4481,8 +4504,9 @@ CSS_PROP_VISIBILITY(
writing-mode,
writing_mode,
WritingMode,
CSS_PROPERTY_PARSE_VALUE,
"",
CSS_PROPERTY_PARSE_VALUE |
CSS_PROPERTY_ENABLED_IN_UA_SHEETS,
"layout.css.vertical-text.enabled",
VARIANT_HK,
kWritingModeKTable,
CSS_PROP_NO_OFFSET,

File diff suppressed because it is too large Load Diff

View File

@ -68,6 +68,7 @@ function step() {
// ----
var gProps = {
"layout.css.vertical-text.enabled": ["text-orientation", "writing-mode"],
"layout.css.text-combine-upright.enabled": ["text-combine-upright"],
"layout.css.image-orientation.enabled": ["image-orientation"],
"layout.css.mix-blend-mode.enabled": ["mix-blend-mode"],

View File

@ -165,6 +165,7 @@ function make_declaration(aObject) {
}
function start() {
// load property_database.js once the pref change has gone into effect
var script = document.createElement("script");
script.src = "property_database.js";
script.onload = function() {
@ -418,5 +419,5 @@ function run_tests() {
}
SimpleTest.waitForExplicitFinish();
start();
SpecialPowers.pushPrefEnv({ "set": [["layout.css.vertical-text.enabled", true]] }, start);
</script>

View File

@ -14,10 +14,10 @@
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
<script type="text/javascript">
var numAssertions = 9;
// these are from the additional margin-inline-{start,end} tests
numAssertions += 2;
if (SpecialPowers.getBoolPref("layout.css.vertical-text.enabled")) {
// these are from the additional margin-inline-{start,end} tests
numAssertions += 2;
}
SimpleTest.expectAssertions(numAssertions);
SimpleTest.waitForExplicitFinish();
SimpleTest.requestLongerTimeout(2);

View File

@ -2538,6 +2538,9 @@ pref("layout.css.background-blend-mode.enabled", true);
// Is support for background-clip:text enabled?
pref("layout.css.background-clip-text.enabled", true);
// Is support for CSS vertical text enabled?
pref("layout.css.vertical-text.enabled", true);
// Is support for CSS text-combine-upright (tate-chu-yoko) enabled?
pref("layout.css.text-combine-upright.enabled", true);
// Is support for CSS text-combine-upright: digits 2-4 enabled?