Bug 1444310 [wpt PR 9938] - [css-writing-mode] Move sideways-* tests to L4>, a=testonly
authorfantasai <fantasai.bugs@inkedblade.net>
Mon, 26 Mar 2018 15:38:35 +0000
changeset 411233 c4b8c19400fd449f2067223dc3aa8bfc161751c8
parent 411232 8bf57a1258c4bf6cea19672c381ee9d4a4a3d2c2
child 411234 50b4429fd894941c919d94b58fb55f197131b961
push id101593
push userjames@hoppipolla.co.uk
push dateSat, 31 Mar 2018 22:09:06 +0000
treeherdermozilla-inbound@feb3750f2fac [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1444310
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1444310 [wpt PR 9938] - [css-writing-mode] Move sideways-* tests to L4>, a=testonly Automatic update from web-platform-tests[css-writing-mode] Move sideways-* tests to L4 wpt-commits: 6911cb35bb0619fbe662312e13391769db8a2f49 wpt-pr: 9938 wpt-commits: 6911cb35bb0619fbe662312e13391769db8a2f49 wpt-pr: 9938
testing/web-platform/meta/MANIFEST.json
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-043.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-047.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-048.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-050.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-054.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-055.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-056.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-058.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-060.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-063.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-066.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-042.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-045.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-046.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-049.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-051.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-052.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-053.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-057.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-059.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-064.xht
testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-065.xht
testing/web-platform/tests/css/css-writing-modes/form-controls-slr-004.xht
testing/web-platform/tests/css/css-writing-modes/form-controls-slr-005.xht
testing/web-platform/tests/css/css-writing-modes/form-controls-srl-004.xht
testing/web-platform/tests/css/css-writing-modes/form-controls-srl-005.xht
testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009.xht
testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-srl-008.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-043.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-047.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-048.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-050.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-053.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-054.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-056.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-058.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-060.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-042.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-045.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-046.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-049.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-051.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-052.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-055.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-057.xht
testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-059.xht
testing/web-platform/tests/css/css-writing-modes/outline-inline-slr-005.xht
testing/web-platform/tests/css/css-writing-modes/outline-inline-srl-004.xht
testing/web-platform/tests/css/css-writing-modes/page-flow-direction-slr-005.xht
testing/web-platform/tests/css/css-writing-modes/page-flow-direction-srl-004.xht
testing/web-platform/tests/css/css-writing-modes/row-progression-slr-023.xht
testing/web-platform/tests/css/css-writing-modes/row-progression-slr-029.xht
testing/web-platform/tests/css/css-writing-modes/row-progression-srl-022.xht
testing/web-platform/tests/css/css-writing-modes/row-progression-srl-028.xht
testing/web-platform/tests/css/css-writing-modes/row-progression-vlr-009.xht
testing/web-platform/tests/css/css-writing-modes/table-column-order-slr-007.xht
testing/web-platform/tests/css/css-writing-modes/table-column-order-srl-006.xht
testing/web-platform/tests/css/css-writing-modes/table-progression-slr-001.html
testing/web-platform/tests/css/css-writing-modes/table-progression-slr-002.html
testing/web-platform/tests/css/css-writing-modes/table-progression-srl-001.html
testing/web-platform/tests/css/css-writing-modes/table-progression-srl-002.html
testing/web-platform/tests/css/css-writing-modes/text-baseline-slr-009.xht
testing/web-platform/tests/css/css-writing-modes/text-baseline-srl-008.xht
testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-slr-015.xht
testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-srl-016.xht
testing/web-platform/tests/css/css-writing-modes/text-orientation-sideways-slr-019.xht
testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-slr-017.xht
testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-srl-018.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-029.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-031.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-033.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-035.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-037.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-039.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-041.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-028.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-030.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-032.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-034.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-036.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-038.xht
testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-040.xht
testing/web-platform/tests/css/css-writing-modes/wm-propagation-body-008.xht
testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-lr-001.html
testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-rl-001.html
--- a/testing/web-platform/meta/MANIFEST.json
+++ b/testing/web-platform/meta/MANIFEST.json
@@ -526142,109 +526142,109 @@
    "3d149ae2210e6d356b78a277091e34edeafd373f",
    "support"
   ],
   "css/css-writing-modes/block-flow-direction-htb-001.xht": [
    "28c62daca6d3d58fdcc905b02db5c660751b8583",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-043.xht": [
-   "2572d212eb7b0ee8cf8c8e64998a9f6510fbb5c8",
+   "468a21488cb4ec0f053f00899e566a548e21a823",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-047.xht": [
-   "8cff518b35a454ab79e535cbaa3f2681467852bf",
+   "05eec73fe552650ff14ca9b5e09b74968f1c8599",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-048.xht": [
-   "3c4168a6b7a4394e79332fc44fd6ce2ed4bb4d05",
+   "43dcb63d597c67fc6b14f156c171679a3786b8d3",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-050.xht": [
-   "2743c4da7bcf425c7a64eb830812e556793399ec",
+   "6c15357d7652f8ba6cd2ff875f6b36eb09763324",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-054.xht": [
-   "02abde8b92072855802e6c62b00c2f80e879d837",
+   "9d57811c44d407987958dceac6ffb9a9d4b39989",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-055.xht": [
-   "dcdc9e8b53066918921fcd3344cc01e63b949e57",
+   "efaef29e1503416ed9b28bb5e3168d8de17398cf",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-056.xht": [
-   "ffc2b5d2cf95ecb2c34f87c8f5d1fac272f5dce2",
+   "e9a66eec637e2f341d1ad14fcdcd0de19fb6a653",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-058.xht": [
-   "911b15f6f34dadc694fb616d8d407a9b8d9f6c04",
+   "9cccfb1b3f67046b5a983636378f702d9a41195c",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-060.xht": [
-   "bbc062eab7ed6255f6003dd3854a425b3924c00f",
+   "83d909644b4cb17d1226d9ddbabeb7d57e9e87f1",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-062.xht": [
-   "b6aad0e119a3c1c7b499f9c6bc7c995f27c67af5",
+   "8a8b2aab628ccf23c8ccd4af5afe2ad1b9fa62c3",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-063.xht": [
-   "e0b04531c577ba0a981b8924821fae549ebd1929",
+   "1578a394039a7f94e50b8c77c595a9d30a4b2440",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-slr-066.xht": [
-   "7ed377a5bdeea3febd2ce9dd7a9c026309fad9a5",
+   "c9e1b47e57e577657314b5cd0238f2af7df10528",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-042.xht": [
-   "a744d2956897aa50b9cdd40c02b11095fac033d7",
+   "27278ea5ee212762f084cbd7611ef7e656ac78af",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-045.xht": [
-   "3b6989eeb0d72be091178857e943a07d8ebd8222",
+   "be9b0a91886920b908e926178107931414dc53f3",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-046.xht": [
-   "1538cbe4469bf4ad7a76ddbb6b8dca0bbf66b677",
+   "0146a4ab943bd9fb93fadb6dbefbc2b061a97ed9",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-049.xht": [
-   "ebb14e798a8130602aca276ea0a38630dec8d34e",
+   "a26dd15a464d684d2a87482e907089b704464ef2",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-051.xht": [
-   "4e09e05cf6a050eb0f14005cc30a1265cdb77965",
+   "0883264754854ac8ece45750d009d3a20775a060",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-052.xht": [
-   "efb981070ffcf1a36b585629f9280d24a4027e1c",
+   "1e6b03e2b281645ebf6765bd00b3f647f3deb2aa",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-053.xht": [
-   "435c9bbece00e10a9c014d83f0f98ecc9b916d33",
+   "124fac2b2d256a256ff30da3ff0a19aef367e937",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-057.xht": [
-   "f9cf903b644bdb5bed3cd528e4c1767373608109",
+   "8ee56fb9e1b864628665b00aec48f6f103682727",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-059.xht": [
-   "195cc7d500300a9694ff11107bb4185fec28c386",
+   "cc664535dce2cc996e577bc11da72d54e17e43b0",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-061.xht": [
-   "1b94eba25c014f6e170f988bd6a122b923a60d74",
+   "d9a28ec7b30504a79411a9b1394e71fa1af106d6",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-064.xht": [
-   "22f96cf894b72203395395406e8fbeeca623e3c3",
+   "94679f337417313d58dcc3f51c4f6c10f32fdb80",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-srl-065.xht": [
-   "10c9d6885cce53c90767914e3e1e02a69ba60809",
+   "69eae3eebfe5f92588f04589972ac026869ed0c0",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-vlr-003.xht": [
    "5dea9e46db6a1a7cfca1dbddaec5ea444e9a53a1",
    "reftest"
   ],
   "css/css-writing-modes/block-flow-direction-vlr-007.xht": [
    "c001fb295db4af06e9ccc743fe8b4603d630eb61",
@@ -527030,29 +527030,29 @@
    "db64f62def1e8a1911225bbff9240d0885de4ecd",
    "reftest"
   ],
   "css/css-writing-modes/float-vrl-012.xht": [
    "5827ead83a365ea8cb43412d2de239837f826f1b",
    "reftest"
   ],
   "css/css-writing-modes/form-controls-slr-004.xht": [
-   "efba29b2412dceccd9d80b864c3083dc0ca3bab4",
+   "5913b5c624e76dd88b60c4483a7508d9ee1acdfd",
    "visual"
   ],
   "css/css-writing-modes/form-controls-slr-005.xht": [
-   "f3879665cf517981289235d53183f865e7edc96d",
+   "f8580b2937e0723953124a5d3ad5211d193b98a8",
    "visual"
   ],
   "css/css-writing-modes/form-controls-srl-004.xht": [
-   "33e6c1685b8e7050b0177eaf289587a370a22788",
+   "4add739342cfad21e3c8181f4879b0ef81969823",
    "visual"
   ],
   "css/css-writing-modes/form-controls-srl-005.xht": [
-   "ad7e8fa2e34412a97f993bdf500bf1ab92468618",
+   "610192f804eaf3e8aa8ec6ffe32e373f5121182f",
    "visual"
   ],
   "css/css-writing-modes/form-controls-vlr-004.xht": [
    "6914d51d54ecb957151ec4b28c78e36aafa39d91",
    "visual"
   ],
   "css/css-writing-modes/form-controls-vlr-005.xht": [
    "e60cc92bf66c08e736e9de42789656bce2f051fc",
@@ -527170,21 +527170,21 @@
    "53f2dd3e1a6f17755d46ea7a20096b98367fb210",
    "reftest"
   ],
   "css/css-writing-modes/inline-block-alignment-slr-009-ref.xht": [
    "95122c4f48d4d8d84854d469de3b3039ce92fc57",
    "support"
   ],
   "css/css-writing-modes/inline-block-alignment-slr-009.xht": [
-   "bb08c9b4dc7d43e21ba06ed8d627a83f3fe88195",
+   "f4b234caea1eb70e611105f489162a5e15c8b2ab",
    "reftest"
   ],
   "css/css-writing-modes/inline-block-alignment-srl-008.xht": [
-   "e5a69f570eaf4ae8301497f368ca28c56ae37f64",
+   "752dcce21012f2160340755cf2e61e07c9af0401",
    "reftest"
   ],
   "css/css-writing-modes/inline-replaced-vlr-003.xht": [
    "9b9c4467b7f28b260b17ac4369a77a3f3a3e817d",
    "reftest"
   ],
   "css/css-writing-modes/inline-replaced-vlr-005.xht": [
    "eda48f2f6bcea0bf30e7a7525e388d0d08ffa28d",
@@ -527230,85 +527230,85 @@
    "704f0df749894e3f0c72ce5e2ce5aa68e746476b",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-htb-001.xht": [
    "a290e316833ade62bf428b46a2898a84affc7272",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-043.xht": [
-   "261b7ba2d63953ed9683203fb645c7a61d5ee69c",
+   "fc746d13200941edbb5768005fce9da1b6f027da",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-047.xht": [
-   "4e79c976242cfa75a176c0cada39d01e5c78ad85",
+   "199beaf9ce8b56dea37c3de62d90622325b8dcc6",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-048.xht": [
-   "68d1ea51fd4fc739b34c552d51f2fe7d1353d623",
+   "b3cdb4f8b8e3f6a87a0c7d0ed22c1f88e043b8b4",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-050.xht": [
-   "e344509f83e8218038c33bc57afa4098415723c2",
+   "403ab8916ad7a46fcab2f89cd00341f5aba37951",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-053.xht": [
-   "0a110aed9cf0daca3726b0e4f3f9dfaec9717531",
+   "ad831477dbe515ff69af28835bbf02ef52b7fd78",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-054.xht": [
-   "d3f34a9fbcdf4829b89fe5d234f0fcdb790f69e2",
+   "5b40e37df4b14d673b18caf49b6585db8b929b0a",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-056.xht": [
-   "7b4fee06564e1fbfbafd265a86169f0fed808189",
+   "7d22bd9249e1a57b911aeb9152005b762294aa3f",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-058.xht": [
-   "b440c7611ba17503cf554743fcaa9b8fda4645bd",
+   "55b25b7f033bb947af20a050c898df46ce90fce1",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-slr-060.xht": [
-   "5b70316c9b4fb6966ca6be60383510c551031754",
+   "424ac86428fe16aab5d838593b7c3ecd2d9e2eea",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-042.xht": [
-   "37802011406dd698ba6ca84fadafd41c80fe5219",
+   "3dd8e07bb61570b91c9752d86a441b48adbd73f5",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-045.xht": [
-   "359d4e903bc5c9900afe137bf04f845c5343c58f",
+   "efaa79a5ef835c105167bdf77a3d706812421a23",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-046.xht": [
-   "f9f0ab3c9c737042296d1ce42815dfd47b2ca1c2",
+   "cd31562a8364cf6e577c00c34919b0e5aa1ae964",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-049.xht": [
-   "b193a9a935b1676d7589bc8c1d8970f50a60df81",
+   "ef4bb25f2bb85fb85a12c82a51a84523cb0d621c",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-051.xht": [
-   "aee21a5a74b20866c88ed013246ebb9f75ff3abb",
+   "eebeb3a4e949de579028555257d7b9101fa766a7",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-052.xht": [
-   "c3391087560a125cea050895827a92f2f4146dd7",
+   "d835e7576a419bb70f4215d87c17d8ab8fc719b5",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-055.xht": [
-   "a3bd03f28860f8918f41fd6e265d02cf266cbd80",
+   "45bd2391e3aecb1dafe25e8ee8c799aaf65e5b28",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-057.xht": [
-   "0f2ce06eaddcaea0bce8150960e7559ebb950160",
+   "1b7a10cb7b12ee4e86d6dc3e4cd0af1d52d2e78f",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-srl-059.xht": [
-   "fe8eefd194242a82cdcdc6eff35a120b64273863",
+   "1eb4e84ae0649a0a08cfc1b4f5bc0b58c8816046",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-vlr-003.xht": [
    "752e434c451fc3b0bb9986e746d64d628fa42c28",
    "reftest"
   ],
   "css/css-writing-modes/line-box-direction-vlr-007.xht": [
    "e5e880f141c5969bace944e1faa3a5d08d502f48",
@@ -527734,21 +527734,21 @@
    "ee4398e9fb25878ceec678a3a756a55f814dbc60",
    "testharness"
   ],
   "css/css-writing-modes/outline-inline-block-vrl-006.html": [
    "fdeb6bfb8b811005fb8a69172f75da465ba18421",
    "reftest"
   ],
   "css/css-writing-modes/outline-inline-slr-005.xht": [
-   "288265613525071c968c1dcdf5321a316e6c7e3a",
+   "16186c35b27f203ebc933dd709616485ee9d9c20",
    "visual"
   ],
   "css/css-writing-modes/outline-inline-srl-004.xht": [
-   "edd7d159627dfa8f0dd4a7f8495ad9337ab340c9",
+   "133ce7d9f80f6348c3b31371bca5411e059da107",
    "visual"
   ],
   "css/css-writing-modes/outline-inline-vlr-003.xht": [
    "247d03ce6bb770c2212e71442319a9401a5d0efd",
    "visual"
   ],
   "css/css-writing-modes/outline-inline-vlr-006.html": [
    "5ea26a37f5a8ad826001ae1e20ec74a7b198c9e0",
@@ -527846,21 +527846,21 @@
    "0c7a122aba02a19d18678d898cbf542308926899",
    "manual"
   ],
   "css/css-writing-modes/page-flow-direction-003.xht": [
    "6dfa1c5e24ea58513813792cfa7c7091a28c3a23",
    "manual"
   ],
   "css/css-writing-modes/page-flow-direction-slr-005.xht": [
-   "403dc532d7767e83bb95901dcb52e0f76e430c7f",
+   "8201313e778d8e5131309e0c9754a62bb7bcf894",
    "manual"
   ],
   "css/css-writing-modes/page-flow-direction-srl-004.xht": [
-   "b9d1556c197d048482c80232527c837e2e4a4cf8",
+   "b7079a0dd1cc46e8252deff8a3b08e0915ea5a31",
    "manual"
   ],
   "css/css-writing-modes/percent-margin-vlr-003.xht": [
    "4dc2d772b9fedfc4f498ed488cd8d31c00c50c71",
    "reftest"
   ],
   "css/css-writing-modes/percent-margin-vlr-005.xht": [
    "471c0b0dd452e238b97f0068c5603e31a357faa4",
@@ -528446,45 +528446,45 @@
    "e3e5d876a430b49d3ddbfe44c057c880840fce1c",
    "visual"
   ],
   "css/css-writing-modes/replaced-content-image-003.xht": [
    "722a6ee09ef7417bee82100c39c674fda50a9bf2",
    "visual"
   ],
   "css/css-writing-modes/row-progression-slr-023.xht": [
-   "e67bf87a273fe2adf826e9c9027124223cb85467",
+   "521760bfe32e1bfc2847cad41374adfb3364189f",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-slr-029.xht": [
-   "ff69b7bc92bf0170456c7571377ae8f926022825",
+   "c0e02776d0e1197ad46fed136c030dcfc2f200cd",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-srl-022.xht": [
-   "066a4e77a127b462c0acf5605310bc55158a0855",
+   "cce1619834bebde3142f253f51f7213547fc2a3c",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-srl-028.xht": [
-   "f9c36aee12493a18571fb71faee27d25ce438e8f",
+   "69273bece274aeb003d7b2c8161c49ee0707c551",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vlr-003.xht": [
    "de0c9334397de5b2798a90a478821eb9adbad491",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vlr-005.xht": [
    "56f0b8948c01323a65f0c023984597fceab5fecf",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vlr-007.xht": [
    "a035d4d9748c8050897258d617a1e829675a31e4",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vlr-009.xht": [
-   "8afc2dba356e13db199c7ad74c2e3feeb0fc71db",
+   "f64e3c38517f2ed06ef2aceb54271ebb816dde1e",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vrl-002.xht": [
    "4b11e6f2d3199d4f4239b6237d34ac7406664087",
    "reftest"
   ],
   "css/css-writing-modes/row-progression-vrl-004.xht": [
    "240faf15565dc5c03178996b5c2a55198a5ec4a6",
@@ -529914,49 +529914,49 @@
    "32989c0e49333dbfe79ab49b37dd97ee6f5da328",
    "reftest"
   ],
   "css/css-writing-modes/table-column-order-005.xht": [
    "52f8927a08607f7f59283dd4530ea3e4d30aaefa",
    "reftest"
   ],
   "css/css-writing-modes/table-column-order-slr-007.xht": [
-   "ce7897d71baa58c00c3a4dea8130709d37a56c3d",
+   "497d991283082dbe537a50648678f95c05d5482c",
    "reftest"
   ],
   "css/css-writing-modes/table-column-order-srl-006.xht": [
-   "82f1efc4262858013fa4446ac162b949f9a0abdd",
+   "19751b05f2d9f4bdbba1282e4b31cddfca4b87e0",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-001-ref.html": [
    "f735a788aa1e51b185f7a72e5746af235c3464b8",
    "support"
   ],
   "css/css-writing-modes/table-progression-002-ref.html": [
    "c3a28573b64e810b798c1cb262ac3994ba974c32",
    "support"
   ],
   "css/css-writing-modes/table-progression-slr-001-ref.html": [
    "8125c1f137c1c1d946fd014f676156829716affa",
    "support"
   ],
   "css/css-writing-modes/table-progression-slr-001.html": [
-   "136acff6e0c7e9ad1fc02b0c2ec56d86fe3b2334",
+   "4e103df8bfa38417fc30d883061bd53e2b9b269c",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-slr-002.html": [
-   "091e6f5ca213532c2933f54bcf3f1ce2b6e6ac14",
+   "601c9bfde09243ae6f228ef7c50c4e74f82a02e0",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-srl-001.html": [
-   "81bb9759b21250d322ed5b35306bc279c65dbac7",
+   "3d16b996d03fc8852ce293d2b74c1bc48ec468d2",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-srl-002.html": [
-   "8db7922b0c7faadfed55ae21041a7a4945b472b0",
+   "3f34be40a6e47e76ea05047d67a3b60015dcf664",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-vlr-001.html": [
    "1b25005d5cfcca9f63c0ac7832f80b09e15ac00f",
    "reftest"
   ],
   "css/css-writing-modes/table-progression-vlr-002.html": [
    "f12c37a1bbed9e72b0b000b15cefd563441a7c3b",
@@ -530130,21 +530130,21 @@
    "f45c7c0be7c848c68052a0d18fccdd14c64ef53c",
    "reftest"
   ],
   "css/css-writing-modes/text-baseline-slr-009-ref.xht": [
    "7ec0350f6daedb8794cdfeec373626062d3006df",
    "support"
   ],
   "css/css-writing-modes/text-baseline-slr-009.xht": [
-   "7d7d462fb5e26a2f735da1b9d391d3af4c82e9c4",
+   "d0bc650954a32ef38b4fb380e1949fe1c9744837",
    "reftest"
   ],
   "css/css-writing-modes/text-baseline-srl-008.xht": [
-   "e69f1e570a636bd447dea014e9481096cb0d1787",
+   "867ac538416750661b1deb445c15485afec865d9",
    "reftest"
   ],
   "css/css-writing-modes/text-baseline-vlr-003.xht": [
    "d0aaa0eadcaefc6e5fd5de67f8e138f8e9a08f14",
    "reftest"
   ],
   "css/css-writing-modes/text-baseline-vlr-005.xht": [
    "b686be8c7ddc789a357cdda443c6c2c5ef0c1c0e",
@@ -530434,25 +530434,25 @@
    "5a2423f8767facd36290fbd5482330fc70ff4c7a",
    "support"
   ],
   "css/css-writing-modes/text-orientation-016.xht": [
    "1afa90604eb4b0ebaf323f9455d8527d29bb7c50",
    "reftest"
   ],
   "css/css-writing-modes/text-orientation-mixed-slr-015.xht": [
-   "c43092d37cb60b744d80cddae4a9b274a0073e5a",
+   "5b03427b13a9586f7891acc84b4481e7be5d9ab4",
    "visual"
   ],
   "css/css-writing-modes/text-orientation-mixed-srl-016-ref.xht": [
    "5465539d4c5f2e7555da70a25e232fff37d26f8d",
    "support"
   ],
   "css/css-writing-modes/text-orientation-mixed-srl-016.xht": [
-   "c23b11adbb83d56d80167d3373f153a7828911a0",
+   "e915d9d4cf85cc76c3c2bfb23d880229144cf336",
    "reftest"
   ],
   "css/css-writing-modes/text-orientation-mixed-vlr-100-ref.html": [
    "97138c005328b42014b4e84bb21b5cef75ca8fa5",
    "support"
   ],
   "css/css-writing-modes/text-orientation-mixed-vlr-100.html": [
    "eef8a248a1eec783c2406c448a4d43d624fb9b3d",
@@ -530550,17 +530550,17 @@
    "4c114d6d5c284b786ef783de76393a34de6d677a",
    "testharness"
   ],
   "css/css-writing-modes/text-orientation-sideways-001.xht": [
    "c6f9160ba49cf870c8a929d2e165c9a455dd6ef5",
    "visual"
   ],
   "css/css-writing-modes/text-orientation-sideways-slr-019.xht": [
-   "a044836b817181faea607eb8e776db82a70982f2",
+   "6402e262986377f75a9734b2ad39c89462f1e4be",
    "visual"
   ],
   "css/css-writing-modes/text-orientation-sideways-vlr-100-ref.html": [
    "1f7adad5136675056df6ea741c5b614500b1b4bb",
    "support"
   ],
   "css/css-writing-modes/text-orientation-sideways-vlr-100.html": [
    "a5e2d5b9b3821c2a71dbf7c22475aff5245c0633",
@@ -530570,21 +530570,21 @@
    "1426cf000f67a4943166c84b161ff729274fec12",
    "support"
   ],
   "css/css-writing-modes/text-orientation-sideways-vrl-100.html": [
    "28677aafa451764e6b4f31944420be77a85e1ae8",
    "reftest"
   ],
   "css/css-writing-modes/text-orientation-upright-slr-017.xht": [
-   "a7e63e94d73c9df28d7eaf38f7760e3c49442529",
+   "37048959d42607f908d704950860a82c605eae29",
    "visual"
   ],
   "css/css-writing-modes/text-orientation-upright-srl-018.xht": [
-   "588b6ae8ca104f3e636862f6086b9fae928b069d",
+   "e2cc82de89c7a33c5c18c300d0671c9da96fca63",
    "reftest"
   ],
   "css/css-writing-modes/text-orientation-upright-vlr-100-ref.html": [
    "3e8ac533cb5dac2bdd1fbffee57ba7c6f9485efd",
    "support"
   ],
   "css/css-writing-modes/text-orientation-upright-vlr-100.html": [
    "0fcbcaeb3062c6bc3d2b277b9c1e1977d48de200",
@@ -530754,73 +530754,73 @@
    "8545a77f87f7c448b285358f0169811bb337a6db",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-009.xht": [
    "b31f165623768cc252b294ae7a906677ec0efc38",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-029.xht": [
-   "60ef4cb770927ea21ecb085b7e29b4ce02346d25",
+   "d0dddcd9cb5bc21b2f1566439d8ef91a1e68b214",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-031.xht": [
-   "c6e6346fc92b874121cf80f409a6994dc6bee3e2",
+   "c2253830b2060386fa7d93a8a07acf34d1895076",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-033.xht": [
-   "1af7bb1dbf5462ebdf16ea4b3725c8b6ee6f8866",
+   "1db81b80a78fbe2d8f74f156a96abf47bf1f58c8",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-035.xht": [
-   "219dc850c6de419c45719527b7f30ca84953e099",
+   "147364b7e7aa459c7c52098a9acecad7ca97e970",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-037.xht": [
-   "078eddfc006c52a62557cf6f4b386a9a449a4084",
+   "a47e91d8d292ab9521b3d2319b3032fb090778f8",
    "visual"
   ],
   "css/css-writing-modes/vertical-alignment-slr-039.xht": [
-   "d83cf22f8ff17330a4ac17bf3f3edbd00d5de407",
+   "355c4cf541617219a6afdcfd0ec35df37e8f9faa",
    "visual"
   ],
   "css/css-writing-modes/vertical-alignment-slr-041.xht": [
-   "fff37acb50ac24b0d879d99e8201a02b9c471e93",
+   "a81d5cefd09e9f4eb32b85b5e91f9868de5d8b8f",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-slr-049-ref.xht": [
    "29e78198de36c6357293406b20db81c81c737bf3",
    "support"
   ],
   "css/css-writing-modes/vertical-alignment-srl-028.xht": [
-   "584717924daf8186707532e90d19491fb9596cd6",
+   "3dedf0183d3549bb8d0842342b1ef7bd57f7f280",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-srl-030.xht": [
-   "de4cc7b47866a44f91e6d09b82f768390278ce90",
+   "f32e7665116bd84b56077e5d3606ab2c9fac3c0e",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-srl-032.xht": [
-   "fcb7589f869bf40448466482296a6d6b4e91bf4b",
+   "3db8f8bb81825a2febf310512c12f05e1c6cace0",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-srl-034.xht": [
-   "d3d64bc592c7d3873af17103471d0702d7739dcb",
+   "81ebb41e47a0723cf5796836efcdab2f4f83decb",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-srl-036.xht": [
-   "2da544bd13f70a1c3fa82373ae03f63a81a701ad",
+   "accf5217f77f550153cf3943f53884064f5c68b6",
    "visual"
   ],
   "css/css-writing-modes/vertical-alignment-srl-038.xht": [
-   "6a0837aded8404f898d7730521dca7af62f06858",
+   "c6ccd92ac36fc7981d06ec2ab44449051bc8ad79",
    "visual"
   ],
   "css/css-writing-modes/vertical-alignment-srl-040.xht": [
-   "856d31a7c41a2daac058193905e108f521186a4a",
+   "2a7490ddce4f56719debbf5e87095c24e7cb9397",
    "reftest"
   ],
   "css/css-writing-modes/vertical-alignment-vlr-011.xht": [
    "4172d2d209fa5b20c186a37c615a9040fc4f3660",
    "visual"
   ],
   "css/css-writing-modes/vertical-alignment-vlr-013.xht": [
    "93504f8d838cd930c0934ed2f24c125dac34ce2f",
@@ -530902,17 +530902,17 @@
    "1aa2eada93fb37082aa1bc27c454d61637674381",
    "support"
   ],
   "css/css-writing-modes/wm-propagation-body-006.xht": [
    "d484c650f4c7f1beeb32d0f179fc29becfdca5b4",
    "reftest"
   ],
   "css/css-writing-modes/wm-propagation-body-008.xht": [
-   "200b7875de084cae5d9657b123b33f3464557f6a",
+   "a58999e55ac7968974cca7ad14d0a218ec140458",
    "reftest"
   ],
   "css/css-writing-modes/wm-propagation-body-010.xht": [
    "afdd6ccde5781dec93a01596e28d09f9e0530501",
    "reftest"
   ],
   "css/css-writing-modes/wm-propagation-body-011.xht": [
    "7ca55e87d93d5b07a22cae87dcdc95a7e4f245aa",
@@ -530942,21 +530942,21 @@
    "31e5adcbf86ca246d91728a67fb5a81194d9df0f",
    "reftest"
   ],
   "css/css-writing-modes/writing-mode-parsing-001.html": [
    "aceac9c3d360e63e5b914f04f4eb26b00b634f17",
    "testharness"
   ],
   "css/css-writing-modes/writing-mode-parsing-sideways-lr-001.html": [
-   "d3af3d60656357583e722c983d060c1a30e0dabf",
+   "e57e20399404d3ce38be885b081b916666e01ea8",
    "testharness"
   ],
   "css/css-writing-modes/writing-mode-parsing-sideways-rl-001.html": [
-   "6434d9a2c8f70308094f9626e995b5cfcffe82a4",
+   "eef44aba22253a177525c039218497d00864d05d",
    "testharness"
   ],
   "css/css-writing-modes/writing-mode-parsing-svg1-001.html": [
    "c9e79e6d9d7f7096cf6f5780d2efa90da2b1e189",
    "testharness"
   ],
   "css/css-writing-modes/writing-mode-vertical-lr-002.xht": [
    "0105da12c66423c929ec8dc98691a0699c471ab3",
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-043.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-043.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-lr - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-043-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-lr' are laid out one after the other with the first beginning at the left-hand side of its containing block; they are ordered from left to right meaning that the 1st block box is the leftmost one and, then the 2nd block is juxtaposed at the right-hand side of 1st block, then the 3rd block is juxtaposed at the 2nd block on its right-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   html
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-047.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-047.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: right' and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a right-floated box with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-048.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-048.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: right' and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that right-floated boxes with 'writing-mode' set to 'sideways-lr' establish block formating contexts with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-050.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-050.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: position absolute and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an absolutely positioned box with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-054.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-054.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-055.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-055.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-lr'
  establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-056.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-056.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-058.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-058.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-cell and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table-cell with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-060.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-060.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-caption and 'sideways-lr' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table-caption with its 'writing-mode' set to 'sideways-lr' establishes a block formating context with a left-to-right block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-062.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: list and sideways-lr - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-043-ref.xht" />
 
   <meta content="ahem image" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-lr' are laid out one after the other with the first beginning at the left-hand side of its containing block; they are ordered from left to right meaning that the 1st block box is the leftmost one and then the 2nd block is juxtaposed to the right-hand side of 1st block, the 3rd block is juxtaposed to the 2nd block on its right-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   html
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-063.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-063.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-lr - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-043-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-lr' are laid out one after the other with the first beginning at the left-hand side of its containing block; they are ordered from left to right meaning that the 1st block box is the leftmost one and, then the 2nd block is juxtaposed at the right-hand side of 1st block, then the 3rd block is juxtaposed at the 2nd block on its right-hand side, etc... " name="assert" />
 
   <!--
   This test is a variation of block-flow-direction-003 test.
   -->
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-066.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-slr-066.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: writing mode (sideways-lr) of document - horizontal position of first block</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#block-formatting" title="9.4.1 Block formatting contexts" />
   <link rel="match" href="block-flow-direction-066-ref.xht" />
 
   <meta content="image" name="flags" />
   <meta content="This test checks that, when 'writing-mode' value of the root element is set to 'sideways-lr', then its block boxes are laid out rightwardedly (from left to right) one after the other beginning at its lefthand side. Also, the inline flow direction is 'topwardedly', that is inline boxes in the line box flow from the bottom toward the top; inline boxes are laid out vertically, one after the other, starting at the physical bottom side of its containing block." name="assert" />
 
   <style type="text/css"><![CDATA[
   html
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-042.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-042.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-rl - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-rl' are laid out one after the other with the first beginning at the right-hand side of its containing block; they are ordered from right to left meaning that the 1st block box is the rightmost one, then the 2nd block is juxtaposed at its left-hand side, then the 3rd block is juxtaposed at the 2nd block on its left-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   html
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-045.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-045.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: left' and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a left-floated box with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-046.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-046.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: left' and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that left-floated boxes with 'writing-mode' set to 'sideways-rl' establish block formating contexts with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-049.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-049.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: position absolute and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an absolutely positioned box with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-051.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-051.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-052.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-052.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-053.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-053.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that an inline-block with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-057.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-057.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-cell and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table-cell with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-059.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-059.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-caption and 'sideways-rl' - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table-caption with its 'writing-mode' set to 'sideways-rl' establishes a block formating context with a right-to-left block flow direction." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-061.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: list and sideways-rl - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem image" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-rl' are laid out one after the other with the first beginning at the right-hand side of its containing block; they are ordered from right to left meaning that the 1st block box is the rightmost one and then the 2nd block is juxtaposed to its left-hand side, the 3rd block is juxtaposed to the 2nd block on its left-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   html
     {
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-064.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-064.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-rl - block flow direction of block-level boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that block-level boxes in a block formating context with 'writing-mode' set to 'sideways-rl' are laid out one after the other with the first beginning at the right-hand side of its containing block; they are ordered from right to left meaning that the 1st block box is the rightmost one, then the 2nd block is juxtaposed at its left-hand side, then the 3rd block is juxtaposed at the 2nd block on its left-hand side, etc... " name="assert" />
 
   <!--
   This test is a variation of block-flow-direction-002 test.
   -->
--- a/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-065.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/block-flow-direction-srl-065.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: writing mode (sideways-rl) of document - horizontal position of first block</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="help" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visuren.html#block-formatting" title="9.4.1 Block formatting contexts" />
   <link rel="match" href="block-flow-direction-025-ref.xht" />
 
   <meta content="image" name="flags" />
   <meta content="This test checks that, when 'writing-mode' value of the root element is set to 'sideways-rl', then its block boxes are laid out leftwardedly (from right to left) one after the other beginning at its righthand side. Also, the inline flow direction is 'bottomwardedly', that is inline boxes in the line box flow from the top toward the bottom; inline boxes are laid out vertically, one after the other, starting at the physical top side of its containing block." name="assert" />
 
   <style type="text/css"><![CDATA[
   html
--- a/testing/web-platform/tests/css/css-writing-modes/form-controls-slr-004.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/form-controls-slr-004.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: order, orientation and layout of form controls in 'sideways-lr' writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="image should" name="flags" />
   <meta content="This test checks the order, the flow, the orientation and layout of form controls used in Example 4 of section 3.1 when the 'writing-mode' of the whole form element is set to 'sideways-lr'." name="assert" />
 
   <style type="text/css"><![CDATA[
   form
     {
       font-size: 18px;
--- a/testing/web-platform/tests/css/css-writing-modes/form-controls-slr-005.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/form-controls-slr-005.xht
@@ -3,17 +3,17 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: form controls in 'sideways-lr' writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
 
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="should" name="flags" />
   <meta content="This test checks the rendering of various form controls (select, optgroup, options, various types of input and buttons) written with latin text in 'sideways-lr' writing mode. The text of replaced content should match the replaced element's writing mode and line orientation; therefore, in this test, a) the text's inline base direction must be from bottom to top, b) the glyphs must be rotated 90° counter-clockwise and c) the block flow direction must be from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   form
     {
       font-size: 1.25em;
--- a/testing/web-platform/tests/css/css-writing-modes/form-controls-srl-004.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/form-controls-srl-004.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: order, orientation and layout of form controls in 'sideways-rl' writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="image should" name="flags" />
   <meta content="This test checks the order, the flow, the orientation and layout of form controls used in Example 4 of section 3.1 when the 'writing-mode' of the whole form element is set to 'sideways-rl'." name="assert" />
 
   <style type="text/css"><![CDATA[
   form
     {
       font-size: 18px;
--- a/testing/web-platform/tests/css/css-writing-modes/form-controls-srl-005.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/form-controls-srl-005.xht
@@ -3,17 +3,17 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: form controls in 'sideways-rl' writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
 
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="should" name="flags" />
   <meta content="This test checks the rendering of various form controls (select, optgroup, options, various types of input and buttons) written with latin text in 'sideways-rl' writing mode. The text of replaced content should match the replaced element's writing mode and line orientation; therefore, in this test, a) the text's inline base direction must be from top to bottom, b) the glyphs must be rotated 90° clockwise and c) the block flow direction must be from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   form
     {
       font-size: 1.25em;
--- a/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-slr-009.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
 <head>
   <title>CSS Writing Modes Test: inline block alignment - alphabetical alignment with vertical layout</title>
   <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-12 -->
-  <link rel="help" title="CSS3 Writing modes: 4.3. Atomic Inline Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#replaced-baselines" />
+  <link rel="help" title="CSS3 Writing modes: 4.3. Atomic Inline Baseline" href="http://www.w3.org/TR/css-writing-modes-4/#replaced-baselines" />
   <link rel="help" title="CSS2.1 9.2.2 Inline-level elements and inline boxes" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes" />
   <link rel="match" href="inline-block-alignment-slr-009-ref.xht" />
   <meta name="assert" content="This test checks the generation of inline-block baseline. When 'writing-mode' is 'sideways-lr', then the alphabetic baseline is used as the dominant baseline." />
   <meta name="flags" content="ahem" />
   <style type="text/css"><![CDATA[
     div#slr
   {
     color: teal;
--- a/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-srl-008.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/inline-block-alignment-srl-008.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: inline block alignment - alphabetical alignment with vertical layout</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-06 -->
-    <link rel="help" title="CSS3 Writing modes: 4.3. Atomic Inline Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#replaced-baselines" />
+    <link rel="help" title="CSS3 Writing modes: 4.3. Atomic Inline Baseline" href="http://www.w3.org/TR/css-writing-modes-4/#replaced-baselines" />
     <link rel="help" title="CSS2.1 9.2.2 Inline-level elements and inline boxes" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes" />
     <link rel="match" href="inline-block-alignment-006-ref.xht" />
     <meta name="assert" content="This test checks the generation of inline-block baseline. When 'writing-mode' is 'sideways-rl', then the alphabetic baseline is used as the dominant baseline." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       color: fuchsia;
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-043.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-043.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-lr - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes in a block box with 'writing-mode' set to 'sideways-lr' are laid out one after the other with the first beginning at the left-hand side of the block box; they are ordered from left to right meaning that the 1st line box is the leftmost one and then the 2nd line box is juxtaposed to the right-hand side of 1st line box, the 3rd line box is juxtaposed to the 2nd line box on its right-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-047.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-047.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: right' and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the line boxes of a right-floated box with its 'writing-mode' set to 'sideways-lr' will be ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-048.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-048.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: right' and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-002-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the line boxes of right-floated boxes with 'writing-mode' set to 'sideways-lr' will be ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-050.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-050.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: position absolute and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes of an absolutely positioned box with its 'writing-mode' set to 'sideways-lr' will be ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-053.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-053.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that lines boxes of descendant block boxes of an inline-block with its 'writing-mode' set to 'sideways-lr' are ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-054.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-054.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that lines boxes of descendant block boxes of inline-blocks with 'writing-mode' set to 'sideways-lr' are ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-056.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-056.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-cell and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the lines boxes of a table-cell with its 'writing-mode' set to 'sideways-lr' are ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-058.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-058.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-caption and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the lines boxes of a table-caption with its 'writing-mode' set to 'sideways-lr' are ordered from left to right." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-060.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-slr-060.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: list and 'sideways-lr' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes in a block box with 'writing-mode' set to 'sideways-lr' are laid out one after the other with the first beginning at the left-hand side of the block box; they are ordered from left to right meaning that the 1st line box is the leftmost one and then the 2nd line box is juxtaposed to the right-hand side of 1st line box, the 3rd line box is juxtaposed to the 2nd line box on its right-hand side, etc... " name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-042.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-042.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-rl - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes of a block box in a 'sideways-rl' writing mode are laid out one after the other, leftwardedly, with the first beginning at the rightmost line of the block box; they are ordered from right to left meaning that the 1st line box is the rightmost one and then the 2nd line box is juxtaposed to its left-hand side, the 3rd block is juxtaposed to the 2nd line box on its left-hand side, etc..." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-045.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-045.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: left' and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the line boxes of a left-floated box with its 'writing-mode' set to 'sideways-rl' will be ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-046.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-046.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'float: left' and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the line boxes of left-floated boxes with 'writing-mode' set to 'sideways-rl' will be ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-049.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-049.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: position absolute and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes of an absolutely positioned box with its 'writing-mode' set to 'sideways-rl' will be ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-051.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-051.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that lines boxes of descendant block boxes of an inline-block with its 'writing-mode' set to 'sideways-rl' are ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-052.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-052.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: inline-block and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that lines boxes of descendant block boxes of inline-blocks with 'writing-mode' set to 'sideways-rl' are ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-055.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-055.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-cell and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the lines boxes of a table-cell with its 'writing-mode' set to 'sideways-rl' are ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-057.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-057.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: table-caption and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that the lines boxes of a table-caption with its 'writing-mode' set to 'sideways-rl' are ordered from right to left." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-059.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/line-box-direction-srl-059.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: list and 'sideways-rl' - ordering direction of line boxes</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that line boxes of a block box in a 'sideways-rl' writing mode are laid out one after the other, leftwardedly, with the first beginning at the rightmost line of the block box; they are ordered from right to left meaning that the 1st line box is the rightmost one and then the 2nd line box is juxtaposed to its left-hand side, the 3rd block is juxtaposed to the 2nd line box on its left-hand side, etc..." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/outline-inline-slr-005.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/outline-inline-slr-005.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: outline layout and non-replaced inline in sideways-lr writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" />
+  <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-4/#vertical-layout" />
   <link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" />
 
   <meta content="" name="flags" />
 
   <style type="text/css"><![CDATA[
   div
     {
       height: 200px;
--- a/testing/web-platform/tests/css/css-writing-modes/outline-inline-srl-004.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/outline-inline-srl-004.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: outline layout and non-replaced inline and sideways-rl writing-mode</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" />
+  <link rel="help" title="7.1. Principles of Layout in Vertical Writing Modes" href="http://www.w3.org/TR/css-writing-modes-4/#vertical-layout" />
   <link rel="help" title="18.4 Dynamic outlines: the 'outline' property" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/ui.html#dynamic-outlines" />
 
   <meta content="" name="flags" />
 
   <style type="text/css"><![CDATA[
   div
     {
       height: 200px;
--- a/testing/web-platform/tests/css/css-writing-modes/page-flow-direction-slr-005.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/page-flow-direction-slr-005.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-lr' - default page flow (progression) direction</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="image paged" name="flags" />
   <meta content="This test checks that when 'writing-mode' is set on the root element, then it determines the default page flow (or progression) direction. In this test, the page flow (or progression) direction is left-to-right." name="assert" />
 
   <style type="text/css" media="print"><![CDATA[
   html
     {
       writing-mode: sideways-lr;
--- a/testing/web-platform/tests/css/css-writing-modes/page-flow-direction-srl-004.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/page-flow-direction-srl-004.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-rl' - default page flow (progression) direction</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
 
   <meta content="image paged" name="flags" />
   <meta content="This test checks that when 'writing-mode' is set on the root element, then it determines the default page flow (or progression) direction. In this test, the page flow (or progression) direction is right-to-left." name="assert" />
 
   <style type="text/css" media="print"><![CDATA[
   html
     {
       writing-mode: sideways-rl;
--- a/testing/web-platform/tests/css/css-writing-modes/row-progression-slr-023.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/row-progression-slr-023.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-lr - table rows progression</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that rows of a table element with in a 'sideways-lr' writing mode are laid out one after the other, rightwardedly, with the first beginning at the leftmost side of the table box; table rows are ordered from left to right meaning that the 1st row is the leftmost one and then the 2nd row is juxtaposed to its right-hand side, the 3rd row is juxtaposed to the 2nd row on its right-hand side, etc... Table cells and table columns in a table with writing-mode set to 'sideways-lr' are ordered according to inline flow direction, which is from bottom to top." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/row-progression-slr-029.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/row-progression-slr-029.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-lr - table rows progression (thead, 2 tbodies, tfoot)</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that rows of a table element with in a 'sideways-lr' writing mode are laid out one after the other, rightwardedly, with the first beginning at the leftmost side of the table box; table rows are ordered from left to right meaning that the 1st row is the leftmost one and then the 2nd row is juxtaposed to its right-hand side, the 3rd row is juxtaposed to the 2nd row on its right-hand side, etc... Table cells and table columns in a table with writing-mode set to 'sideways-lr' are ordered according to inline flow direction, which is from bottom to top." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/row-progression-srl-022.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/row-progression-srl-022.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-rl - table rows progression</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that rows of a table element with in a 'sideways-rl' writing mode are laid out one after the other, leftwardedly, with the first beginning at the rightmost side of the table box; table rows are ordered from right to left meaning that the 1st row is the rightmost one and then the 2nd row is juxtaposed to its left-hand side, the 3rd row is juxtaposed to the 2nd row on its left-hand side, etc..." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/row-progression-srl-028.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/row-progression-srl-028.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: sideways-rl - table rows progression (thead, 2 tbodies, tfoot)</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that rows of a table element with in a 'sideways-rl' writing mode are laid out one after the other, leftwardedly, with the first beginning at the rightmost side of the table box; table rows are ordered from right to left meaning that the 1st row is the rightmost one and then the 2nd row is juxtaposed to its left-hand side, the 3rd row is juxtaposed to the 2nd row on its left-hand side, etc..." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/row-progression-vlr-009.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/row-progression-vlr-009.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: vertical-lr - table rows progression (thead, 2 tbodies, tfoot)</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#writing-mode" title="3.1 Block Flow Direction: the writing-mode property" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that rows of a table element with in a 'vertical-lr' writing mode are laid out one after the other, rightwardedly, with the first beginning at the leftmost side of the table box; table rows are ordered from left to right meaning that the 1st row is the leftmost one and then the 2nd row is juxtaposed to its right-hand side, the 3rd row is juxtaposed to the 2nd row on its right-hand side, etc... Table cells in a table with writing-mode set to 'sideways-lr' are ordered according to inline flow direction, which is from bottom to top." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/table-column-order-slr-007.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/table-column-order-slr-007.xht
@@ -3,18 +3,18 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'direction: rtl' - table columns order and sideways-lr</title>
 
   <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-22 -->
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the direction property" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the direction property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table with 'writing-mode' set to 'sideways-lr' and with 'direction' set to 'rtl' will have its column displayed from top (1st column) to bottom (last column). This test relies on right-to-left directionality applying to characters that are strongly sensitive to directionality. In this test, we use digits [0-9] and non-breaking spaces which are all strongly sensitive to bidi directionality." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/table-column-order-srl-006.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/table-column-order-srl-006.xht
@@ -3,18 +3,18 @@
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'direction: rtl' - table columns order and sideways-rl</title>
 
   <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
   <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-22 -->
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the direction property" />
-  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the direction property" />
+  <link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#vertical-layout" title="7.1 Principles of Layout in Vertical Writing Modes" />
   <link rel="match" href="block-flow-direction-001-ref.xht" />
 
   <meta content="ahem" name="flags" />
   <meta content="This test checks that a table with 'writing-mode' set to 'sideways-rl' and with 'direction' set to 'rtl' will have its column displayed from bottom (1st column) to top (last column). This test relies on right-to-left directionality applying to characters that are strongly sensitive to directionality. In this test, we use digits [0-9] and non-breaking spaces which are all strongly sensitive to bidi directionality." name="assert" />
 
   <style type="text/css"><![CDATA[
   body
     {
--- a/testing/web-platform/tests/css/css-writing-modes/table-progression-slr-001.html
+++ b/testing/web-platform/tests/css/css-writing-modes/table-progression-slr-001.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <meta charset="utf-8">
 <title>CSS Test: sideways-lr Table Row/Rowgroup/Cell Ordering</title>
 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 <link rel="match" href="table-progression-slr-001-ref.html">
 <meta name="assert" content="This test checks that sideways-lr tables order rows/rowgroups left to right and cells bottom-to-top (LTR) or top-to-bottom (RTL) per 'direction'. This test also checks that 'writing-mode' and 'direction' do not apply to table rows and row groups.">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the 'direction' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the 'direction' property">
 
 <style>
   .test {
     writing-mode: sideways-lr;
   }
   [dir=rtl] {
     direction: rtl;
   }
--- a/testing/web-platform/tests/css/css-writing-modes/table-progression-slr-002.html
+++ b/testing/web-platform/tests/css/css-writing-modes/table-progression-slr-002.html
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <title>CSS Test: sideways-lr Table Column/Colgroup Ordering</title>
 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 <link rel="match" href="table-progression-002-ref.html">
 <meta name="assert" content="This test checks that sideways-lr tables order columns bottom-to-top (LTR) or top-to-bottom (RTL) per the table's 'direction'. This test also checks that 'writing-mode' and 'direction' do not apply to table columns and column groups.">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the 'direction' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the 'direction' property">
 
 <style>
   .test {
     writing-mode: sideways-lr;
   }
   [dir=rtl] {
     direction: rtl;
   }
--- a/testing/web-platform/tests/css/css-writing-modes/table-progression-srl-001.html
+++ b/testing/web-platform/tests/css/css-writing-modes/table-progression-srl-001.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <meta charset="utf-8">
 <title>CSS Test: sideways-rl Table Row/Rowgroup/Cell Ordering</title>
 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 <link rel="match" href="table-progression-001-ref.html">
 <meta name="assert" content="This test checks that sideways-rl tables order rows/rowgroups right to left and cells top-to-bottom (LTR) or bottom-to-top (RTL) per 'direction'. This test also checks that 'writing-mode' and 'direction' do not apply to table rows and row groups.">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the 'direction' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the 'direction' property">
 
 <style>
   .test {
     writing-mode: sideways-rl;
   }
   [dir=rtl] {
     direction: rtl;
   }
--- a/testing/web-platform/tests/css/css-writing-modes/table-progression-srl-002.html
+++ b/testing/web-platform/tests/css/css-writing-modes/table-progression-srl-002.html
@@ -1,17 +1,17 @@
 <!DOCTYPE html>
 <meta charset="utf-8">
 <title>CSS Test: sideways-rl Table Column/Colgroup Ordering</title>
 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact">
 <link rel="match" href="table-progression-002-ref.html">
 <meta name="assert" content="This test checks that sideways-rl tables order columns top-to-bottom (LTR) or bottom-to-top (RTL) per the table's 'direction'. This test also checks that 'writing-mode' and 'direction' do not apply to table columns and column groups.">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
-<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#direction" title="2.1 Specifying Directionality: the 'direction' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#block-flow" title="3.1 Block Flow Direction: the 'writing-mode' property">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-4/#direction" title="2.1 Specifying Directionality: the 'direction' property">
 
 <style>
   .test {
     writing-mode: sideways-rl;
   }
   [dir=rtl] {
     direction: rtl;
   }
--- a/testing/web-platform/tests/css/css-writing-modes/text-baseline-slr-009.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-baseline-slr-009.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-05 -->
-    <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#text-baselines" />
+    <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-writing-modes-4/#text-baselines" />
     <link rel="match" href="text-baseline-slr-009-ref.xht" />
     <meta name="assert" content="When 'writing-mode' is 'sideways-lr', then the alphabetic baseline is used as the dominant baseline." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       color: fuchsia;
       font: 60px/1.5 Ahem; /* computes to 60px/90px */
--- a/testing/web-platform/tests/css/css-writing-modes/text-baseline-srl-008.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-baseline-srl-008.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: text baseline alignment - alphabetical alignment with vertical layout</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-05 -->
-    <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-writing-modes-3/#text-baselines" />
+    <link rel="help" title="4.2. Text Baseline" href="http://www.w3.org/TR/css-writing-modes-4/#text-baselines" />
     <link rel="match" href="text-baseline-vrl-006-ref.xht" />
     <meta name="assert" content="When 'writing-mode' is 'sideways-rl', then the alphabetic baseline is used as the dominant baseline." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       color: fuchsia;
       font: 60px/1.5 Ahem; /* computes to 60px/90px */
--- a/testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-slr-015.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-slr-015.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-lr' - 'text-orientation: mixed' has no effect</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
+  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-4/#text-orientation" />
 
   <meta name="flags" content="image" />
   <meta name="assert" content="This test checks that when 'writing-mode' is set to 'sideways-lr', then a 'text-orientation: mixed' declaration has no effect: the alphabetical baseline is used as the dominant baseline and all the glyphs remain rotated 90 degrees counter-clockwise. The typographic mode for 'sideways-lr' is horizontal and 'text-orientation' has no effect on boxes in horizontal typographic modes." />
 
   <style type="text/css"><![CDATA[
   @font-face
     {
       font-family: "mplus-1p-regular";
--- a/testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-srl-016.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-orientation-mixed-srl-016.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-rl' - 'text-orientation: mixed' has no effect</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
+  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-4/#text-orientation" />
   <link rel="match" href="text-orientation-mixed-srl-016-ref.xht" />
 
   <meta name="flags" content="" />
   <meta name="assert" content="This test checks that when 'writing-mode' is set to 'sideways-rl', then a 'text-orientation: mixed' declaration has no effect: the alphabetical baseline is used as the dominant baseline because the typographic mode for 'sideways-rl' is horizontal and 'text-orientation' has no effect on boxes in horizontal typographic modes." />
 
   <style type="text/css"><![CDATA[
   @font-face
     {
--- a/testing/web-platform/tests/css/css-writing-modes/text-orientation-sideways-slr-019.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-orientation-sideways-slr-019.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-lr' - 'text-orientation: sideways' has no effect</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
+  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-4/#text-orientation" />
 
   <meta name="flags" content="image" />
   <meta name="assert" content="This test checks that when 'writing-mode' is set to 'sideways-lr', then a 'text-orientation: sideways' declaration has no effect: the alphabetical baseline is used as the dominant baseline and all the glyphs remain rotated 90 degrees counter-clockwise. The typographic mode for 'sideways-lr' is horizontal and 'text-orientation' has no effect on boxes in horizontal typographic modes." />
 
   <style type="text/css"><![CDATA[
   @font-face
     {
       font-family: "mplus-1p-regular";
--- a/testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-slr-017.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-slr-017.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-lr' - 'text-orientation: upright' has no effect</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
+  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-4/#text-orientation" />
 
   <meta name="flags" content="image" />
   <meta name="assert" content="This test checks that when 'writing-mode' is set to 'sideways-lr', then a 'text-orientation: upright' declaration has no effect: the alphabetical baseline is used as the dominant baseline and all the glyphs remain rotated 90 degrees counter-clockwise. The typographic mode for 'sideways-lr' is horizontal and 'text-orientation' has no effect on boxes in horizontal typographic modes." />
 
   <style type="text/css"><![CDATA[
   @font-face
     {
       font-family: "mplus-1p-regular";
--- a/testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-srl-018.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/text-orientation-upright-srl-018.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-rl' - 'text-orientation: upright' has no effect</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientation" />
+  <link rel="help" title="5.1. Orienting Text: the 'text-orientation' property" href="http://www.w3.org/TR/css-writing-modes-4/#text-orientation" />
   <link rel="match" href="text-orientation-mixed-srl-016-ref.xht" />
 
   <meta name="flags" content="" />
   <meta name="assert" content="This test checks that when 'writing-mode' is set to 'sideways-rl', then a 'text-orientation: upright' declaration has no effect: the alphabetical baseline is used as the dominant baseline and all the glyphs remain rotated 90 degrees clockwise. The typographic mode for 'sideways-rl' is horizontal and 'text-orientation' has no effect on boxes in horizontal typographic modes." />
 
   <style type="text/css"><![CDATA[
   @font-face
     {
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-029.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-029.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'top' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr', 'vertical-align' is 'top', the physical left (logical top) edge of an inline non-replaced box is aligned with the physical left (logical top) edge of its line box." />
     <link rel="match" href="vertical-alignment-008-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       writing-mode: sideways-lr;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-031.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-031.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'text-top' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of an inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr', 'vertical-align' is 'text-top', the physical left (logical top) edge of an inline non-replaced box is aligned with the left side (logical top) of parent's content area." />
     <link rel="match" href="vertical-alignment-006-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       color: orange;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-033.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-033.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'text-bottom' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of an inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr', 'vertical-align' is 'text-bottom', the physical right (logical bottom) edge of an inline non-replaced box is aligned with the right side (logical bottom) of parent's content area." />
     <link rel="match" href="vertical-alignment-004-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       color: orange;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-035.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-035.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'bottom' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr', 'vertical-align' is 'bottom', the physical right (logical bottom) edge of an inline non-replaced box is aligned with the physical right (logical bottom) edge of its line box." />
     <link rel="match" href="vertical-alignment-002-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       writing-mode: sideways-lr;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-037.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-037.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'super' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr' and 'vertical-align' is 'super', the baseline of the box is shifted to the left." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       writing-mode: sideways-lr;
       font: 60px/3 Ahem; /* computes to 60px/180px */
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-039.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-039.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'sub' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr' and 'vertical-align' is 'sub', the baseline of the box is shifted to the right." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       writing-mode: sideways-lr;
       font: 60px/3 Ahem; /* computes to 60px/180px */
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-041.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-slr-041.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'middle' and sideways-lr writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-lr', 'text-orientation' is 'mixed', 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the alphabetic baseline of the parent box plus half the x-height of the parent." />
     <link rel="match" href="vertical-alignment-slr-049-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#slr
     {
       writing-mode: sideways-lr;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-028.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-028.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'top' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl', 'vertical-align' is 'top', the physical right (logical top) edge of an inline non-replaced box is aligned with the physical right (logical top) edge of its line box." />
     <link rel="match" href="vertical-alignment-002-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       writing-mode: sideways-rl;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-030.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-030.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'text-top' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of an inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl', 'vertical-align' is 'text-top', the physical right (logical top) edge of an inline non-replaced box is aligned with the right side (logical top) of parent's content area." />
     <link rel="match" href="vertical-alignment-004-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       color: orange;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-032.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-032.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'text-bottom' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of an inline non-replaced box with vertical align property. When 'writing-mode' is 'vertical-rl', 'vertical-align' is 'text-bottom', the physical left (logical bottom) edge of an inline non-replaced box is aligned with the left side (logical bottom) of parent's content area." />
     <link rel="match" href="vertical-alignment-006-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       color: orange;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-034.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-034.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
    <title>CSS Writing Modes Test: vertical-align - 'bottom' and sideways-rl writing-mode</title>
    <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
    <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-   <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+   <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
    <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
    <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl', 'vertical-align' is 'bottom', the physical left (logical bottom) edge of an inline non-replaced box is aligned with the physical left (logical bottom) edge of its line box." />
     <link rel="match" href="vertical-alignment-008-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       writing-mode: sideways-rl;
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-036.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-036.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'super' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl' and 'vertical-align' is 'super', the baseline of the box is shifted to the right." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       writing-mode: sideways-rl;
       font: 60px/3 Ahem; /* computes to 60px/180px */
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-038.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-038.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'sub' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl' and 'vertical-align' is 'sub', the baseline of the box is shifted to the left." />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       writing-mode: sideways-rl;
       font: 60px/3 Ahem; /* computes to 60px/180px */
--- a/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-040.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/vertical-alignment-srl-040.xht
@@ -1,15 +1,15 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
   <head>
     <title>CSS Writing Modes Test: vertical-align - 'middle' and sideways-rl writing-mode</title>
     <link rel="author" title="Hajime Shiozawa" href="mailto:hajime.shiozawa@gmail.com" />
     <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2015-12-11 -->
-    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-3/#line-mappings" />
+    <link rel="help" title="7.5 Line-Relative Mappings" href="http://www.w3.org/TR/css-writing-modes-4/#line-mappings" />
     <link rel="help" title="10.8.1 Leading and half-leading" href="http://www.w3.org/TR/2011/REC-CSS2-20110607/visudet.html#leading" />
     <meta name="assert" content="This test checks the position of inline non-replaced box with vertical align property. When 'writing-mode' is 'sideways-rl' and 'vertical-align' is 'middle', the vertical midpoint of the box is aligned with the alphabetic baseline of the parent box plus half the x-height of the parent." />
     <link rel="match" href="vertical-alignment-vrl-026-ref.xht" />
     <meta name="flags" content="ahem" />
     <style type="text/css"><![CDATA[
     div#srl
     {
       writing-mode: sideways-rl;
--- a/testing/web-platform/tests/css/css-writing-modes/wm-propagation-body-008.xht
+++ b/testing/web-platform/tests/css/css-writing-modes/wm-propagation-body-008.xht
@@ -2,17 +2,17 @@
 
 <html xmlns="http://www.w3.org/1999/xhtml">
 
  <head>
 
   <title>CSS Writing Modes Test: 'writing-mode: sideways-rl' set to body element propagates to viewport</title>
 
   <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
-  <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#principal-flow" title="8. The Principal Writing Mode" />
+  <link rel="help" href="https://www.w3.org/TR/css-writing-modes-4/#principal-flow" title="8. The Principal Writing Mode" />
   <link rel="match" href="block-flow-direction-025-ref.xht" />
 
   <meta name="flags" content="image" />
   <meta name="assert" content="This test checks that when the root element has a &lt;body&gt; child element, then the principal writing mode is instead taken from the values of writing-mode and direction on the first such child element instead of taken from the root element." />
 
   <style type="text/css"><![CDATA[
   html
     {
--- a/testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-lr-001.html
+++ b/testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-lr-001.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <title>CSS Writing Modes: parsing writing-mode: sideways-lr</title>
 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
-<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow">
+<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
 <meta name="assert" content="This test asserts the parser and getComputedStyle works correctly for the writing-mode: sideways-lr.">
 <meta name="flags" content="dom">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 
 <div style="writing-mode: sideways-lr"
   data-expected="sideways-lr"></div>
 
--- a/testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-rl-001.html
+++ b/testing/web-platform/tests/css/css-writing-modes/writing-mode-parsing-sideways-rl-001.html
@@ -1,12 +1,12 @@
 <!DOCTYPE html>
 <title>CSS Writing Modes: parsing writing-mode: sideways-rl</title>
 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com">
-<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow">
+<link rel="help" href="https://drafts.csswg.org/css-writing-modes-4/#block-flow">
 <meta name="assert" content="This test asserts the parser and getComputedStyle works correctly for the writing-mode: sideways-rl.">
 <meta name="flags" content="dom">
 <script src="/resources/testharness.js"></script>
 <script src="/resources/testharnessreport.js"></script>
 
 <div style="writing-mode: sideways-rl"
   data-expected="sideways-rl"></div>