diff --git a/Configurations/Sanitizers.xcconfig b/Configurations/Sanitizers.xcconfig index 7e07fb866d9e..7e2ab97a2ad8 100644 --- a/Configurations/Sanitizers.xcconfig +++ b/Configurations/Sanitizers.xcconfig @@ -31,11 +31,11 @@ WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Debug = 0; WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Production = 1; WK_SANITIZER_GCC_OPTIMIZATION_LEVEL_Release = 1; -WK_SANITIZER_OTHER_CFLAGS = $(WK_ANY_SANITIZER_CFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_ADDRESS_SANITIZER_OTHER_CFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)) $(WK_LIBFUZZER_OTHER_CFLAGS_$(ENABLE_LIBFUZZER)) $(WK_FUZZILLI_OTHER_CFLAGS_$(ENABLE_FUZZILLI)); +WK_SANITIZER_OTHER_CFLAGS = $(WK_ANY_SANITIZER_CFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_ADDRESS_SANITIZER_OTHER_CFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)) $(WK_FUZZILLI_OTHER_CFLAGS_$(ENABLE_FUZZILLI)) $(WK_LIBFUZZER_OTHER_CFLAGS_$(ENABLE_LIBFUZZER)); -WK_SANITIZER_OTHER_CPLUSPLUSFLAGS = $(WK_ADDRESS_SANITIZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_ADDRESS_SANITIZER)) $(WK_LIBFUZZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_LIBFUZZER)); +WK_SANITIZER_OTHER_CPLUSPLUSFLAGS = $(WK_ADDRESS_SANITIZER_OTHER_CPLUSPLUSFLAGS_$(ENABLE_ADDRESS_SANITIZER)); -WK_SANITIZER_OTHER_LDFLAGS = $(WK_ANY_SANITIZER_LDFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_LIBFUZZER_OTHER_LDFLAGS_$(ENABLE_LIBFUZZER)); +WK_SANITIZER_OTHER_LDFLAGS = $(WK_ANY_SANITIZER_LDFLAGS_$(WK_ANY_SANITIZER_ENABLED)) $(WK_FUZZILLI_OTHER_LDFLAGS_$(ENABLE_FUZZILLI)) $(WK_LIBFUZZER_OTHER_LDFLAGS_$(ENABLE_LIBFUZZER)); WK_SANITIZER_OTHER_TAPI_FLAGS = $(WK_SANITIZER_OTHER_TAPI_FLAGS_ASAN_$(ENABLE_ADDRESS_SANITIZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_LIBFUZZER_$(ENABLE_LIBFUZZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_TSAN_$(ENABLE_THREAD_SANITIZER)) $(WK_SANITIZER_OTHER_TAPI_FLAGS_UBSAN_$(ENABLE_UNDEFINED_BEHAVIOR_SANITIZER)); WK_SANITIZER_OTHER_TAPI_FLAGS_ASAN_YES = -Xparser -fsanitize=address; @@ -91,18 +91,24 @@ WK_XCODE_VERSION_AFTER_13_3_1700 = YES; // -fno-optimize-sibling-calls: disable tail call elimination for more accurate crash stacks. WK_UNDEFINED_BEHAVIOR_SANITIZER_OTHER_CFLAGS_YES = -fno-delete-null-pointer-checks -fno-optimize-sibling-calls -fno-sanitize=vptr -fsanitize=enum,return; -// Libfuzzer +// Sanitizer Coverage -WK_LIBFUZZER_COVERAGE = $(WK_LIBFUZZER_COVERAGE_FUZZILLI_$(ENABLE_FUZZILLI)); -WK_LIBFUZZER_COVERAGE_FUZZILLI_ = inline-8bit-counters,trace-cmp; -WK_LIBFUZZER_COVERAGE_FUZZILLI_NO = $(WK_LIBFUZZER_COVERAGE_FUZZILLI_); -WK_LIBFUZZER_COVERAGE_FUZZILLI_YES = trace-pc-guard; -WK_LIBFUZZER_OTHER_CFLAGS_YES = -fsanitize-coverage=$(WK_LIBFUZZER_COVERAGE) -Wno-error -DENABLE_LIBFUZZER=1; -WK_LIBFUZZER_OTHER_LDFLAGS_YES = -fsanitize-coverage=$(WK_LIBFUZZER_COVERAGE); +WK_SANITIZER_COVERAGE = $(WK_SANITIZER_COVERAGE_FUZZILLI_$(ENABLE_FUZZILLI)); +WK_SANITIZER_COVERAGE_FUZZILLI_ = inline-8bit-counters,trace-cmp; +WK_SANITIZER_COVERAGE_FUZZILLI_NO = $(WK_SANITIZER_COVERAGE_FUZZILLI_); +WK_SANITIZER_COVERAGE_FUZZILLI_YES = trace-pc-guard; + +WK_SANITIZER_COVERAGE_OTHER_FLAGS = -fsanitize-coverage=$(WK_SANITIZER_COVERAGE); + +// LibFuzzer + +WK_LIBFUZZER_OTHER_CFLAGS_YES = $(WK_SANITIZER_COVERAGE_OTHER_FLAGS) -Wno-error -DENABLE_LIBFUZZER=1; +WK_LIBFUZZER_OTHER_LDFLAGS_YES = $(WK_SANITIZER_COVERAGE_OTHER_FLAGS); // Fuzzilli for JavaScriptCore -WK_FUZZILLI_OTHER_CFLAGS_YES = -DENABLE_FUZZILLI=1; +WK_FUZZILLI_OTHER_CFLAGS_YES = $(WK_SANITIZER_COVERAGE_OTHER_FLAGS) -DENABLE_FUZZILLI=1; +WK_FUZZILLI_OTHER_LDFLAGS_YES = $(WK_SANITIZER_COVERAGE_OTHER_FLAGS); // Clang Static Analyzer diff --git a/Configurations/Version.xcconfig b/Configurations/Version.xcconfig index 3b15a6fb804d..793765d2ef5a 100644 --- a/Configurations/Version.xcconfig +++ b/Configurations/Version.xcconfig @@ -23,7 +23,7 @@ MAJOR_VERSION = 619; MINOR_VERSION = 1; -TINY_VERSION = 4; +TINY_VERSION = 6; MICRO_VERSION = 0; NANO_VERSION = 0; FULL_VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(TINY_VERSION); diff --git a/JSTests/ChakraCore/test/Array/array_splice.js b/JSTests/ChakraCore/test/Array/array_splice.js index ca5a5f0392bb..fcd2f58d9c09 100644 --- a/JSTests/ChakraCore/test/Array/array_splice.js +++ b/JSTests/ChakraCore/test/Array/array_splice.js @@ -121,7 +121,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } @@ -132,7 +132,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } @@ -143,7 +143,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } diff --git a/JSTests/ChakraCore/test/Array/array_splice_double.js b/JSTests/ChakraCore/test/Array/array_splice_double.js index 8c3e9bee5b29..8a056e286e59 100644 --- a/JSTests/ChakraCore/test/Array/array_splice_double.js +++ b/JSTests/ChakraCore/test/Array/array_splice_double.js @@ -121,7 +121,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } @@ -132,7 +132,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } @@ -143,7 +143,7 @@ try } catch(e) { - if (!e instanceof TypeError) throw(e); + if (!(e instanceof TypeError)) throw e; WScript.Echo(y); WScript.Echo(x); } diff --git a/JSTests/microbenchmarks/default-value-destructuring-array.js b/JSTests/microbenchmarks/default-value-destructuring-array.js index fa28410fd777..ff070c13722a 100644 --- a/JSTests/microbenchmarks/default-value-destructuring-array.js +++ b/JSTests/microbenchmarks/default-value-destructuring-array.js @@ -1,8 +1,9 @@ +(function() { var o = {}; var a = []; var s = "str"; -for (var i = 0; i < 1e5; ++i) { +for (var i = 0; i < 2e5; ++i) { var [ k00 = 0, k01 = 1, k02 = 2, k03 = 3, k04 = 4, k05 = 5, k06 = 6, k07 = 7, k08 = 8, k09 = 9, k10 = 0, k11 = 1, k12 = 2, k13 = 3, k14 = 4, k15 = 5, k16 = 6, k17 = 7, k18 = 8, k19 = 9, @@ -21,3 +22,4 @@ for (var i = 0; i < 1e5; ++i) { o, a, s, o, a, s, o, a, s, o, a, s, o, a, s, o, o, s, o, a, s, o, o, s, o ]; } +})(); diff --git a/JSTests/microbenchmarks/destructuring-array-literal.js b/JSTests/microbenchmarks/destructuring-array-literal.js deleted file mode 100644 index ef1c45e3fdf1..000000000000 --- a/JSTests/microbenchmarks/destructuring-array-literal.js +++ /dev/null @@ -1,5 +0,0 @@ -for (var i = 0; i < 1e6; ++i) { - var [] = []; - var [a] = [1,]; - var [b, c] = [1, 2,]; -} diff --git a/JSTests/microbenchmarks/destructuring-swap.js b/JSTests/microbenchmarks/destructuring-swap.js index cb865d0f9401..ba53a161b5ac 100644 --- a/JSTests/microbenchmarks/destructuring-swap.js +++ b/JSTests/microbenchmarks/destructuring-swap.js @@ -7,8 +7,8 @@ function foo(a, b) { } var result = 0; -for (var i = 0; i < 1000000; ++i) +for (var i = 0; i < 1e7; ++i) result += foo(42, i); -if (result != 499957500000) +if (result != 49999575000000) throw "Bad result: " + result; diff --git a/JSTests/microbenchmarks/local-get-set-tee.wasm b/JSTests/microbenchmarks/local-get-set-tee.wasm new file mode 100644 index 000000000000..b0b88051dd9b Binary files /dev/null and b/JSTests/microbenchmarks/local-get-set-tee.wasm differ diff --git a/JSTests/stress/dfg-get-private-name-by-id-generic.js b/JSTests/stress/dfg-get-private-name-by-id-generic.js index 86ab84014246..1b7f25a32c9a 100644 --- a/JSTests/stress/dfg-get-private-name-by-id-generic.js +++ b/JSTests/stress/dfg-get-private-name-by-id-generic.js @@ -13,7 +13,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error(`Expected to throw a ${exception.name} but it threw: ${e}`); } diff --git a/JSTests/stress/dfg-get-private-name-by-id-osr-bad-identifier.js b/JSTests/stress/dfg-get-private-name-by-id-osr-bad-identifier.js index a68419c71306..0bd440a40863 100644 --- a/JSTests/stress/dfg-get-private-name-by-id-osr-bad-identifier.js +++ b/JSTests/stress/dfg-get-private-name-by-id-osr-bad-identifier.js @@ -13,7 +13,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error(`Expected to throw a ${exception.name} but it threw: ${e}`); } diff --git a/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-identifier.js b/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-identifier.js index d73cf52ed540..3eb4fe6c6312 100644 --- a/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-identifier.js +++ b/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-identifier.js @@ -13,7 +13,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error(`Expected to throw a ${exception.name} but it threw: ${e}`); } diff --git a/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-structure.js b/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-structure.js index bd11ac009c5b..b4ab615360fe 100644 --- a/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-structure.js +++ b/JSTests/stress/dfg-get-private-name-by-offset-osr-bad-structure.js @@ -13,7 +13,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error(`Expected to throw a ${exception.name} but it threw: ${e}`); } diff --git a/JSTests/stress/dfg-get-private-name-by-val-generic.js b/JSTests/stress/dfg-get-private-name-by-val-generic.js index e67092d9860d..7f0ef44192be 100644 --- a/JSTests/stress/dfg-get-private-name-by-val-generic.js +++ b/JSTests/stress/dfg-get-private-name-by-val-generic.js @@ -13,7 +13,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error(`Expected to throw a ${exception.name} but it threw: ${e}`); } diff --git a/JSTests/stress/dfg-put-private-name-check-barrier-insertion.js b/JSTests/stress/dfg-put-private-name-check-barrier-insertion.js index 1a45f6273590..6b7e02aa85fe 100644 --- a/JSTests/stress/dfg-put-private-name-check-barrier-insertion.js +++ b/JSTests/stress/dfg-put-private-name-check-barrier-insertion.js @@ -12,7 +12,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/dfg-put-private-name-compiled-as-put-by-id-direct.js b/JSTests/stress/dfg-put-private-name-compiled-as-put-by-id-direct.js index 60f9f40e7cbc..87eb1bf8a7f3 100644 --- a/JSTests/stress/dfg-put-private-name-compiled-as-put-by-id-direct.js +++ b/JSTests/stress/dfg-put-private-name-compiled-as-put-by-id-direct.js @@ -8,7 +8,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/dfg-put-private-name-compiled-as-put-private-name-by-id.js b/JSTests/stress/dfg-put-private-name-compiled-as-put-private-name-by-id.js index 60f9f40e7cbc..87eb1bf8a7f3 100644 --- a/JSTests/stress/dfg-put-private-name-compiled-as-put-private-name-by-id.js +++ b/JSTests/stress/dfg-put-private-name-compiled-as-put-private-name-by-id.js @@ -8,7 +8,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/get-private-name-with-primitive.js b/JSTests/stress/get-private-name-with-primitive.js index 80fa9d169872..fd71132bb91d 100644 --- a/JSTests/stress/get-private-name-with-primitive.js +++ b/JSTests/stress/get-private-name-with-primitive.js @@ -6,7 +6,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/invalidate-array-iterator-prototype-next.js b/JSTests/stress/invalidate-array-iterator-prototype-next.js index c2365b7da9ab..ca55064db919 100644 --- a/JSTests/stress/invalidate-array-iterator-prototype-next.js +++ b/JSTests/stress/invalidate-array-iterator-prototype-next.js @@ -7,7 +7,7 @@ try { throw new Error("It should never execute"); } } catch(e) { - if (!e instanceof TypeError) + if (!(e instanceof TypeError)) throw new Error("It should throw a TypeError, but it threw " + e); } diff --git a/JSTests/stress/private-method-and-field-named-constructor.js b/JSTests/stress/private-method-and-field-named-constructor.js index 4ece857097d8..88542c70ff90 100644 --- a/JSTests/stress/private-method-and-field-named-constructor.js +++ b/JSTests/stress/private-method-and-field-named-constructor.js @@ -3,7 +3,7 @@ function assertSyntaxError(code) { eval(code); throw new Error("Should throw SyntaxError, but executed code without throwing"); } catch(e) { - if (!e instanceof SyntaxError) + if (!(e instanceof SyntaxError)) throw new Error("Should throw SyntaxError, but threw " + e); } } diff --git a/JSTests/stress/private-method-check-structure-miss.js b/JSTests/stress/private-method-check-structure-miss.js index 0180fb19a840..43d5f1e1d687 100644 --- a/JSTests/stress/private-method-check-structure-miss.js +++ b/JSTests/stress/private-method-check-structure-miss.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/private-method-invalid-multiple-brand-installation.js b/JSTests/stress/private-method-invalid-multiple-brand-installation.js index 426756723c61..57f1395f40b3 100644 --- a/JSTests/stress/private-method-invalid-multiple-brand-installation.js +++ b/JSTests/stress/private-method-invalid-multiple-brand-installation.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/private-method-invalidate-compiled-with-constant-symbol.js b/JSTests/stress/private-method-invalidate-compiled-with-constant-symbol.js index 980b7097d8a1..eb45ccd8e604 100644 --- a/JSTests/stress/private-method-invalidate-compiled-with-constant-symbol.js +++ b/JSTests/stress/private-method-invalidate-compiled-with-constant-symbol.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/private-method-polymorphic-with-constant-symbol.js b/JSTests/stress/private-method-polymorphic-with-constant-symbol.js index f4f20fdabb09..f828a55a4fa0 100644 --- a/JSTests/stress/private-method-polymorphic-with-constant-symbol.js +++ b/JSTests/stress/private-method-polymorphic-with-constant-symbol.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } @@ -45,7 +45,7 @@ for (; i < 10000; i++) { assert.sameValue(c.access(), 'test'); } -assert.shouldThrow(TypeError, () => { +assert.shouldThrow(ReferenceError, () => { c.access.call({}); }); diff --git a/JSTests/stress/private-method-untyped-use.js b/JSTests/stress/private-method-untyped-use.js index 5767d3e84e41..b25afae2e32d 100644 --- a/JSTests/stress/private-method-untyped-use.js +++ b/JSTests/stress/private-method-untyped-use.js @@ -8,7 +8,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-by-id-set-do-not-add-structure-trasition.js b/JSTests/stress/put-private-name-by-id-set-do-not-add-structure-trasition.js index beed95c2a1f4..82aa162875de 100644 --- a/JSTests/stress/put-private-name-by-id-set-do-not-add-structure-trasition.js +++ b/JSTests/stress/put-private-name-by-id-set-do-not-add-structure-trasition.js @@ -8,7 +8,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-invalid-define.js b/JSTests/stress/put-private-name-invalid-define.js index 97fdb41bf59f..b8d6453fe004 100644 --- a/JSTests/stress/put-private-name-invalid-define.js +++ b/JSTests/stress/put-private-name-invalid-define.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-invalid-store.js b/JSTests/stress/put-private-name-invalid-store.js index 1aef54b9fea1..3de7387bde09 100644 --- a/JSTests/stress/put-private-name-invalid-store.js +++ b/JSTests/stress/put-private-name-invalid-store.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-invalidate-compiled-with-constant-symbol.js b/JSTests/stress/put-private-name-invalidate-compiled-with-constant-symbol.js index f3f6a4dcd18a..bef436a6a2ba 100644 --- a/JSTests/stress/put-private-name-invalidate-compiled-with-constant-symbol.js +++ b/JSTests/stress/put-private-name-invalidate-compiled-with-constant-symbol.js @@ -10,7 +10,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-untyped-use.js b/JSTests/stress/put-private-name-untyped-use.js index 54138c868895..83864957a37e 100644 --- a/JSTests/stress/put-private-name-untyped-use.js +++ b/JSTests/stress/put-private-name-untyped-use.js @@ -8,7 +8,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/put-private-name-with-primitive.js b/JSTests/stress/put-private-name-with-primitive.js index d3488b19782a..030726f33e6c 100644 --- a/JSTests/stress/put-private-name-with-primitive.js +++ b/JSTests/stress/put-private-name-with-primitive.js @@ -6,7 +6,7 @@ let assert = { threwException = false; } catch(e) { threwException = true; - if (!e instanceof exception) + if (!(e instanceof exception)) throw new Error("Expected to throw: " + exception.name + " but it throws: " + e.name); } diff --git a/JSTests/stress/regexp-with-runtime-syntax-errors.js b/JSTests/stress/regexp-with-runtime-syntax-errors.js index 3321a310d6a3..8adcea50ee10 100644 --- a/JSTests/stress/regexp-with-runtime-syntax-errors.js +++ b/JSTests/stress/regexp-with-runtime-syntax-errors.js @@ -5,7 +5,7 @@ function testThrowsSyntaxtError(f) try { f(); } catch (e) { - if (!e instanceof SyntaxError) + if (!(e instanceof SyntaxError)) throw "Expected SynteaxError, but got: " + e; } } diff --git a/JSTests/stress/regress-268411.js b/JSTests/stress/regress-268411.js new file mode 100644 index 000000000000..f0979cc5d5db --- /dev/null +++ b/JSTests/stress/regress-268411.js @@ -0,0 +1,71 @@ +function assert(x) { + if (!x) + throw new Error("Bad assertion!"); +} + +(function superCallReturnPrimitive() { + var iterations = 1e4; + var caughtInner = 0; + var caughtOuter = 0; + + class C extends class {} { + constructor(i) { + super(); + + { + if (typeof i === "number") { + try { + return i; + } catch { + caughtInner++; + return; + } + } + } + } + } + + for (var i = 0; i < iterations; i++) { + try { + new C(i); + } catch (err) { + if (err instanceof TypeError) + caughtOuter++; + } + } + + assert(caughtInner === 0); + assert(caughtOuter === iterations); +})(); + +(function noSuperCallReturnThis() { + var iterations = 1e4; + var caughtInner = 0; + var caughtOuter = 0; + + class C extends class {} { + constructor(i) { + { + if (typeof i === "number") { + try { + return; + } catch { + caughtInner++; + } + } + } + } + } + + for (var i = 0; i < iterations; i++) { + try { + new C(i); + } catch (err) { + if (err instanceof ReferenceError) + caughtOuter++; + } + } + + assert(caughtInner === 0); + assert(caughtOuter === iterations); +})(); diff --git a/JSTests/stress/regress-268864.js b/JSTests/stress/regress-268864.js new file mode 100644 index 000000000000..9ec868ac0c6f --- /dev/null +++ b/JSTests/stress/regress-268864.js @@ -0,0 +1,34 @@ +function assert(x) { + if (!x) + throw new Error("Bad assertion!"); +} + +(function() { + class C extends class {} { + constructor() { + var f = () => { super(); }; + f(); + return; + } + } + + for (var i = 0; i < 5000; i++) { + var c = new C(); + assert(c instanceof C); + } +})(); + +(function() { + class C extends class {} { + constructor() { + var f = () => { super(); }; + f(); + return undefined; + } + } + + for (var i = 0; i < 5000; i++) { + var c = new C(); + assert(typeof c === "object"); + } +})(); diff --git a/JSTests/stress/spread-calling.js b/JSTests/stress/spread-calling.js index 592a8e7bf283..f1db94b172ef 100644 --- a/JSTests/stress/spread-calling.js +++ b/JSTests/stress/spread-calling.js @@ -75,7 +75,7 @@ for (let i = 0; i < 3000; i++) { testFunction(...objectThrow); failed = true; } catch (e) { - if (!e instanceof Error) + if (!(e instanceof Error)) failed = true; } if (failed) diff --git a/JSTests/test262/expectations.yaml b/JSTests/test262/expectations.yaml index 1d3ee323a5a0..b987011de3d9 100644 --- a/JSTests/test262/expectations.yaml +++ b/JSTests/test262/expectations.yaml @@ -1022,18 +1022,6 @@ test/language/expressions/logical-assignment/lgcl-or-assignment-operator-non-sim test/language/expressions/new/non-ctor-err-realm.js: default: 'Test262Error: production including Arguments Expected a TypeError but got a different error constructor with the same name' strict mode: 'Test262Error: production including Arguments Expected a TypeError but got a different error constructor with the same name' -test/language/expressions/postfix-decrement/S11.3.2_A6_T3.js: - default: 'Test262Error: Expected true but got false' - strict mode: 'Test262Error: Expected true but got false' -test/language/expressions/postfix-increment/S11.3.1_A6_T3.js: - default: 'Test262Error: Expected true but got false' - strict mode: 'Test262Error: Expected true but got false' -test/language/expressions/prefix-decrement/S11.4.5_A6_T3.js: - default: 'Test262Error: Expected true but got false' - strict mode: 'Test262Error: Expected true but got false' -test/language/expressions/prefix-increment/S11.4.4_A6_T3.js: - default: 'Test262Error: Expected true but got false' - strict mode: 'Test262Error: Expected true but got false' test/language/expressions/yield/star-iterable.js: default: 'Test262Error: First result `done` flag Expected SameValue(«false», «undefined») to be true' strict mode: 'Test262Error: First result `done` flag Expected SameValue(«false», «undefined») to be true' @@ -1105,30 +1093,6 @@ test/language/statements/class/elements/privatefieldset-evaluation-order-1.js: test/language/statements/class/subclass/default-constructor-spread-override.js: default: 'Test262Error: @@iterator invoked' strict mode: 'Test262Error: @@iterator invoked' -test/language/statements/class/subclass/derived-class-return-override-catch-finally-arrow.js: - default: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." - strict mode: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." -test/language/statements/class/subclass/derived-class-return-override-catch-super-arrow.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/class/subclass/derived-class-return-override-catch-super.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/class/subclass/derived-class-return-override-catch.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/class/subclass/derived-class-return-override-finally-super-arrow.js: - default: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." - strict mode: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." -test/language/statements/class/subclass/derived-class-return-override-for-of-arrow.js: - default: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." - strict mode: "ReferenceError: 'super()' must be called in derived constructor before accessing |this| or returning non-object." -test/language/statements/const/dstr/ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/const/dstr/ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' test/language/statements/for-await-of/head-lhs-async.js: default: "SyntaxError: Unexpected identifier 'of'" strict mode: "SyntaxError: Unexpected identifier 'of'" @@ -1199,35 +1163,5 @@ test/language/statements/for-of/dstr/array-rest-iter-thrw-close.js: test/language/statements/for-of/dstr/array-rest-lref-err.js: default: 'Test262Error: Expected SameValue(«1», «0») to be true' strict mode: 'Test262Error: Expected SameValue(«1», «0») to be true' -test/language/statements/for/dstr/const-ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/for/dstr/const-ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' -test/language/statements/for/dstr/let-ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/for/dstr/let-ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' -test/language/statements/for/dstr/var-ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError but got a ReferenceError' - strict mode: 'Test262Error: Expected a TypeError but got a ReferenceError' -test/language/statements/for/dstr/var-ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' test/language/statements/for/head-lhs-let.js: default: "SyntaxError: Unexpected token ';'. Expected a parameter pattern or a ')' in parameter list." -test/language/statements/let/dstr/ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/let/dstr/ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' -test/language/statements/variable/dstr/ary-init-iter-get-err-array-prototype.js: - default: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' - strict mode: 'Test262Error: Expected a TypeError to be thrown but no exception was thrown at all' -test/language/statements/variable/dstr/ary-ptrn-elem-id-iter-val-array-prototype.js: - default: 'Test262Error: Expected SameValue(«3», «42») to be true' - strict mode: 'Test262Error: Expected SameValue(«3», «42») to be true' diff --git a/JSTests/wasm/gc/br_on_cast.js b/JSTests/wasm/gc/br_on_cast.js index dbf465442c6b..bdab9b37e0f9 100644 --- a/JSTests/wasm/gc/br_on_cast.js +++ b/JSTests/wasm/gc/br_on_cast.js @@ -116,6 +116,55 @@ function testBrOnCast() { assert.eq(m.exports.f1(), 1); assert.eq(m.exports.f2(), 0); } + + { + let m = instantiate(` + (module + (type (struct)) + (type (struct (field (ref null 0)))) + (global (ref 1) (struct.new 1 (struct.new 0))) + (func (export "f") (param) (result structref) + (block $exit (result structref) + (struct.get 1 0 + (br_on_cast_fail $exit structref (ref 1) + (global.get 0))))) + ) + `); + m.exports.f(); + } + + { + let m = instantiate(` + (module + (type (array i32)) + (type (array (ref null 0))) + (global (ref 1) (array.new 1 (ref.null 0) (i32.const 5))) + (func (export "f") (param) (result arrayref) + (block $exit (result arrayref) + (array.get 1 + (br_on_cast_fail $exit arrayref (ref 1) + (global.get 0)) + (i32.const 0)))) + ) + `); + m.exports.f(); + } + + { + let m = instantiate(` + (module + (type (struct)) + (type (struct (field (ref null 0)))) + (global (ref 1) (struct.new 1 (struct.new 0))) + (func (export "f") (param) (result structref) + (block $exit (result structref) + (struct.get 1 0 + (br_on_cast $exit (ref 1) (ref 1) + (global.get 0))))) + ) + `); + m.exports.f(); + } } testBrOnCastValidation(); diff --git a/LayoutTests/TestExpectations b/LayoutTests/TestExpectations index f24f022607d6..24b86fcb60f4 100644 --- a/LayoutTests/TestExpectations +++ b/LayoutTests/TestExpectations @@ -1072,11 +1072,6 @@ imported/w3c/web-platform-tests/css/css-ui/caret-color-020.html [ Skip ] # Dump console messages to stderr for all the imported Content Security Policy tests to avoid flakiness. imported/w3c/web-platform-tests/content-security-policy [ DumpJSConsoleLogInStdErr ] -# field-sizing is not supported -imported/w3c/web-platform-tests/html/rendering/widgets/field-sizing-input-number.html [ Skip ] -imported/w3c/web-platform-tests/html/rendering/widgets/field-sizing-input-text.html [ Skip ] -imported/w3c/web-platform-tests/html/rendering/widgets/field-sizing-textarea.html [ Skip ] - # FIXME: Skip Content Security Policy tests that are dumping the render tree instead of text: imported/w3c/web-platform-tests/content-security-policy/svg/scripted.svg [ Skip ] imported/w3c/web-platform-tests/content-security-policy/svg/including.sub.svg [ Skip ] @@ -2077,6 +2072,7 @@ webkit.org/b/126420 svg/custom/resource-invalidation-crash.svg [ Failure Pass ] webkit.org/b/139639 [ Debug ] cssom/non-subpixel-scroll-top-left-values.html [ Slow ] [ Debug ] fast/workers/worker-cloneport.html [ Slow ] +[ Debug ] fast/webgpu/present-without-compute-pipeline.html [ Slow ] # Imported W3C HTML/DOM ref tests that are failing. imported/w3c/web-platform-tests/html/dom/elements/global-attributes/dir_auto-textarea-script-N-between-Rs.html [ ImageOnlyFailure ] @@ -3300,7 +3296,6 @@ imported/w3c/web-platform-tests/css/css-pseudo/highlight-currentcolor-painting-t imported/w3c/web-platform-tests/css/css-pseudo/highlight-currentcolor-painting-text-shadow-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-pseudo/highlight-currentcolor-root-explicit-default-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-pseudo/highlight-currentcolor-root-implicit-default-001.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-pseudo/highlight-currentcolor-root-implicit-default-002.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-pseudo/highlight-painting-soft-hyphens-001.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-pseudo/highlight-paired-cascade-003.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-pseudo/highlight-paired-cascade-004.html [ ImageOnlyFailure ] @@ -3766,9 +3761,6 @@ webkit.org/b/200209 imported/w3c/web-platform-tests/css/css-images/multiple-posi # wpt css-transitions and css-animations failures and flakiness webkit.org/b/225407 imported/w3c/web-platform-tests/css/css-animations/nested-scale-animations.html [ ImageOnlyFailure ] webkit.org/b/225407 imported/w3c/web-platform-tests/css/css-animations/transform-animation-under-large-scale.html [ ImageOnlyFailure ] -webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-001.html [ Pass Failure ] -webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-001.html [ Pass Failure ] -webkit.org/b/203305 imported/w3c/web-platform-tests/css/css-transitions/properties-value-inherit-002.html [ Pass Failure ] webkit.org/b/203356 imported/w3c/web-platform-tests/css/css-transitions/properties-value-003.html [ Failure Pass Timeout ] # wpt css-values failures @@ -5467,14 +5459,18 @@ webkit.org/b/261849 imported/w3c/web-platform-tests/css/css-scroll-anchoring/heu webkit.org/b/261849 imported/w3c/web-platform-tests/css/css-scroll-anchoring/zero-scroll-offset.html [ Skip ] webkit.org/b/261849 imported/w3c/web-platform-tests/css/css-scroll-anchoring/start-edge-in-block-layout-direction.html [ Skip ] -# Trusted Types aren't implemented yet +# Trusted Types aren't fully implemented yet webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-event-handlers.html [ Skip ] webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.html [ Skip ] webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-eval.html [ Skip ] -webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-importScripts.html [ Skip ] - -# require-trusted-types-for CSP directive isn't implemented yet -webkit.org/b/267685 imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-reporting.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-navigation.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-svg-script.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/require-trusted-types-for-report-only.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-no-unsafe-eval.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/trusted-types-eval-reporting-report-only.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/DOMWindowTimers-setTimeout-setInterval.html [ Skip ] +webkit.org/b/266630 imported/w3c/web-platform-tests/trusted-types/WorkerGlobalScope-importScripts.html [ Pass Failure ] # These tests are image failures imported/w3c/web-platform-tests/css/css-scroll-anchoring/vertical-rl-viewport-size-change-000.html [ Skip ] @@ -5506,11 +5502,6 @@ imported/w3c/web-platform-tests/web-locks/bfcache webkit.org/b/239533 [ Debug ] editing/inserting/insert-list-user-select-none-crash.html [ Skip ] -# Mismatching line wrapping when -webkit-hyphen is auto. -webkit.org/b/239550 fast/text/simple-line-hyphens-with-text-align.html [ ImageOnlyFailure ] -webkit.org/b/239550 fast/text/simple-line-layout-hyphen-limit-after.html [ ImageOnlyFailure ] -webkit.org/b/239550 fast/text/simple-line-layout-hyphen-limit-before.html [ ImageOnlyFailure ] - # Incorrect expectation (test leads to timeout) webkit.org/b/246584 fast/text/scroll-text-overflow-ellipsis.html [ Skip ] @@ -6870,7 +6861,8 @@ imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/entries- imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/opaque-origin.html [ Pass ] imported/w3c/web-platform-tests/navigation-api/navigation-history-entry/opaque-origin-data-url.html [ Pass ] imported/w3c/web-platform-tests/navigation-api/navigation-methods/navigate-from-initial-about-blank-gc.html [ Pass ] -imported/w3c/web-platform-tests/navigation-api/ordering-and-transition/transition-cross-document.html [ Pass ] +imported/w3c/web-platform-tests/navigation-api/navigation-methods/return-value/back-forward-out-of-bounds.html [ Pass ] +imported/w3c/web-platform-tests/navigation-api/ordering-and-transition/transition-cross-document.html [ Skip ] imported/w3c/web-platform-tests/navigation-api/scroll-behavior/scroll-on-synthetic-event.html [ Pass ] imported/w3c/web-platform-tests/navigation-api/scroll-behavior/scroll-without-intercept.html [ Pass ] imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/same-document-away-and-back-location-api.html [ Skip ] @@ -6880,9 +6872,6 @@ imported/w3c/web-platform-tests/navigation-api/updateCurrentEntry-method/locatio # -- View Transitions -- # # Reftest failures: -imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-outgoing.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/block-with-overflowing-text.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/capture-with-offscreen-child-translated.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/capture-with-visibility-mixed-descendants.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/content-with-child-with-transparent-background.html [ ImageOnlyFailure ] @@ -6908,14 +6897,12 @@ imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-a imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-offscreen-old.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-partially-onscreen-new.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/new-content-captures-clip-path.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-captures-spans.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-intrinsic-aspect-ratio.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-scaling.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-with-object-view-box.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-new-image.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-old-image.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/old-content-captures-clip-path.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-captures-different-size.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-intrinsic-aspect-ratio.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-with-overflow-zoomed.html [ ImageOnlyFailure ] @@ -6935,7 +6922,6 @@ imported/w3c/web-platform-tests/css/css-view-transitions/content-visibility-auto imported/w3c/web-platform-tests/css/css-view-transitions/content-with-transform-new-image.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/dialog-in-top-layer-during-transition-old.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/element-with-overflow.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/exit-transition-with-anonymous-layout-object.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/far-away-capture.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/fractional-box-with-overflow-children-new.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-below-and-on-top-of-viewport-partially-onscreen-new.html [ ImageOnlyFailure ] @@ -6951,17 +6937,13 @@ imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-right-o imported/w3c/web-platform-tests/css/css-view-transitions/new-content-captures-different-size.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-captures-root.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-is-inline.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/set-current-time.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-object-fit-fill.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-with-overflow-zoomed.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/old-content-captures-opacity.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-captures-root.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/old-content-is-inline.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-object-fit-fill.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/old-content-with-object-view-box.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/snapshot-containing-block-static.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/fractional-translation-from-position.html [ ImageOnlyFailure ] -imported/w3c/web-platform-tests/css/css-view-transitions/fractional-translation-from-transform.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/named-element-with-fix-pos-child-old.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/rotated-cat-off-top-edge.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/scroller-child-abspos.html [ ImageOnlyFailure ] @@ -6969,6 +6951,18 @@ imported/w3c/web-platform-tests/css/css-view-transitions/scroller-child.html [ I imported/w3c/web-platform-tests/css/css-view-transitions/scroller.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/new-content-element-writing-modes.html [ ImageOnlyFailure ] imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-below-viewport-partially-onscreen-old.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-entry.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group.html [ ImageOnlyFailure ] +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair.html [ ImageOnlyFailure ] + # Timeouts imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition.sub.html [ Skip ] @@ -6976,6 +6970,7 @@ imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-get-computed-sty imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-computed-style-stays-in-sync-with-new-element.html [ Skip ] imported/w3c/web-platform-tests/css/css-view-transitions/fragmented-during-transition-skips.html [ Skip ] imported/w3c/web-platform-tests/css/css-view-transitions/root-element-display-none-during-transition-crash.html [ Skip ] +imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition-destroyed-document-crash.html [ Skip ] # Flakes imported/w3c/web-platform-tests/css/css-view-transitions/synchronous-callback-skipped-before-run.html [ Failure Pass ] diff --git a/LayoutTests/accessibility-isolated-tree/TestExpectations b/LayoutTests/accessibility-isolated-tree/TestExpectations index 797f50c3c593..2e7fb9bd6f6f 100644 --- a/LayoutTests/accessibility-isolated-tree/TestExpectations +++ b/LayoutTests/accessibility-isolated-tree/TestExpectations @@ -5,7 +5,6 @@ accessibility/mac/resolved-text-editing.html [ Crash Pass ] # Timeouts accessibility/aria-combobox-no-owns.html [ Timeout ] -accessibility/frame-disconnect-textmarker-cache-crash.html [ Timeout ] # Fails due to children() for an owned objects' parent still containing that object. accessibility/element-reflection-ariaowns.html [ Timeout ] @@ -40,5 +39,8 @@ accessibility/menuitem-is-selected.html [ Failure ] accessibility/aria-owns-hierarchy-remap.html [ Failure ] accessibility/element-reflection-ariaactivedescendant.html [ Failure ] +# Used to be a timeout until https://github.com/WebKit/WebKit/commit/c69e4c0caaf5368db791652eee3a057ed2751144, now is a text failure. +accessibility/frame-disconnect-textmarker-cache-crash.html [ Failure ] + # When ENABLE(AX_THREAD_TEXT_APIS) is on by default, un-comment this. # accessibility/ax-thread-text-apis [ Pass ] diff --git a/LayoutTests/accessibility/ARIA-reflection-expected.txt b/LayoutTests/accessibility/ARIA-reflection-expected.txt index 3f182c3a167c..94d06cce9936 100644 --- a/LayoutTests/accessibility/ARIA-reflection-expected.txt +++ b/LayoutTests/accessibility/ARIA-reflection-expected.txt @@ -32,6 +32,20 @@ PASS element.getAttribute(currentAttribute) is dataAttribute element.setAttribute("aria-autocomplete", otherData); PASS element[currentProperty] is otherDataProperty +Test ariaBrailleLabel < - > aria-braillelabel +PASS element[currentProperty] is null +PASS element.getAttribute(currentAttribute) is null +PASS element.getAttribute(currentAttribute) is dataAttribute +element.setAttribute("aria-braillelabel", otherData); +PASS element[currentProperty] is otherDataProperty + +Test ariaBrailleRoleDescription < - > aria-brailleroledescription +PASS element[currentProperty] is null +PASS element.getAttribute(currentAttribute) is null +PASS element.getAttribute(currentAttribute) is dataAttribute +element.setAttribute("aria-brailleroledescription", otherData); +PASS element[currentProperty] is otherDataProperty + Test ariaBusy < - > aria-busy PASS element[currentProperty] is null PASS element.getAttribute(currentAttribute) is null @@ -341,7 +355,7 @@ element.setAttribute("aria-valuetext", otherData); PASS element[currentProperty] is otherDataProperty -PASS count is 47 +PASS count is 49 PASS successfullyParsed is true TEST COMPLETE diff --git a/LayoutTests/accessibility/ARIA-reflection.html b/LayoutTests/accessibility/ARIA-reflection.html index 660a1c3c8b9b..c2d26b6fc32b 100644 --- a/LayoutTests/accessibility/ARIA-reflection.html +++ b/LayoutTests/accessibility/ARIA-reflection.html @@ -129,7 +129,7 @@ } debug("\n"); - shouldBe("count", "47"); + shouldBe("count", "49"); } else { testFailed("Could not load accessibility controller"); diff --git a/LayoutTests/accessibility/aria-braillelabel-expected.txt b/LayoutTests/accessibility/aria-braillelabel-expected.txt new file mode 100644 index 000000000000..71354c8212fb --- /dev/null +++ b/LayoutTests/accessibility/aria-braillelabel-expected.txt @@ -0,0 +1,9 @@ +This test ensures aria-braillelabel works. + +PASS: accessibilityController.accessibleElementById('button').brailleLabel === 'AXBrailleLabel: ***' +PASS: accessibilityController.accessibleElementById('button').brailleLabel === 'AXBrailleLabel: *' + +PASS successfullyParsed is true + +TEST COMPLETE +Three stars diff --git a/LayoutTests/accessibility/aria-braillelabel.html b/LayoutTests/accessibility/aria-braillelabel.html new file mode 100644 index 000000000000..a4213804aa90 --- /dev/null +++ b/LayoutTests/accessibility/aria-braillelabel.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/LayoutTests/accessibility/aria-brailleroledescription-expected.txt b/LayoutTests/accessibility/aria-brailleroledescription-expected.txt new file mode 100644 index 000000000000..009a676994e5 --- /dev/null +++ b/LayoutTests/accessibility/aria-brailleroledescription-expected.txt @@ -0,0 +1,9 @@ +This test ensures aria-brailleroledescription works. + +PASS: accessibilityController.accessibleElementById('button').brailleRoleDescription === 'AXBrailleRoleDescription: btn' +PASS: accessibilityController.accessibleElementById('button').brailleRoleDescription === 'AXBrailleRoleDescription: bigbtn' + +PASS successfullyParsed is true + +TEST COMPLETE +Press diff --git a/LayoutTests/accessibility/aria-brailleroledescription.html b/LayoutTests/accessibility/aria-brailleroledescription.html new file mode 100644 index 000000000000..54b44da5850f --- /dev/null +++ b/LayoutTests/accessibility/aria-brailleroledescription.html @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + diff --git a/LayoutTests/accessibility/datetime/input-datetime-local-label-value-expected.txt b/LayoutTests/accessibility/datetime/input-datetime-local-label-value-expected.txt new file mode 100644 index 000000000000..0023283e3221 --- /dev/null +++ b/LayoutTests/accessibility/datetime/input-datetime-local-label-value-expected.txt @@ -0,0 +1,27 @@ +This tests input type=datetime-local label and value properties. + +datetime1: +PASS: datetime.title === 'AXTitle: Meeting time:' +AXValue: Oct 21, 2024 at 3:45 PM +AXDateValue: 2024-10-21 15:45:59 +0000 + +datetime2: +PASS: datetime.title === 'AXTitle: Meeting time:' +AXValue: Oct 21, 2024 at 3:45 PM +AXDateValue: 2024-10-21 15:45:59 +0000 + +datetime3: +PASS: datetime.title === 'AXTitle: Meeting time:' +AXValue: Oct 21, 2024 at 3:45 PM +AXDateValue: 2024-10-21 15:45:59 +0000 + +datetime4: +PASS: datetime.title === 'AXTitle: ' +AXValue: Oct 21, 2024 at 3:45 PM +AXDateValue: 2024-10-21 15:45:59 +0000 + + +PASS successfullyParsed is true + +TEST COMPLETE + Meeting time: Meeting time: diff --git a/LayoutTests/accessibility/datetime/input-datetime-local-label-value.html b/LayoutTests/accessibility/datetime/input-datetime-local-label-value.html new file mode 100644 index 000000000000..6d7f28ee9a99 --- /dev/null +++ b/LayoutTests/accessibility/datetime/input-datetime-local-label-value.html @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/LayoutTests/accessibility/dynamic-aria-hidden-cell-expected.txt b/LayoutTests/accessibility/dynamic-aria-hidden-cell-expected.txt new file mode 100644 index 000000000000..4aaa93ddb5fb --- /dev/null +++ b/LayoutTests/accessibility/dynamic-aria-hidden-cell-expected.txt @@ -0,0 +1,29 @@ +This test ensures we report the right information for tables with presentational cells. + +PASS: table.rowCount === 2 +PASS: table.columnCount === 2 +PASS: accessibilityController.accessibleElementById('th0-1').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-1').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-2').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-2').columnIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-1').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-1').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('td1-2').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-2').columnIndexRange() === '{1, 1}' +PASS: table.columnCount === 3 +PASS: accessibilityController.accessibleElementById('th0-0-hidden').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-0-hidden').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-1').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th0-1').columnIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-0-hidden').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-0-hidden').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('td1-1').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-1').columnIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-2').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1-2').columnIndexRange() === '{2, 1}' + +PASS successfullyParsed is true + +TEST COMPLETE +Header one Header two Header three +A B C diff --git a/LayoutTests/accessibility/dynamic-aria-hidden-cell.html b/LayoutTests/accessibility/dynamic-aria-hidden-cell.html new file mode 100644 index 000000000000..edbe56d36a8f --- /dev/null +++ b/LayoutTests/accessibility/dynamic-aria-hidden-cell.html @@ -0,0 +1,75 @@ + + + + + + + + + + + + + + + + + + + + + + + +
Header twoHeader three
BC
+ + + + + diff --git a/LayoutTests/accessibility/dynamic-table-row-column-indices-expected.txt b/LayoutTests/accessibility/dynamic-table-row-column-indices-expected.txt new file mode 100644 index 000000000000..7a7f9cc3ebbc --- /dev/null +++ b/LayoutTests/accessibility/dynamic-table-row-column-indices-expected.txt @@ -0,0 +1,30 @@ +This tests that table row and column indicies update correctly after row/column insertions. + +Row Index [0]: 0 +Row Index [1]: 1 +Column Index [0]: 0 +Column Index [1]: 1 + +Adding row at index 1: + +Row Index [0]: 0 +Row Index [1]: 1 +Row Index [2]: 2 +Column Index [0]: 0 +Column Index [1]: 1 + +Adding cell to row 0: + +Row Index [0]: 0 +Row Index [1]: 1 +Row Index [2]: 2 +Column Index [0]: 0 +Column Index [1]: 1 +Column Index [2]: 2 + +PASS successfullyParsed is true + +TEST COMPLETE +Cell 1 Cell 2 Cell 7 +Cell 5 Cell 6 +Cell 3 Cell 4 diff --git a/LayoutTests/accessibility/dynamic-table-row-column-indices.html b/LayoutTests/accessibility/dynamic-table-row-column-indices.html new file mode 100644 index 000000000000..3e01cee061be --- /dev/null +++ b/LayoutTests/accessibility/dynamic-table-row-column-indices.html @@ -0,0 +1,66 @@ + + + + + + + + + + + + + + + + + +
Cell 1Cell 2
Cell 3Cell 4
+ + + + + diff --git a/LayoutTests/accessibility/dynamic-text-expected.txt b/LayoutTests/accessibility/dynamic-text-expected.txt new file mode 100644 index 000000000000..c19e0f603438 --- /dev/null +++ b/LayoutTests/accessibility/dynamic-text-expected.txt @@ -0,0 +1,36 @@ +This test ensures we update the accessibility tree when static text changes. + +PASS: webarea.childAtIndex(0).role.toLowerCase().includes('text') === true +AXValue: Initial static text + +#button text alternatives: + AXTitle: Initial button text + AXDescription: + AXHelp: + +PASS: accessibilityController.accessibleElementById('label').stringValue.includes('Initial label text') === true +#checkbox text alternatives: + AXTitle: Initial label text + AXDescription: + AXHelp: + +PASS: accessibilityController.accessibleElementById('textarea').stringValue.includes('Initial textarea text') === true + +#button text alternatives: + AXTitle: Changed button text + AXDescription: + AXHelp: + +PASS: webarea.childAtIndex(0).stringValue.includes('Changed static text') === true +PASS: accessibilityController.accessibleElementById('label').stringValue.includes('Changed label text') === true +#checkbox text alternatives: + AXTitle: Changed label text + AXDescription: + AXHelp: + +PASS: accessibilityController.accessibleElementById('textarea').stringValue.includes('Changed textarea text') === true + +PASS successfullyParsed is true + +TEST COMPLETE +Changed static textChanged button text Changed label text diff --git a/LayoutTests/accessibility/dynamic-text.html b/LayoutTests/accessibility/dynamic-text.html new file mode 100644 index 000000000000..0e13ecd294fb --- /dev/null +++ b/LayoutTests/accessibility/dynamic-text.html @@ -0,0 +1,77 @@ + + + + + + + +Initial static text + + + + + + + + + diff --git a/LayoutTests/accessibility/focus-new-element.html b/LayoutTests/accessibility/focus-new-element.html new file mode 100644 index 000000000000..5609e9dabe14 --- /dev/null +++ b/LayoutTests/accessibility/focus-new-element.html @@ -0,0 +1,53 @@ + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout-expected.txt b/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout-expected.txt new file mode 100644 index 000000000000..ba3bc22312c1 --- /dev/null +++ b/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout-expected.txt @@ -0,0 +1,45 @@ +This test ensures we don't make incorrect updates to the accessibility tree when an iframe has dirty layout. + +Dumping initial AX tree search traversal. + +{AXRole: AXScrollArea} + +{AXRole: AXWebArea} + +{#main AXRole: AXGroup} + + +Dumping new AX tree search traversal. + +{AXRole: AXScrollArea} + +{AXRole: AXWebArea} + +{#main AXRole: AXGroup} + +{AXRole: AXTable} + +{AXRole: AXRow} + +{AXRole: AXCell} + +{AXRole: AXStaticText AXValue: Cell 1} + +{AXRole: AXCell} + +{AXRole: AXStaticText AXValue: Cell 2} + +{AXRole: AXRow} + +{AXRole: AXCell} + +{AXRole: AXStaticText AXValue: Cell 3} + +{AXRole: AXCell} + +{AXRole: AXStaticText AXValue: Cell 4} + +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout.html b/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout.html new file mode 100644 index 000000000000..67c966d0a34d --- /dev/null +++ b/LayoutTests/accessibility/iframe-tree-update-with-dirty-layout.html @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + diff --git a/LayoutTests/accessibility/mac/alt-for-css-content-expected.txt b/LayoutTests/accessibility/mac/alt-for-css-content-expected.txt index 8b5fd64705af..fca8d163fe6b 100644 --- a/LayoutTests/accessibility/mac/alt-for-css-content-expected.txt +++ b/LayoutTests/accessibility/mac/alt-for-css-content-expected.txt @@ -39,6 +39,18 @@ AXDescription: AXTitle: AXValue: ALTERNATIVE CONTENT TEST6 +Test7 - alt on input element ::before +AXRole: AXRadioButton +AXDescription: +AXTitle: test7 before alt +AXValue: 0 + +Test8 - alt on input element ::before that is the empty string +AXRole: AXRadioButton +AXDescription: +AXTitle: +AXValue: 0 + alt accessed through Javascript: "ALTERNATIVE CONTENT TEST2" PASS successfullyParsed is true diff --git a/LayoutTests/accessibility/mac/alt-for-css-content.html b/LayoutTests/accessibility/mac/alt-for-css-content.html index cda62cec94be..37605ce37896 100644 --- a/LayoutTests/accessibility/mac/alt-for-css-content.html +++ b/LayoutTests/accessibility/mac/alt-for-css-content.html @@ -37,6 +37,20 @@ [aria-expanded="test6"]::before { content: "\25BC" / attr(test6); } + +#test7 { + appearance:none; +} +#test7::before { + content: "test7 before" / "test7 before alt"; +} + +#test8 { + appearance:none; +} +#test8::before { + content: "test8 before" / ""; +}
@@ -46,6 +60,8 @@
test4
test5
test6
+ +

@@ -90,6 +106,12 @@ debug("Test6 - alt on text content that uses the attr() function."); outputElement(accessibilityController.accessibleElementById("test6").childAtIndex(0)); + debug("Test7 - alt on input element ::before"); + outputElement(accessibilityController.accessibleElementById("test7")); + + debug("Test8 - alt on input element ::before that is the empty string"); + outputElement(accessibilityController.accessibleElementById("test8")); + debug("alt accessed through Javascript: " + getComputedStyle(document.getElementById("test2"), ':after').content.split(" / ")[1]); document.getElementById("content").style.visibility = "hidden"; diff --git a/LayoutTests/accessibility/mac/custom-text-editor-expected.txt b/LayoutTests/accessibility/mac/custom-text-editor-expected.txt new file mode 100644 index 000000000000..ad3dcb250733 --- /dev/null +++ b/LayoutTests/accessibility/mac/custom-text-editor-expected.txt @@ -0,0 +1,24 @@ +Tests that we infer intents when JS is used to move the cursor in a text editor; this practice is common in online code editors. + +PASS: addedNotification === true +Move to 0 +move discontiguous +Move to 1 +move next character +Move to 2 +move next character +Move to 3 +move next character +Move to 4 +move next character +Move to 6 +move next character +Move to 8 +move discontiguous +Move to 9 +move next character + +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/accessibility/mac/custom-text-editor.html b/LayoutTests/accessibility/mac/custom-text-editor.html new file mode 100644 index 000000000000..5220d07401fd --- /dev/null +++ b/LayoutTests/accessibility/mac/custom-text-editor.html @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + diff --git a/LayoutTests/accessibility/mac/selected-text-range-unconnected-object.html b/LayoutTests/accessibility/mac/selected-text-range-unconnected-object.html new file mode 100644 index 000000000000..193e43d6a787 --- /dev/null +++ b/LayoutTests/accessibility/mac/selected-text-range-unconnected-object.html @@ -0,0 +1,61 @@ + + + + + + + + + + \ No newline at end of file diff --git a/LayoutTests/accessibility/table-insert-second-thead-expected.txt b/LayoutTests/accessibility/table-insert-second-thead-expected.txt new file mode 100644 index 000000000000..0bc4a6869afd --- /dev/null +++ b/LayoutTests/accessibility/table-insert-second-thead-expected.txt @@ -0,0 +1,31 @@ +This tests that the attributes of table rows and cells are correct when there are two THeads. + +PASS: table.rowCount === 2 +PASS: table.columnCount === 2 + +Adding THead: + +PASS: table.rowCount === 3 +PASS: table.columnCount === 2 +PASS: accessibilityController.accessibleElementById('tr1').indexInTable() === 0 +PASS: accessibilityController.accessibleElementById('tr2').indexInTable() === 2 +PASS: accessibilityController.accessibleElementById('tr3').indexInTable() === 1 +PASS: accessibilityController.accessibleElementById('th1').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th1').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th2').rowIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th2').columnIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('th3').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('th3').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('th4').rowIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('th4').columnIndexRange() === '{1, 1}' +PASS: accessibilityController.accessibleElementById('td1').rowIndexRange() === '{2, 1}' +PASS: accessibilityController.accessibleElementById('td1').columnIndexRange() === '{0, 1}' +PASS: accessibilityController.accessibleElementById('td2').rowIndexRange() === '{2, 1}' +PASS: accessibilityController.accessibleElementById('td2').columnIndexRange() === '{1, 1}' + +PASS successfullyParsed is true + +TEST COMPLETE +Header 1 Header 2 +Header 3 Header 4 +Cell 1 Cell 2 diff --git a/LayoutTests/accessibility/table-insert-second-thead.html b/LayoutTests/accessibility/table-insert-second-thead.html new file mode 100644 index 000000000000..b762a9b9c91f --- /dev/null +++ b/LayoutTests/accessibility/table-insert-second-thead.html @@ -0,0 +1,71 @@ + + + + + + + + + + + + + + + + + + + + + +
Header 1Header 2
Cell 1Cell 2
+ + + + + diff --git a/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction-expected.txt b/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction-expected.txt new file mode 100644 index 000000000000..8bb25dc80fee --- /dev/null +++ b/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction-expected.txt @@ -0,0 +1,3 @@ +This test passes if it does not timeout. + + diff --git a/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction.html b/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction.html new file mode 100644 index 000000000000..335377feebff --- /dev/null +++ b/LayoutTests/compositing/plugins/pdf/pdf-plugin-hang-during-destruction.html @@ -0,0 +1,17 @@ + +

This test passes if it does not timeout.

diff --git a/LayoutTests/css1/box_properties/acid_test.html b/LayoutTests/css1/box_properties/acid_test.html deleted file mode 100644 index 22dfeed7b419..000000000000 --- a/LayoutTests/css1/box_properties/acid_test.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - display/box/float/clear test - - - - -
-
- toggle -
-
- -
-
- bar maids, -
-
-

- sing to me, erbarme dich -

-
-
-

- This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1 agents should be able to render the document elements above this paragraph indistinguishably (to the pixel) from this - reference rendering, - (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the parent page. -

- - diff --git a/LayoutTests/css2.1/20110323/c543-txt-decor-000-expected.txt b/LayoutTests/css2.1/20110323/c543-txt-decor-000-expected.txt index 684e4385d245..1bdc4d51f17c 100644 --- a/LayoutTests/css2.1/20110323/c543-txt-decor-000-expected.txt +++ b/LayoutTests/css2.1/20110323/c543-txt-decor-000-expected.txt @@ -18,7 +18,7 @@ layer at (0,0) size 800x432 RenderBlock {P} at (0,136) size 784x18 [color=#000080] RenderText {#text} at (0,0) size 231x18 text run at (0,0) width 231: "The sentence should be underlined. " - RenderInline {B} at (0,0) size 241x18 + RenderInline {B} at (230,0) size 241x18 RenderText {#text} at (230,0) size 241x18 text run at (230,0) width 241: "This sentence should be underlined" RenderText {#text} at (470,0) size 5x18 @@ -39,12 +39,12 @@ layer at (0,0) size 800x432 RenderBlock {P} at (0,273) size 784x39 [color=#000080] RenderText {#text} at (0,3) size 204x18 text run at (0,3) width 204: "The text of this sentence and all" - RenderInline {SPAN} at (0,0) size 5x18 + RenderInline {SPAN} at (203,3) size 5x18 RenderText {#text} at (203,3) size 5x18 text run at (203,3) width 5: " " RenderText {#text} at (207,3) size 16x18 text run at (207,3) width 16: "its" - RenderInline {SPAN} at (0,0) size 5x18 + RenderInline {SPAN} at (222,3) size 5x18 RenderText {#text} at (222,3) size 5x18 text run at (222,3) width 5: " " RenderText {#text} at (226,3) size 315x18 @@ -53,11 +53,11 @@ layer at (0,0) size 800x432 RenderText {#text} at (557,3) size 5x18 text run at (557,3) width 5: " " RenderImage {IMG} at (561,0) size 18x17 [color=#FF0000] - RenderText {#text} at (578,3) size 769x36 + RenderText {#text} at (0,3) size 769x36 text run at (578,3) width 5: " " text run at (582,3) width 187: "should be underlined, but the" text run at (0,21) width 172: "images themselves should " - RenderInline {EM} at (0,0) size 21x18 + RenderInline {EM} at (171,21) size 21x18 RenderText {#text} at (171,21) size 21x18 text run at (171,21) width 21: "not" RenderText {#text} at (191,21) size 97x18 @@ -66,16 +66,16 @@ layer at (0,0) size 800x432 RenderText {#text} at (0,0) size 577x18 text run at (0,0) width 486: "This sentence should have a long blue underline including between the two " text run at (485,0) width 92: "arrows here\x{2192}" - RenderInline {SPAN} at (0,0) size 156x18 [color=#FFFFFF] + RenderInline {SPAN} at (576,0) size 156x18 [color=#FFFFFF] RenderText {#text} at (576,0) size 156x18 text run at (576,0) width 156: " FAIL FAIL FAIL FAIL " - RenderText {#text} at (731,0) size 771x37 + RenderText {#text} at (0,0) size 771x37 text run at (731,0) width 40: "\x{2190}and" text run at (0,19) width 32: "here." RenderBlock {P} at (0,381) size 784x19 [color=#000080] RenderText {#text} at (0,0) size 348x18 text run at (0,0) width 348: "There should be a long blue underline between here\x{2192}" - RenderInline {SPAN} at (0,0) size 89x18 + RenderInline {SPAN} at (347,0) size 89x18 RenderText {#text} at (347,0) size 89x18 text run at (347,0) width 89: " " RenderText {#text} at (435,0) size 75x18 diff --git a/LayoutTests/css2.1/t1205-c566-list-stl-01-c-g-expected.txt b/LayoutTests/css2.1/t1205-c566-list-stl-01-c-g-expected.txt index 773a08488f9b..aef40059f327 100644 --- a/LayoutTests/css2.1/t1205-c566-list-stl-01-c-g-expected.txt +++ b/LayoutTests/css2.1/t1205-c566-list-stl-01-c-g-expected.txt @@ -9,6 +9,6 @@ layer at (0,0) size 800x127 RenderImage {IMG} at (15,0) size 15x15 RenderText {#text} at (30,1) size 4x17 text run at (30,1) width 4: " " - RenderInline {SPAN} at (0,0) size 356x17 [color=#000000] + RenderInline {SPAN} at (34,1) size 356x17 [color=#000000] RenderText {#text} at (34,1) size 356x17 text run at (34,1) width 356: "\x{21E6} There should be a green square to the left, and no red." diff --git a/LayoutTests/css2.1/t1508-c527-font-00-b-expected.txt b/LayoutTests/css2.1/t1508-c527-font-00-b-expected.txt index 91dceabe03bd..6aa8a4ded026 100644 --- a/LayoutTests/css2.1/t1508-c527-font-00-b-expected.txt +++ b/LayoutTests/css2.1/t1508-c527-font-00-b-expected.txt @@ -7,7 +7,7 @@ layer at (0,0) size 800x101 RenderText {#text} at (0,0) size 617x15 text run at (0,0) width 617: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. " RenderInline {SPAN} at (0,0) size 781x75 [color=#C0C0C0] - RenderText {#text} at (616,0) size 781x75 + RenderText {#text} at (0,0) size 781x75 text run at (616,0) width 165: "dummy text dummy text dummy" text run at (0,15) width 195: "text dummy text dummy text dummy " text run at (194,15) width 390: "text dummy text dummy text dummy text dummy text dummy text dummy " diff --git a/LayoutTests/css2.1/t1508-c527-font-03-b-expected.txt b/LayoutTests/css2.1/t1508-c527-font-03-b-expected.txt index b458d7614691..95f1c7523354 100644 --- a/LayoutTests/css2.1/t1508-c527-font-03-b-expected.txt +++ b/LayoutTests/css2.1/t1508-c527-font-03-b-expected.txt @@ -6,8 +6,8 @@ layer at (0,0) size 800x156 RenderBlock {P} at (0,0) size 784x130 RenderText {#text} at (0,5) size 347x15 text run at (0,5) width 347: "This text should be small and cursive, with double line spacing. " - RenderInline {SPAN} at (0,0) size 752x119 [color=#C0C0C0] - RenderText {#text} at (347,5) size 752x119 + RenderInline {SPAN} at (0,5) size 752x119 [color=#C0C0C0] + RenderText {#text} at (0,5) size 752x119 text run at (347,5) width 384: "dummy text dummy text dummy text dummy text dummy text dummy " text run at (731,5) width 21: "text" text run at (0,31) width 384: "dummy text dummy text dummy text dummy text dummy text dummy " diff --git a/LayoutTests/css2.1/t1508-c527-font-06-b-expected.txt b/LayoutTests/css2.1/t1508-c527-font-06-b-expected.txt index 0f3d298bdebd..b7f668fa1055 100644 --- a/LayoutTests/css2.1/t1508-c527-font-06-b-expected.txt +++ b/LayoutTests/css2.1/t1508-c527-font-06-b-expected.txt @@ -7,8 +7,8 @@ layer at (0,0) size 800x288 RenderText {#text} at (0,7) size 783x57 text run at (0,7) width 783: "This text should be 18px monospace, in small-caps, italicized, and very bold, with double line" text run at (0,43) width 75: "spacing. " - RenderInline {SPAN} at (0,0) size 781x201 [color=#C0C0C0] - RenderText {#text} at (74,43) size 781x201 + RenderInline {SPAN} at (0,43) size 781x201 [color=#C0C0C0] + RenderText {#text} at (0,43) size 781x201 text run at (74,43) width 498: "dummy text dummy text dummy text dummy text dummy text dummy " text run at (571,43) width 210: "text dummy text dummy text" text run at (0,79) width 318: "dummy text dummy text dummy text dummy " diff --git a/LayoutTests/editing/deleting/delete-3800834-fix-expected.txt b/LayoutTests/editing/deleting/delete-3800834-fix-expected.txt index 9ab604288d07..68618644ac2f 100644 --- a/LayoutTests/editing/deleting/delete-3800834-fix-expected.txt +++ b/LayoutTests/editing/deleting/delete-3800834-fix-expected.txt @@ -31,8 +31,8 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 38x28 + RenderInline {SPAN} at (14,14) size 38x28 RenderText {#text} at (14,14) size 38x28 text run at (14,14) width 38: "Foo" - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (51,14) size 0x28 caret: position 3 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body diff --git a/LayoutTests/editing/deleting/delete-br-006-expected.txt b/LayoutTests/editing/deleting/delete-br-006-expected.txt index 8b73d3bf4a18..2b9bbba477a8 100644 --- a/LayoutTests/editing/deleting/delete-br-006-expected.txt +++ b/LayoutTests/editing/deleting/delete-br-006-expected.txt @@ -40,7 +40,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 628x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 295x28 + RenderInline {SPAN} at (14,14) size 295x28 RenderText {#text} at (14,14) size 204x28 text run at (14,14) width 102: "Fourscore " text run at (115,14) width 42: "and " diff --git a/LayoutTests/editing/deleting/delete-leading-ws-001-expected.txt b/LayoutTests/editing/deleting/delete-leading-ws-001-expected.txt index 78fb5b331b4c..e1a958f0fe81 100644 --- a/LayoutTests/editing/deleting/delete-leading-ws-001-expected.txt +++ b/LayoutTests/editing/deleting/delete-leading-ws-001-expected.txt @@ -18,7 +18,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 14x28 + RenderInline {SPAN} at (14,14) size 14x28 RenderText {#text} at (14,14) size 14x28 text run at (14,14) width 8: "f" text run at (21,14) width 7: " " diff --git a/LayoutTests/editing/deleting/delete-tab-001-expected.txt b/LayoutTests/editing/deleting/delete-tab-001-expected.txt index ee7df4f40d24..32b6a710a371 100644 --- a/LayoutTests/editing/deleting/delete-tab-001-expected.txt +++ b/LayoutTests/editing/deleting/delete-tab-001-expected.txt @@ -17,8 +17,8 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 80x28 - RenderInline {SPAN} at (0,0) size 48x28 + RenderInline {SPAN} at (14,14) size 80x28 + RenderInline {SPAN} at (14,14) size 48x28 RenderText {#text} at (14,14) size 48x28 text run at (14,14) width 48: "\x{9}" RenderText {#text} at (62,14) size 32x28 diff --git a/LayoutTests/editing/deleting/delete-tab-004-expected.txt b/LayoutTests/editing/deleting/delete-tab-004-expected.txt index 2b9345f963a7..7d45fa92c99f 100644 --- a/LayoutTests/editing/deleting/delete-tab-004-expected.txt +++ b/LayoutTests/editing/deleting/delete-tab-004-expected.txt @@ -19,9 +19,9 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 80x56 + RenderInline {SPAN} at (14,14) size 80x56 RenderBR {BR} at (14,14) size 0x28 - RenderInline {SPAN} at (0,0) size 48x28 + RenderInline {SPAN} at (14,42) size 48x28 RenderText {#text} at (14,42) size 48x28 text run at (14,42) width 48: "\x{9}" RenderText {#text} at (62,42) size 32x28 diff --git a/LayoutTests/editing/document-marker-null-check.html b/LayoutTests/editing/document-marker-null-check.html index 9c11c425e11e..3bfb12cbc527 100644 --- a/LayoutTests/editing/document-marker-null-check.html +++ b/LayoutTests/editing/document-marker-null-check.html @@ -1,4 +1,3 @@ - This test that we don't crash on a null text node with marker on it. diff --git a/LayoutTests/editing/inserting/insert-br-006-expected.txt b/LayoutTests/editing/inserting/insert-br-006-expected.txt index 436192ac4f5f..2cdfabbbccd6 100644 --- a/LayoutTests/editing/inserting/insert-br-006-expected.txt +++ b/LayoutTests/editing/inserting/insert-br-006-expected.txt @@ -12,7 +12,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 44x56 + RenderInline {SPAN} at (14,14) size 44x56 RenderBR {BR} at (14,14) size 0x28 RenderText {#text} at (14,42) size 44x28 text run at (14,42) width 44: "xfoo" diff --git a/LayoutTests/editing/inserting/insert-tab-001-expected.txt b/LayoutTests/editing/inserting/insert-tab-001-expected.txt index 85d7cd6ac2dd..d820d53a8e07 100644 --- a/LayoutTests/editing/inserting/insert-tab-001-expected.txt +++ b/LayoutTests/editing/inserting/insert-tab-001-expected.txt @@ -10,8 +10,8 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 80x28 - RenderInline {SPAN} at (0,0) size 48x28 + RenderInline {SPAN} at (14,14) size 80x28 + RenderInline {SPAN} at (14,14) size 48x28 RenderText {#text} at (14,14) size 48x28 text run at (14,14) width 48: "\x{9}" RenderText {#text} at (62,14) size 32x28 diff --git a/LayoutTests/editing/inserting/insert-tab-002-expected.txt b/LayoutTests/editing/inserting/insert-tab-002-expected.txt index 8090c5d1b7f5..257d8f6b335f 100644 --- a/LayoutTests/editing/inserting/insert-tab-002-expected.txt +++ b/LayoutTests/editing/inserting/insert-tab-002-expected.txt @@ -13,10 +13,10 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 48x28 + RenderInline {SPAN} at (14,14) size 48x28 RenderText {#text} at (14,14) size 32x28 text run at (14,14) width 32: "foo" - RenderInline {SPAN} at (0,0) size 17x28 + RenderInline {SPAN} at (45,14) size 17x28 RenderText {#text} at (45,14) size 17x28 text run at (45,14) width 17: "\x{9}" caret: position 1 of child 0 {#text} of child 1 {SPAN} of child 1 {SPAN} of child 1 {DIV} of body diff --git a/LayoutTests/editing/inserting/insert-tab-004-expected.txt b/LayoutTests/editing/inserting/insert-tab-004-expected.txt index 6fbce2fd8f53..3c3675737568 100644 --- a/LayoutTests/editing/inserting/insert-tab-004-expected.txt +++ b/LayoutTests/editing/inserting/insert-tab-004-expected.txt @@ -12,9 +12,9 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x84 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 80x56 + RenderInline {SPAN} at (14,14) size 80x56 RenderBR {BR} at (14,14) size 0x28 - RenderInline {SPAN} at (0,0) size 48x28 + RenderInline {SPAN} at (14,42) size 48x28 RenderText {#text} at (14,42) size 48x28 text run at (14,42) width 48: "\x{9}" RenderText {#text} at (62,42) size 32x28 diff --git a/LayoutTests/editing/inserting/typing-001-expected.txt b/LayoutTests/editing/inserting/typing-001-expected.txt index 9763787e88f5..c6e495840dc3 100644 --- a/LayoutTests/editing/inserting/typing-001-expected.txt +++ b/LayoutTests/editing/inserting/typing-001-expected.txt @@ -38,7 +38,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 178x28 + RenderInline {SPAN} at (14,14) size 178x28 RenderText {#text} at (14,14) size 178x28 text run at (14,14) width 178: "xxxXXxxxXXxxx" caret: position 13 of child 0 {#text} of child 1 {SPAN} of child 1 {DIV} of body diff --git a/LayoutTests/editing/mac/spelling/autocorrection-delete-expected.txt b/LayoutTests/editing/mac/spelling/autocorrection-delete-expected.txt index daaa00509e70..c0bd9461ef56 100644 --- a/LayoutTests/editing/mac/spelling/autocorrection-delete-expected.txt +++ b/LayoutTests/editing/mac/spelling/autocorrection-delete-expected.txt @@ -90,5 +90,5 @@ layer at (0,0) size 800x600 RenderText {#text} at (14,14) size 127x28 text run at (14,14) width 121: "the notationl" text run at (134,14) width 7: " " - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (140,14) size 0x28 caret: position 14 of child 0 {#text} of child 5 {DIV} of body diff --git a/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.txt b/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.txt index 94e48bd17ccb..c2c06b25b376 100644 --- a/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.txt +++ b/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-after-paste-expected.txt @@ -76,8 +76,8 @@ layer at (0,0) size 800x600 RenderBlock (anonymous) at (14,14) size 756x56 RenderText {#text} at (0,0) size 168x28 text run at (0,0) width 168: "the notational bar" - RenderBR {BR} at (167,22) size 1x0 - RenderInline {SPAN} at (0,0) size 0x0 + RenderBR {BR} at (167,0) size 1x28 + RenderInline {SPAN} at (0,0) size 0x28 RenderText {#text} at (0,28) size 34x28 text run at (0,28) width 34: "baz" RenderBlock {DIV} at (14,70) size 756x28 diff --git a/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-expected.txt b/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-expected.txt index c33365a8034b..389dc6980e21 100644 --- a/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-expected.txt +++ b/LayoutTests/editing/mac/spelling/autocorrection-removing-underline-expected.txt @@ -76,7 +76,7 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 138x28 text run at (0,0) width 132: "the notational" text run at (131,0) width 7: " " - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (137,0) size 0x28 RenderBlock {DIV} at (14,42) size 756x28 RenderBR {BR} at (0,0) size 0x28 caret: position 0 of child 0 {BR} of child 2 {DIV} of child 5 {DIV} of body diff --git a/LayoutTests/editing/mac/spelling/autocorrection-simple-expected.txt b/LayoutTests/editing/mac/spelling/autocorrection-simple-expected.txt index b381af4f80bb..d2be8eba92b7 100644 --- a/LayoutTests/editing/mac/spelling/autocorrection-simple-expected.txt +++ b/LayoutTests/editing/mac/spelling/autocorrection-simple-expected.txt @@ -134,7 +134,7 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 138x28 text run at (0,0) width 132: "the notational" text run at (131,0) width 7: " " - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (137,0) size 0x28 RenderBlock {DIV} at (14,42) size 756x28 RenderText {#text} at (0,0) size 138x28 text run at (0,0) width 138: "the notational," diff --git a/LayoutTests/editing/mac/spelling/delete-autocorrected-word-1-expected.txt b/LayoutTests/editing/mac/spelling/delete-autocorrected-word-1-expected.txt index c8c9c6e724c4..8c689f201d28 100644 --- a/LayoutTests/editing/mac/spelling/delete-autocorrected-word-1-expected.txt +++ b/LayoutTests/editing/mac/spelling/delete-autocorrected-word-1-expected.txt @@ -94,5 +94,5 @@ layer at (0,0) size 800x600 RenderText {#text} at (14,14) size 36x28 text run at (14,14) width 30: "the" text run at (43,14) width 7: " " - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (49,14) size 0x28 caret: position 4 of child 0 {#text} of child 5 {DIV} of body diff --git a/LayoutTests/editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt b/LayoutTests/editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt index 26b639abee7c..e936ea199dbf 100644 --- a/LayoutTests/editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt +++ b/LayoutTests/editing/mac/spelling/removing-underline-after-accepting-autocorrection-using-punctuation-expected.txt @@ -75,5 +75,5 @@ layer at (0,0) size 800x600 RenderText {#text} at (14,14) size 144x28 text run at (14,14) width 138: "the notational," text run at (151,14) width 7: " " - RenderInline {SPAN} at (0,0) size 0x28 + RenderInline {SPAN} at (157,14) size 0x28 caret: position 16 of child 0 {#text} of child 5 {DIV} of body diff --git a/LayoutTests/editing/selection/extend-by-character-006-expected.txt b/LayoutTests/editing/selection/extend-by-character-006-expected.txt index 6150a9ec8faf..52e60100eb0f 100644 --- a/LayoutTests/editing/selection/extend-by-character-006-expected.txt +++ b/LayoutTests/editing/selection/extend-by-character-006-expected.txt @@ -10,7 +10,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 32x28 + RenderInline {SPAN} at (14,14) size 32x28 RenderText {#text} at (14,14) size 32x28 text run at (14,14) width 32: "foo" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/editing/selection/extend-by-sentence-001-expected.txt b/LayoutTests/editing/selection/extend-by-sentence-001-expected.txt index 277b1d13b668..151f56a1a24b 100644 --- a/LayoutTests/editing/selection/extend-by-sentence-001-expected.txt +++ b/LayoutTests/editing/selection/extend-by-sentence-001-expected.txt @@ -15,7 +15,7 @@ layer at (0,0) size 800x600 RenderBlock (anonymous) at (0,0) size 756x28 RenderText {#text} at (0,0) size 131x28 text run at (0,0) width 131: "one two three" - RenderInline {FRIJOLE} at (0,0) size 0x28 + RenderInline {FRIJOLE} at (130,0) size 0x28 RenderText {#text} at (0,0) size 0x0 RenderBlock (anonymous) at (0,28) size 756x28 RenderBlock {DOODAD} at (0,0) size 756x28 diff --git a/LayoutTests/editing/selection/extend-by-word-001-expected.txt b/LayoutTests/editing/selection/extend-by-word-001-expected.txt index a47c64cf7e7c..62ffbad7f9e0 100644 --- a/LayoutTests/editing/selection/extend-by-word-001-expected.txt +++ b/LayoutTests/editing/selection/extend-by-word-001-expected.txt @@ -15,7 +15,7 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (14,14) size 756x28 RenderText {#text} at (0,0) size 32x28 text run at (0,0) width 32: "foo" - RenderInline {SPAN} at (0,0) size 17x28 + RenderInline {SPAN} at (31,0) size 17x28 RenderText {#text} at (31,0) size 17x28 text run at (31,0) width 17: "\x{9}" RenderText {#text} at (48,0) size 31x28 diff --git a/LayoutTests/editing/spelling/centering-misspelling-dots-expected.txt b/LayoutTests/editing/spelling/centering-misspelling-dots-expected.txt index e83bd98f2be0..5957849dafab 100644 --- a/LayoutTests/editing/spelling/centering-misspelling-dots-expected.txt +++ b/LayoutTests/editing/spelling/centering-misspelling-dots-expected.txt @@ -55,5 +55,5 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 106x17 text run at (0,0) width 102: "wafewerewdfea" text run at (101,0) width 5: " " - RenderInline {SPAN} at (0,0) size 0x17 + RenderInline {SPAN} at (105,0) size 0x17 caret: position 14 of child 0 {#text} of child 3 {DIV} of body diff --git a/LayoutTests/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt b/LayoutTests/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt index c18d057a3cf3..58deaf3b5a23 100644 --- a/LayoutTests/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt +++ b/LayoutTests/editing/spelling/misspelling-dots-dont-extend-beyond-words-expected.txt @@ -59,5 +59,5 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 110x17 text run at (0,0) width 106: "wafewe rewdfea" text run at (105,0) width 5: " " - RenderInline {SPAN} at (0,0) size 0x17 + RenderInline {SPAN} at (109,0) size 0x17 caret: position 15 of child 0 {#text} of child 3 {DIV} of body diff --git a/LayoutTests/editing/style/style-3681552-fix-001-expected.txt b/LayoutTests/editing/style/style-3681552-fix-001-expected.txt index 0abc3bcbaf0b..9b96e9c6b903 100644 --- a/LayoutTests/editing/style/style-3681552-fix-001-expected.txt +++ b/LayoutTests/editing/style/style-3681552-fix-001-expected.txt @@ -32,10 +32,10 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 154x28 + RenderInline {SPAN} at (14,14) size 154x28 RenderText {#text} at (14,14) size 70x28 text run at (14,14) width 70: "here is " - RenderInline {I} at (0,0) size 43x28 + RenderInline {I} at (83,14) size 43x28 RenderText {#text} at (83,14) size 43x28 text run at (83,14) width 43: "xxxx" RenderText {#text} at (125,14) size 43x28 diff --git a/LayoutTests/editing/style/typing-style-001-expected.txt b/LayoutTests/editing/style/typing-style-001-expected.txt index f340cb40678f..9597a32b8b70 100644 --- a/LayoutTests/editing/style/typing-style-001-expected.txt +++ b/LayoutTests/editing/style/typing-style-001-expected.txt @@ -51,7 +51,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 154x28 + RenderInline {SPAN} at (14,14) size 154x28 RenderText {#text} at (14,14) size 112x28 text run at (14,14) width 112: "here isxxxx" RenderText {#text} at (125,14) size 43x28 diff --git a/LayoutTests/editing/style/typing-style-002-expected.txt b/LayoutTests/editing/style/typing-style-002-expected.txt index 66adae484353..3a17034206ce 100644 --- a/LayoutTests/editing/style/typing-style-002-expected.txt +++ b/LayoutTests/editing/style/typing-style-002-expected.txt @@ -43,10 +43,10 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 164x28 + RenderInline {SPAN} at (14,14) size 164x28 RenderText {#text} at (14,14) size 70x28 text run at (14,14) width 70: "here is " - RenderInline {I} at (0,0) size 53x28 + RenderInline {I} at (83,14) size 53x28 RenderText {#text} at (83,14) size 53x28 text run at (83,14) width 53: "sxxxx" RenderText {#text} at (135,14) size 43x28 diff --git a/LayoutTests/editing/text-iterator/count-mark-lineboxes.html b/LayoutTests/editing/text-iterator/count-mark-lineboxes.html index cc71e5c4dc32..202a41f0ed0e 100644 --- a/LayoutTests/editing/text-iterator/count-mark-lineboxes.html +++ b/LayoutTests/editing/text-iterator/count-mark-lineboxes.html @@ -1,4 +1,4 @@ - + diff --git a/LayoutTests/editing/undo/redo-typing-001-expected.txt b/LayoutTests/editing/undo/redo-typing-001-expected.txt index 0ead7e9a4927..e02d1323575c 100644 --- a/LayoutTests/editing/undo/redo-typing-001-expected.txt +++ b/LayoutTests/editing/undo/redo-typing-001-expected.txt @@ -16,7 +16,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 47x28 + RenderInline {SPAN} at (14,14) size 47x28 RenderText {#text} at (14,14) size 47x28 text run at (14,14) width 47: "xXX" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/editing/undo/undo-typing-001-expected.txt b/LayoutTests/editing/undo/undo-typing-001-expected.txt index 92af69a24fd3..040758e19804 100644 --- a/LayoutTests/editing/undo/undo-typing-001-expected.txt +++ b/LayoutTests/editing/undo/undo-typing-001-expected.txt @@ -13,7 +13,7 @@ layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 784x56 [border: (2px solid #FF0000)] - RenderInline {SPAN} at (0,0) size 35x28 + RenderInline {SPAN} at (14,14) size 35x28 RenderText {#text} at (14,14) size 35x28 text run at (14,14) width 35: "XX" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/block/basic/011.html b/LayoutTests/fast/block/basic/011.html deleted file mode 100644 index 22dfeed7b419..000000000000 --- a/LayoutTests/fast/block/basic/011.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - display/box/float/clear test - - - - -
-
- toggle -
-
- -
-
- bar maids, -
-
-

- sing to me, erbarme dich -

-
-
-

- This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1 agents should be able to render the document elements above this paragraph indistinguishably (to the pixel) from this - reference rendering, - (except font rasterization and form widgets). All discrepancies should be traceable to CSS1 implementation shortcomings. Once you have finished evaluating this test, you can return to the parent page. -

- - diff --git a/LayoutTests/fast/block/basic/inline-content-with-floating-image-expected.txt b/LayoutTests/fast/block/basic/inline-content-with-floating-image-expected.txt index b004b88f660b..66e544512d1d 100644 --- a/LayoutTests/fast/block/basic/inline-content-with-floating-image-expected.txt +++ b/LayoutTests/fast/block/basic/inline-content-with-floating-image-expected.txt @@ -6,7 +6,7 @@ layer at (0,0) size 800x600 layer at (8,8) size 300x72 RenderBlock {DIV} at (0,0) size 300x72 RenderImage {IMG} at (0,0) size 50x30 - RenderText {#text} at (50,0) size 284x72 + RenderText {#text} at (0,0) size 284x72 text run at (50,0) width 232: "long text with left floating box. long" text run at (50,18) width 228: "text with left floating box. long text" text run at (0,36) width 284: "with left floating box. text eventually breaks" @@ -23,7 +23,7 @@ layer at (8,152) size 300x90 RenderBlock {DIV} at (0,144) size 300x90 RenderImage {IMG} at (0,0) size 20x30 RenderImage {IMG} at (280,0) size 20x30 - RenderText {#text} at (20,0) size 292x90 + RenderText {#text} at (0,0) size 292x90 text run at (20,0) width 229: "long text with left and right floating" text run at (20,18) width 208: "box. long text with left and right" text run at (0,36) width 261: "floating box. long text with left and right" diff --git a/LayoutTests/fast/block/basic/inline-content-with-floating-images2-expected.txt b/LayoutTests/fast/block/basic/inline-content-with-floating-images2-expected.txt index 578678a4ab2d..d91635cef8b7 100644 --- a/LayoutTests/fast/block/basic/inline-content-with-floating-images2-expected.txt +++ b/LayoutTests/fast/block/basic/inline-content-with-floating-images2-expected.txt @@ -11,7 +11,7 @@ layer at (8,8) size 300x54 RenderText {#text} at (63,0) size 11x18 text run at (63,0) width 11: "is" RenderImage {IMG} at (20,0) size 20x30 - RenderText {#text} at (73,0) size 296x54 + RenderText {#text} at (0,0) size 296x54 text run at (73,0) width 212: "one run long long long long long" text run at (40,18) width 256: "long long long long long long long long" text run at (0,36) width 89: "long long text" @@ -23,7 +23,7 @@ layer at (8,62) size 300x54 RenderText {#text} at (38,0) size 12x18 text run at (38,0) width 12: "is" RenderImage {IMG} at (260,0) size 20x30 - RenderText {#text} at (49,0) size 296x54 + RenderText {#text} at (4,0) size 296x54 text run at (49,0) width 211: "one run long long long long long" text run at (4,18) width 256: "long long long long long long long long" text run at (211,36) width 89: "long long text" @@ -35,7 +35,7 @@ layer at (8,116) size 300x54 RenderText {#text} at (58,0) size 12x18 text run at (58,0) width 12: "is" RenderImage {IMG} at (280,0) size 20x30 - RenderText {#text} at (69,0) size 276x54 + RenderText {#text} at (24,0) size 276x54 text run at (69,0) width 211: "one run long long long long long" text run at (24,18) width 256: "long long long long long long long long" text run at (211,36) width 89: "long long text" diff --git a/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.txt b/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.txt index a3ea06731c9c..a30c4b21fc87 100644 --- a/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.txt +++ b/LayoutTests/fast/block/basic/quirk-percent-height-table-cell-expected.txt @@ -7,11 +7,11 @@ layer at (0,0) size 800x600 RenderTableSection {TBODY} at (1,1) size 118x424 RenderTableRow {TR} at (0,2) size 118x420 RenderTableCell {TD} at (2,-48) size 114x520 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1] - RenderBlock {DIV} at (2,2) size 20x100 [bgcolor=#FFFF00] - RenderTable {TABLE} at (2,102) size 110x416 [border: (1px outset #808080)] + RenderBlock {DIV} at (2,-48) size 20x100 [bgcolor=#FFFF00] + RenderTable {TABLE} at (2,52) size 110x416 [border: (1px outset #808080)] RenderTableSection {TBODY} at (1,1) size 108x414 RenderTableRow {TR} at (0,2) size 108x410 RenderTableCell {TD} at (2,52) size 104x310 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1] - RenderBlock {DIV} at (2,2) size 100x6 + RenderBlock {DIV} at (2,52) size 100x6 RenderBlock {DIV} at (0,0) size 100x6 [border: (3px solid #0000FF)] - RenderBlock {DIV} at (2,8) size 100x300 [bgcolor=#008000] + RenderBlock {DIV} at (2,58) size 100x300 [bgcolor=#008000] diff --git a/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line-expected.html b/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line-expected.html deleted file mode 100644 index 5f84e39e9358..000000000000 --- a/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line-expected.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -
-
-
-
Pass if "this" wraps to the second line.
-
- - diff --git a/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line.html b/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line.html deleted file mode 100644 index 8a78703b4838..000000000000 --- a/LayoutTests/fast/block/float/simple-line-layout-float-shrink-line.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - -
-
-
-
Pass if "this" wraps to the second line.
-
- - diff --git a/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout-expected.html b/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout-expected.html deleted file mode 100644 index 4de1d1e1c692..000000000000 --- a/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout-expected.html +++ /dev/null @@ -1,18 +0,0 @@ - - - -This tests that we properly bail out of simple line layout when first-line pseudo class is present. - - - -
First line has color red
while this second line has color blue.
- - diff --git a/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html b/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html deleted file mode 100644 index 00917731751d..000000000000 --- a/LayoutTests/fast/block/line-layout/first-line-should-bail-out-of-simple-line-layout.html +++ /dev/null @@ -1,17 +0,0 @@ - - -This tests that we properly bail out of simple line layout when first-line pseudo class is present. - - - -
First line has color red
while this second line has color blue.
- - diff --git a/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex-expected.html b/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex-expected.html deleted file mode 100644 index 434c8a825839..000000000000 --- a/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex-expected.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be immediately under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 10px under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be to the right of the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be immediately under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 10px under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 20px under the float. -
- -
This is a float that is 100px high.
- This paragraph has a bottom margin of 50px.
- -
-
- -
This is a float that is 100px high.
- This paragraph has a bottom margin of 50px.
- -
diff --git a/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex.html b/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex.html deleted file mode 100644 index 51d1241bd318..000000000000 --- a/LayoutTests/fast/block/margin-collapse/empty-clear-blocks-complex.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be immediately under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 10px under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be to the right of the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be immediately under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 10px under the float. -
-
This is a float that is 100px high.
-This paragraph has a bottom margin of 50px.
- -This text should be 20px under the float. -
- -
This is a float that is 100px high.
- This paragraph has a bottom margin of 50px.
- -
-
- -
This is a float that is 100px high.
- This paragraph has a bottom margin of 50px.
- -
diff --git a/LayoutTests/fast/block/positioning/start-ignoring-before-expected.txt b/LayoutTests/fast/block/positioning/start-ignoring-before-expected.txt index e01f5cfb3ecd..390966f309a7 100644 --- a/LayoutTests/fast/block/positioning/start-ignoring-before-expected.txt +++ b/LayoutTests/fast/block/positioning/start-ignoring-before-expected.txt @@ -7,7 +7,7 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 100x50 text run at (0,0) width 100: "X " RenderText {#text} at (0,0) size 0x0 - RenderInline {SPAN} at (0,0) size 50x50 [color=#FF0000] + RenderInline {SPAN} at (100,0) size 50x50 [color=#FF0000] RenderText {#text} at (100,0) size 50x50 text run at (100,0) width 50: "Y" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/borders/border-radius-different-width-001-expected.txt b/LayoutTests/fast/borders/border-radius-different-width-001-expected.txt index 6cf6a98c7d39..75b5d236a58f 100644 --- a/LayoutTests/fast/borders/border-radius-different-width-001-expected.txt +++ b/LayoutTests/fast/borders/border-radius-different-width-001-expected.txt @@ -11,8 +11,8 @@ layer at (0,0) size 800x462 RenderBlock {DIV} at (11,151) size 250x150 [border: (10px solid #000000) (25px solid #000000) (40px solid #000000) (25px solid #000000)] RenderBlock {DIV} at (11,311) size 250x120 [border: (10px solid #000000) (25px solid #000000) (10px solid #000000) (25px solid #000000)] RenderTableCell {TD} at (276,45) size 232x356 [r=0 c=1 rs=1 cs=1] - RenderBlock {DIV} at (11,11) size 204x106 [border: (1px solid #000000) (3px solid #000000) (5px solid #000000) (1px solid #000000)] - RenderBlock {DIV} at (11,127) size 206x106 [border: (1px solid #000000) (3px solid #000000) (5px solid #000000) (3px solid #000000)] - RenderBlock {DIV} at (11,243) size 210x102 [border: (1px solid #000000) (5px solid #000000) (1px solid #000000) (5px solid #000000)] + RenderBlock {DIV} at (11,54) size 204x106 [border: (1px solid #000000) (3px solid #000000) (5px solid #000000) (1px solid #000000)] + RenderBlock {DIV} at (11,170) size 206x106 [border: (1px solid #000000) (3px solid #000000) (5px solid #000000) (3px solid #000000)] + RenderBlock {DIV} at (11,286) size 210x102 [border: (1px solid #000000) (5px solid #000000) (1px solid #000000) (5px solid #000000)] RenderTableCell {TD} at (510,62) size 178x322 [r=0 c=2 rs=1 cs=1] - RenderBlock {DIV} at (11,11) size 156x300 [border: (4px solid #000000) (16px solid #000000) (32px solid #000000) (120px solid #000000)] + RenderBlock {DIV} at (11,71) size 156x300 [border: (4px solid #000000) (16px solid #000000) (32px solid #000000) (120px solid #000000)] diff --git a/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image-expected-mismatch.html b/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image-expected-mismatch.html new file mode 100644 index 000000000000..c613510b8523 --- /dev/null +++ b/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image-expected-mismatch.html @@ -0,0 +1,16 @@ + + + + + + +
+ + diff --git a/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image.html b/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image.html new file mode 100644 index 000000000000..b8676bddc1c8 --- /dev/null +++ b/LayoutTests/fast/box-shadow/normal-box-shadow-with-background-image.html @@ -0,0 +1,17 @@ + + + + + + +
+ + diff --git a/LayoutTests/fast/css/empty-generated-content-expected.txt b/LayoutTests/fast/css/empty-generated-content-expected.txt index 4721e9323fea..5cea30bcd1a8 100644 --- a/LayoutTests/fast/css/empty-generated-content-expected.txt +++ b/LayoutTests/fast/css/empty-generated-content-expected.txt @@ -5,7 +5,7 @@ layer at (0,0) size 800x34 RenderBody {BODY} at (8,8) size 784x18 RenderText {#text} at (0,0) size 217x18 text run at (0,0) width 217: "This page intentionally left blank." - RenderInline (generated) at (0,0) size 0x18 + RenderInline (generated) at (216,0) size 0x18 RenderText at (0,0) size 0x0 RenderBlock (anonymous) at (0,34) size 800x0 RenderInline (generated) at (0,0) size 0x0 diff --git a/LayoutTests/fast/css/empty-inline-line-height-first-line-expected.txt b/LayoutTests/fast/css/empty-inline-line-height-first-line-expected.txt index 9c5a9537674d..724b899ab7ea 100644 --- a/LayoutTests/fast/css/empty-inline-line-height-first-line-expected.txt +++ b/LayoutTests/fast/css/empty-inline-line-height-first-line-expected.txt @@ -11,8 +11,8 @@ layer at (0,0) size 800x256 layerType: foreground only layer at (8,8) size 784x240 RenderBlock (relative positioned) {DIV} at (0,0) size 784x240 RenderBlock {DIV} at (0,0) size 784x240 [bgcolor=#00FF00] - RenderInline {SPAN} at (0,0) size 0x16 + RenderInline {SPAN} at (0,32) size 0x16 RenderBR {BR} at (0,32) size 0x16 - RenderInline {SPAN} at (0,0) size 0x16 + RenderInline {SPAN} at (0,152) size 0x16 RenderText {#text} at (0,152) size 16x16 text run at (0,152) width 16: "X" diff --git a/LayoutTests/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt b/LayoutTests/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt index 6990b6975121..3f01868222f0 100644 --- a/LayoutTests/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt +++ b/LayoutTests/fast/css/empty-inline-line-height-first-line-quirksmode-expected.txt @@ -11,8 +11,8 @@ layer at (0,0) size 800x600 layerType: foreground only layer at (8,8) size 784x96 RenderBlock (relative positioned) {DIV} at (0,0) size 784x96 RenderBlock {DIV} at (0,0) size 784x96 [bgcolor=#00FF00] - RenderInline {SPAN} at (0,0) size 0x16 + RenderInline {SPAN} at (0,32) size 0x16 RenderBR {BR} at (0,32) size 0x16 - RenderInline {SPAN} at (0,0) size 0x16 + RenderInline {SPAN} at (0,80) size 0x16 RenderText {#text} at (0,80) size 16x16 text run at (0,80) width 16: "X" diff --git a/LayoutTests/fast/css/font-face-default-font-expected.txt b/LayoutTests/fast/css/font-face-default-font-expected.txt index d0a822a0b51f..1530eb56bba2 100644 --- a/LayoutTests/fast/css/font-face-default-font-expected.txt +++ b/LayoutTests/fast/css/font-face-default-font-expected.txt @@ -6,8 +6,8 @@ layer at (0,0) size 800x600 RenderBlock {P} at (0,0) size 784x18 RenderText {#text} at (0,0) size 57x17 text run at (0,0) width 57: "Test for " - RenderInline {I} at (0,0) size 640x17 - RenderInline {A} at (0,0) size 331x17 [color=#0000EE] + RenderInline {I} at (56,0) size 640x17 + RenderInline {A} at (56,0) size 331x17 [color=#0000EE] RenderText {#text} at (56,0) size 331x17 text run at (56,0) width 331: "http://bugs.webkit.org/show_bug.cgi?id=16348" RenderText {#text} at (386,0) size 310x17 diff --git a/LayoutTests/fast/css/pseudo-first-line-border-width-expected.txt b/LayoutTests/fast/css/pseudo-first-line-border-width-expected.txt index c48915ac4529..afbb678d9a32 100644 --- a/LayoutTests/fast/css/pseudo-first-line-border-width-expected.txt +++ b/LayoutTests/fast/css/pseudo-first-line-border-width-expected.txt @@ -7,7 +7,7 @@ layer at (0,0) size 800x450 RenderText {#text} at (0,0) size 144x16 text run at (0,0) width 144: "Test for " RenderInline {A} at (0,0) size 736x32 [color=#0000EE] - RenderText {#text} at (144,0) size 736x32 + RenderText {#text} at (0,0) size 736x32 text run at (144,0) width 592: "https://bugs.webkit.org/show_bug.cgi?" text run at (0,16) width 128: "id=79526" RenderBlock {P} at (0,132) size 784x210 diff --git a/LayoutTests/fast/css/viewport-unit-conversion-crash-expected.txt b/LayoutTests/fast/css/viewport-unit-conversion-crash-expected.txt new file mode 100644 index 000000000000..32e2d08ddaa5 --- /dev/null +++ b/LayoutTests/fast/css/viewport-unit-conversion-crash-expected.txt @@ -0,0 +1,2 @@ + +This test passes if it doesn't crash diff --git a/LayoutTests/fast/css/viewport-unit-conversion-crash.html b/LayoutTests/fast/css/viewport-unit-conversion-crash.html new file mode 100644 index 000000000000..3e30a32661e7 --- /dev/null +++ b/LayoutTests/fast/css/viewport-unit-conversion-crash.html @@ -0,0 +1,21 @@ + + + +
+ +
+ + + +
This test passes if it doesn't crash
+ + diff --git a/LayoutTests/fast/css/word-spacing-with-normal-layout.html b/LayoutTests/fast/css/word-spacing-with-normal-layout.html index 16271f607a71..c5e4bb231cc7 100644 --- a/LayoutTests/fast/css/word-spacing-with-normal-layout.html +++ b/LayoutTests/fast/css/word-spacing-with-normal-layout.html @@ -1,4 +1,4 @@ - + This tests that word-spacing works fine with normal line layout. diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration-expected.html b/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration-expected.html deleted file mode 100644 index bf76d0b94740..000000000000 --- a/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration-expected.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -This tests that we paint simple line layout text-decoration correctly. - - -

supported

supported
-

-


-
not supported
-
supported
-
supported
-
supported
-
supported
- diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration.html b/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration.html deleted file mode 100644 index 9e8a19a5f0e9..000000000000 --- a/LayoutTests/fast/css3-text/css3-text-decoration/simple-line-layout-text-decoration.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -This tests that we paint simple line layout text-decoration correctly. - - -

supported

supported
-

-


-
not supported
-
supported
-
supported
-
supported
-
supported
- diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash-expected.txt b/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash-expected.txt new file mode 100644 index 000000000000..e92fce8d5ea4 --- /dev/null +++ b/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash-expected.txt @@ -0,0 +1 @@ +PASS if no crash or assert. diff --git a/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash.html b/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash.html new file mode 100644 index 000000000000..488e9c46d77a --- /dev/null +++ b/LayoutTests/fast/css3-text/css3-text-decoration/text-underline-position/text-underline-position-auto-computed-underline-offset-crash.html @@ -0,0 +1,13 @@ + +PASS if no crash or assert. + \ No newline at end of file diff --git a/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout-expected.html b/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout-expected.html deleted file mode 100644 index a70198248cc7..000000000000 --- a/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout-expected.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -This tests that ignore text-align: justify for last lines. - - - - - - diff --git a/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout.html b/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout.html deleted file mode 100644 index 0379ceb7955d..000000000000 --- a/LayoutTests/fast/css3-text/css3-text-justify/text-justify-last-line-simple-line-layout.html +++ /dev/null @@ -1,26 +0,0 @@ - - - -This tests that ignore text-align: justify for last lines. - - - - - - diff --git a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point-expected.html b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point-expected.html deleted file mode 100644 index 4d8b2b70a99e..000000000000 --- a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point-expected.html +++ /dev/null @@ -1,33 +0,0 @@ - - - -This tests that simple line layout hittest finds the same offset as normal line layout hittest. - - - -
f
-
f
fo
-
f
fo
foo
-
f
fo
foo
foob
-
f
fo
foo
foob
fooba
-
f
fo
foo
foob
fooba
foobar
- - - diff --git a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point.html b/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point.html deleted file mode 100644 index 5c6308708972..000000000000 --- a/LayoutTests/fast/dom/Document/CaretRangeFromPoint/simple-line-layout-hittest-with-caret-range-from-point.html +++ /dev/null @@ -1,33 +0,0 @@ - - - -This tests that simple line layout hittest finds the same offset as normal line layout hittest. - - - -
f
-
f
fo
-
f
fo
foo
-
f
fo
foo
foob
-
f
fo
foo
foob
fooba
-
f
fo
foo
foob
fooba
foobar
- - - diff --git a/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects-expected.html b/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects-expected.html deleted file mode 100644 index 1d33a7740883..000000000000 --- a/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects-expected.html +++ /dev/null @@ -1,98 +0,0 @@ - - -This tests that simple and normal line layout produce the same getClientRects result. - - - -
1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
4 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor
incididunt ut labore etdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
5 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor
incididunt ut labore etdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
6 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
7 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
8
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
9 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
10 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- - - diff --git a/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects.html b/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects.html deleted file mode 100644 index da291f8ded05..000000000000 --- a/LayoutTests/fast/dom/Range/simple-line-layout-getclientrects.html +++ /dev/null @@ -1,98 +0,0 @@ - - -This tests that simple and normal line layout produce the same getClientRects result. - - - -
1 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
2 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
3 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
4 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor
incididunt ut labore etdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
5 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor
incididunt ut labore etdolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
6 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
7 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
8
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
9 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
-
10 Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- - - diff --git a/LayoutTests/fast/dynamic/dirty-float-in-clean-line-expected.txt b/LayoutTests/fast/dynamic/dirty-float-in-clean-line-expected.txt index 08241dc18b90..151ec4c7b017 100644 --- a/LayoutTests/fast/dynamic/dirty-float-in-clean-line-expected.txt +++ b/LayoutTests/fast/dynamic/dirty-float-in-clean-line-expected.txt @@ -7,10 +7,10 @@ layer at (0,0) size 800x600 layerType: foreground only RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderBlock {DIV} at (0,0) size 226x151 [border: (3px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 100x20 + RenderInline {SPAN} at (3,3) size 100x20 RenderText {#text} at (3,3) size 100x20 text run at (3,3) width 100: "lorem" - RenderText {#text} at (103,3) size 220x80 + RenderText {#text} at (3,3) size 220x80 text run at (103,3) width 120: " ipsum" text run at (3,23) width 180: "dolor sit" text run at (3,43) width 100: "amet," diff --git a/LayoutTests/fast/editing/partial-layout-when-inserting-content-expected.html b/LayoutTests/fast/editing/partial-layout-when-inserting-content-expected.html new file mode 100644 index 000000000000..e3b535dff79a --- /dev/null +++ b/LayoutTests/fast/editing/partial-layout-when-inserting-content-expected.html @@ -0,0 +1,8 @@ + +
first second line
diff --git a/LayoutTests/fast/editing/partial-layout-when-inserting-content.html b/LayoutTests/fast/editing/partial-layout-when-inserting-content.html new file mode 100644 index 000000000000..e239784cde27 --- /dev/null +++ b/LayoutTests/fast/editing/partial-layout-when-inserting-content.html @@ -0,0 +1,22 @@ + +
first secondline
+ diff --git a/LayoutTests/fast/events/anchor-empty-focus-expected.txt b/LayoutTests/fast/events/anchor-empty-focus-expected.txt index a547e82141f5..e38067849c5e 100644 --- a/LayoutTests/fast/events/anchor-empty-focus-expected.txt +++ b/LayoutTests/fast/events/anchor-empty-focus-expected.txt @@ -1,3 +1,11 @@ -This tests that focus() works on an empty anchor. +This tests that focus() and sequential focus navigation work on empty anchors. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS document.activeElement is emptyAnchor1 +PASS document.activeElement is emptyAnchor2 +PASS successfullyParsed is true + +TEST COMPLETE -TEST PASSED diff --git a/LayoutTests/fast/events/anchor-empty-focus.html b/LayoutTests/fast/events/anchor-empty-focus.html index 9436397749fa..a8e919a336dd 100644 --- a/LayoutTests/fast/events/anchor-empty-focus.html +++ b/LayoutTests/fast/events/anchor-empty-focus.html @@ -1,20 +1,26 @@ + - - - - - This tests that focus() works on an empty anchor.
- -
-
TEST FAILED
- + + + + + + + + + + diff --git a/LayoutTests/fast/events/frame-tab-focus-expected.txt b/LayoutTests/fast/events/frame-tab-focus-expected.txt index 28b4a5758f09..81002d0be6e9 100644 --- a/LayoutTests/fast/events/frame-tab-focus-expected.txt +++ b/LayoutTests/fast/events/frame-tab-focus-expected.txt @@ -5,8 +5,14 @@ Tabbing forward... main window: INPUT #2 (tabindex=2) focused main window: INPUT #2 (tabindex=2) blurred +main window: A #2 (tabindex=2) focused +main window: A #2 (tabindex=2) blurred main window: INPUT #1 (tabindex=3) focused main window: INPUT #1 (tabindex=3) blurred +main window: A #1 (tabindex=3) focused +main window: A #1 (tabindex=3) blurred +main window: A #3 (tabindex=3) focused +main window: A #3 (tabindex=3) blurred main window: window blurred child: window focused child: INPUT #0 (tabindex=0) focused @@ -17,33 +23,9 @@ main window: INPUT #0 (tabindex=0) focused main window: INPUT #0 (tabindex=0) blurred main window: window blurred empty-child: window focused -empty-child: window blurred -middle-child-1: window focused -middle-child-1: INPUT #0 (tabindex=0) focused -middle-child-1: INPUT #0 (tabindex=0) blurred -middle-child-1: window blurred -middle-child-2: window focused -middle-child-2: INPUT #0 (tabindex=0) focused -middle-child-2: INPUT #0 (tabindex=0) blurred -middle-child-2: window blurred -main window: window focused -main window: INPUT #3 (tabindex=0) focused -main window: INPUT #3 (tabindex=0) blurred Tabbing backward... -main window: INPUT #3 (tabindex=0) focused -main window: INPUT #3 (tabindex=0) blurred -main window: window blurred -middle-child-2: window focused -middle-child-2: INPUT #0 (tabindex=0) focused -middle-child-2: INPUT #0 (tabindex=0) blurred -middle-child-2: window blurred -middle-child-1: window focused -middle-child-1: INPUT #0 (tabindex=0) focused -middle-child-1: INPUT #0 (tabindex=0) blurred -middle-child-1: window blurred -empty-child: window focused empty-child: window blurred main window: window focused main window: INPUT #0 (tabindex=0) focused @@ -54,10 +36,18 @@ child: INPUT #0 (tabindex=0) focused child: INPUT #0 (tabindex=0) blurred child: window blurred main window: window focused +main window: A #3 (tabindex=3) focused +main window: A #3 (tabindex=3) blurred +main window: A #1 (tabindex=3) focused +main window: A #1 (tabindex=3) blurred main window: INPUT #1 (tabindex=3) focused main window: INPUT #1 (tabindex=3) blurred +main window: A #2 (tabindex=2) focused +main window: A #2 (tabindex=2) blurred main window: INPUT #2 (tabindex=2) focused main window: INPUT #2 (tabindex=2) blurred +main window: A #0 (tabindex=1) focused +main window: A #0 (tabindex=1) blurred Option-tabbing forward... diff --git a/LayoutTests/fast/events/frame-tab-focus.html b/LayoutTests/fast/events/frame-tab-focus.html index 477f07a6a334..59406a12bf6d 100644 --- a/LayoutTests/fast/events/frame-tab-focus.html +++ b/LayoutTests/fast/events/frame-tab-focus.html @@ -17,7 +17,6 @@ function windowFocused(win, name) { return function() { - win.document.body.style.background = "green"; log(name + ': window focused'); } } diff --git a/LayoutTests/fast/events/ios/rotation/zz-no-rotation-expected.txt b/LayoutTests/fast/events/ios/rotation/zz-no-rotation-expected.txt index 4938baf97623..7ba2d752fafa 100644 --- a/LayoutTests/fast/events/ios/rotation/zz-no-rotation-expected.txt +++ b/LayoutTests/fast/events/ios/rotation/zz-no-rotation-expected.txt @@ -1,6 +1,6 @@ +CONSOLE MESSAGE: window.innerWidth: 390 +CONSOLE MESSAGE: window.innerHeight: 797 PASS successfullyParsed is true TEST COMPLETE -PASS window.innerWidth is 320 -PASS window.innerHeight is 548 This test checks that the view is not left in a rotated state after the previous tests. diff --git a/LayoutTests/fast/events/ios/rotation/zz-no-rotation.html b/LayoutTests/fast/events/ios/rotation/zz-no-rotation.html index a30561acc23f..33d4563c4ff4 100644 --- a/LayoutTests/fast/events/ios/rotation/zz-no-rotation.html +++ b/LayoutTests/fast/events/ios/rotation/zz-no-rotation.html @@ -7,8 +7,8 @@ diff --git a/LayoutTests/fast/events/tab-focus-anchor-expected.txt b/LayoutTests/fast/events/tab-focus-anchor-expected.txt index d64b838e1b79..f2b276a4e8c6 100644 --- a/LayoutTests/fast/events/tab-focus-anchor-expected.txt +++ b/LayoutTests/fast/events/tab-focus-anchor-expected.txt @@ -2,8 +2,14 @@ This test ensures that we can tab to an a element with a tab index. Press tab to Not focusable (given the WebKitTabToLinks pref is set to false) +Not focusable + +Focusable + Focusable Result PASS +PASS + diff --git a/LayoutTests/fast/events/tab-focus-anchor-tab-to-links-expected.txt b/LayoutTests/fast/events/tab-focus-anchor-tab-to-links-expected.txt new file mode 100644 index 000000000000..237047d14288 --- /dev/null +++ b/LayoutTests/fast/events/tab-focus-anchor-tab-to-links-expected.txt @@ -0,0 +1,21 @@ +This test ensures that we can tab to all anchor elements. Press tab three times to focus the elements below. + +Focusable + +Not focusable + +Focusable + +Focusable + + + +Result + +PASS gave focus to focusable element +PASS gave focus to focusable element +PASS gave focus to focusable element +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/fast/events/tab-focus-anchor-tab-to-links.html b/LayoutTests/fast/events/tab-focus-anchor-tab-to-links.html new file mode 100644 index 000000000000..0b75bf5aaad4 --- /dev/null +++ b/LayoutTests/fast/events/tab-focus-anchor-tab-to-links.html @@ -0,0 +1,40 @@ + + + + + + + + + +

This test ensures that we can tab to all anchor elements. Press tab three +times to focus the elements below. + +

Focusable

+

Not focusable

+

Focusable

+

Focusable

+

+ +

Result + +

+ + + diff --git a/LayoutTests/fast/events/tab-focus-anchor.html b/LayoutTests/fast/events/tab-focus-anchor.html index 0d0de37d06e8..9ac1b0d88f30 100644 --- a/LayoutTests/fast/events/tab-focus-anchor.html +++ b/LayoutTests/fast/events/tab-focus-anchor.html @@ -6,13 +6,13 @@ function pass() { var el = document.querySelector('pre'); - el.textContent = 'PASS'; + el.textContent += 'PASS\n'; } function fail() { var el = document.querySelector('pre'); - el.textContent = 'FAIL'; + el.textContent += 'FAIL\n'; } if (window.testRunner) { @@ -24,7 +24,7 @@ if (!window.testRunner) return; - for (var i = 0; i < 1; i++) { + for (var i = 0; i < 2; i++) { eventSender.keyDown('\t'); } }; @@ -36,12 +36,14 @@

This test ensures that we can tab to an a element with a tab index. Press tab to focus the element below. -

Not focusable (given the WebKitTabToLinks pref is set to false) +

Not focusable (given the WebKitTabToLinks pref is set to false) +

Not focusable +

Focusable

Focusable

Result -

FAIL
+

 
 
 
diff --git a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-crash.html b/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-crash.html
index 40cc45e24fd4..796ba49799c5 100644
--- a/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-crash.html
+++ b/LayoutTests/fast/flexbox/line-clamp-link-after-ellipsis-crash.html
@@ -1,4 +1,4 @@
- 
+
 
 
-
-
-
-Plain textarea with little content -
-A - -B -
- -Plain textarea -
-A - -B -
- -Disabled textarea -
-A - -B -
- -style="padding:10px" -
-A - -B -
- -style="padding:0px" -
-A - -B -
- -style="margin:10px" -
-A - -B -
- -style="margin:0px" -
-A - -B -
- -cols=3 -
-A - -B -
- -rows=3 -
-A - -B -
- -cols=10 -
-A - -B -
- -rows=10 -
-A - -B -
- -cols=5 rows=4 -
-A - -B -
- -
-
- -style="width:60px" -
-A - -B -
- -style="width:60px;padding:20px" -
-A - -B -
- -style="width:60px;padding:0" -
-A - -B -
- -style="height:60px" -
-A - -B -
- -style="width:60px;height:60px" -
-A - -B -
- -style="overflow:hidden" -
-A - -B -
- -style="overflow:scroll" -
-A - -B -
- -style="overflow:hidden;width:60px;height:60px" -
-A - -B -
- -style="overflow:scroll;width:60px;height:60px" -
-A - -B -
- -cols=5 style="width:60px;height:60px" -
-A - -B -
- -rows=4 style="width:60px;height:60px" -
-A - -B -
- -cols=5 rows=4 style="width:60px;height:60px" -
-A - -B -
- -wrap="off" -
-A - -B -
- -wrap="hard" -
-A - -B -
- -wrap="soft" -
-A - -B -
-
- \ No newline at end of file diff --git a/LayoutTests/fast/forms/basic-textareas-quirks-simple-lines.html b/LayoutTests/fast/forms/basic-textareas-quirks-simple-lines.html deleted file mode 100644 index bcbc6ba77eed..000000000000 --- a/LayoutTests/fast/forms/basic-textareas-quirks-simple-lines.html +++ /dev/null @@ -1,252 +0,0 @@ - - - -
-Plain textarea with little content -
-A - -B -
- -Plain textarea -
-A - -B -
- -Disabled textarea -
-A - -B -
- -style="padding:10px" -
-A - -B -
- -style="padding:0px" -
-A - -B -
- -style="margin:10px" -
-A - -B -
- -style="margin:0px" -
-A - -B -
- -cols=3 -
-A - -B -
- -rows=3 -
-A - -B -
- -cols=10 -
-A - -B -
- -rows=10 -
-A - -B -
- -cols=5 rows=4 -
-A - -B -
- -
-
- -style="width:60px" -
-A - -B -
- -style="width:60px;padding:20px" -
-A - -B -
- -style="width:60px;padding:0" -
-A - -B -
- -style="height:60px" -
-A - -B -
- -style="width:60px;height:60px" -
-A - -B -
- -style="overflow:hidden" -
-A - -B -
- -style="overflow:scroll" -
-A - -B -
- -style="overflow:hidden;width:60px;height:60px" -
-A - -B -
- -style="overflow:scroll;width:60px;height:60px" -
-A - -B -
- -cols=5 style="width:60px;height:60px" -
-A - -B -
- -rows=4 style="width:60px;height:60px" -
-A - -B -
- -cols=5 rows=4 style="width:60px;height:60px" -
-A - -B -
- -wrap="off" -
-A - -B -
- -wrap="hard" -
-A - -B -
- -wrap="soft" -
-A - -B -
-
- \ No newline at end of file diff --git a/LayoutTests/fast/forms/basic-textareas-quirks.html b/LayoutTests/fast/forms/basic-textareas-quirks.html index da8c0fb65009..bcbc6ba77eed 100644 --- a/LayoutTests/fast/forms/basic-textareas-quirks.html +++ b/LayoutTests/fast/forms/basic-textareas-quirks.html @@ -1,4 +1,3 @@ - + + + diff --git a/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt b/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt index db75d80a52af..5549f0117a3a 100644 --- a/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt +++ b/LayoutTests/fast/forms/input-appearance-spinbutton-expected.txt @@ -7,233 +7,201 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 245x18 text run at (0,0) width 245: "Test appearances of outer-spin-button." RenderBlock {DIV} at (0,34) size 784x0 - RenderBlock {DIV} at (0,34) size 784x528 - RenderTable {TABLE} at (0,0) size 466x528 - RenderTableSection {TBODY} at (0,0) size 466x528 - RenderTableRow {TR} at (0,2) size 466x524 - RenderTableCell {TD} at (2,81) size 189x366 [r=0 c=0 rs=1 cs=1] - RenderBlock {DIV} at (1,1) size 187x35 - RenderTextControl {INPUT} at (0,3) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (105,0) size 5x18 - text run at (105,0) width 5: " " - RenderBR {BR} at (109,14) size 1x0 - RenderTextControl {INPUT} at (0,19) size 106x16 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 100x10 - RenderBlock {DIV} at (0,0) size 87x10 - RenderBlock {DIV} at (1,36) size 187x36 - RenderTextControl {INPUT} at (0,2) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (115,0) size 5x18 - text run at (115,0) width 5: " " - RenderBR {BR} at (119,14) size 1x0 - RenderTextControl {INPUT} at (0,19) size 116x17 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 110x11 - RenderBlock {DIV} at (0,0) size 97x11 - RenderBlock {DIV} at (1,72) size 187x37 - RenderTextControl {INPUT} at (0,1) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (125,0) size 5x18 - text run at (125,0) width 5: " " - RenderBR {BR} at (129,14) size 1x0 - RenderTextControl {INPUT} at (0,19) size 126x18 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 120x12 - RenderBlock {DIV} at (0,0) size 107x12 - RenderBlock {DIV} at (1,109) size 187x46 - RenderTextControl {INPUT} at (2,2) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (140,2) size 5x18 - text run at (140,2) width 5: " " - RenderBR {BR} at (144,16) size 1x0 - RenderTextControl {INPUT} at (2,25) size 137x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 131x13 - RenderBlock {DIV} at (0,0) size 118x13 - RenderBlock {DIV} at (1,155) size 187x50 - RenderTextControl {INPUT} at (2,2) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (151,3) size 5x18 - text run at (151,3) width 5: " " - RenderBR {BR} at (155,17) size 1x0 - RenderTextControl {INPUT} at (2,27) size 148x21 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 142x15 - RenderBlock {DIV} at (0,0) size 129x15 - RenderBlock {DIV} at (1,205) size 187x52 - RenderTextControl {INPUT} at (2,2) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (162,4) size 5x18 - text run at (162,4) width 5: " " - RenderBR {BR} at (166,18) size 1x0 - RenderTextControl {INPUT} at (2,28) size 159x22 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 153x16 - RenderBlock {DIV} at (0,0) size 138x16 - RenderBlock {DIV} at (1,257) size 187x54 - RenderTextControl {INPUT} at (2,2) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (172,5) size 5x18 - text run at (172,5) width 5: " " - RenderBR {BR} at (176,19) size 1x0 - RenderTextControl {INPUT} at (2,29) size 169x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 163x17 - RenderBlock {DIV} at (0,0) size 148x17 - RenderBlock {DIV} at (1,311) size 187x54 - RenderTextControl {INPUT} at (2,2) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (182,5) size 5x18 - text run at (182,5) width 5: " " - RenderBR {BR} at (186,19) size 1x0 - RenderTextControl {INPUT} at (2,29) size 179x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 173x17 - RenderBlock {DIV} at (0,0) size 158x17 - RenderTableCell {TD} at (193,2) size 271x524 [r=0 c=1 rs=1 cs=1] - RenderBlock {DIV} at (1,1) size 269x56 - RenderTextControl {INPUT} at (2,2) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (193,6) size 5x18 - text run at (193,6) width 5: " " - RenderBR {BR} at (197,20) size 1x0 - RenderTextControl {INPUT} at (2,30) size 190x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 184x18 - RenderBlock {DIV} at (0,0) size 169x18 - RenderBlock {DIV} at (1,57) size 269x60 - RenderTextControl {INPUT} at (2,2) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (204,7) size 5x18 - text run at (204,7) width 5: " " - RenderBR {BR} at (208,21) size 1x0 - RenderTextControl {INPUT} at (2,32) size 201x26 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 195x20 - RenderBlock {DIV} at (0,0) size 180x20 - RenderBlock {DIV} at (1,117) size 269x62 - RenderTextControl {INPUT} at (2,2) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (213,8) size 5x18 - text run at (213,8) width 5: " " - RenderBR {BR} at (217,22) size 1x0 - RenderTextControl {INPUT} at (2,33) size 210x27 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 204x21 - RenderBlock {DIV} at (0,0) size 185x21 - RenderBlock {DIV} at (1,179) size 269x64 - RenderTextControl {INPUT} at (2,2) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (223,9) size 5x18 - text run at (223,9) width 5: " " - RenderBR {BR} at (227,23) size 1x0 - RenderTextControl {INPUT} at (2,34) size 220x28 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 214x22 - RenderBlock {DIV} at (0,0) size 195x22 - RenderBlock {DIV} at (1,243) size 269x66 - RenderTextControl {INPUT} at (2,2) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (232,10) size 5x18 - text run at (232,10) width 5: " " - RenderBR {BR} at (236,24) size 1x0 - RenderTextControl {INPUT} at (2,35) size 229x29 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 223x23 - RenderBlock {DIV} at (0,0) size 204x23 - RenderBlock {DIV} at (1,309) size 269x68 - RenderTextControl {INPUT} at (2,2) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (243,11) size 5x18 - text run at (243,11) width 5: " " - RenderBR {BR} at (247,25) size 1x0 - RenderTextControl {INPUT} at (2,36) size 240x30 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 234x24 - RenderBlock {DIV} at (0,0) size 215x24 - RenderBlock {DIV} at (1,377) size 269x72 - RenderTextControl {INPUT} at (2,2) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (254,12) size 5x18 - text run at (254,12) width 5: " " - RenderBR {BR} at (258,26) size 1x0 - RenderTextControl {INPUT} at (2,38) size 251x32 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 245x26 - RenderBlock {DIV} at (0,0) size 226x26 - RenderBlock {DIV} at (1,449) size 269x74 - RenderTextControl {INPUT} at (2,2) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderText {#text} at (264,13) size 5x18 - text run at (264,13) width 5: " " - RenderBR {BR} at (268,27) size 1x0 - RenderTextControl {INPUT} at (2,39) size 261x33 [bgcolor=#FFFFFF] [border: (2px inset #808080)] - RenderFlexibleBox {DIV} at (3,3) size 255x27 - RenderBlock {DIV} at (0,0) size 236x27 -layer at (14,130) size 99x10 - RenderBlock {DIV} at (3,3) size 100x10 -layer at (14,146) size 86x10 - RenderBlock {DIV} at (0,0) size 87x10 -layer at (14,164) size 109x11 - RenderBlock {DIV} at (3,3) size 110x11 -layer at (14,181) size 96x11 - RenderBlock {DIV} at (0,0) size 97x11 -layer at (14,199) size 119x12 - RenderBlock {DIV} at (3,3) size 120x12 -layer at (14,217) size 106x12 - RenderBlock {DIV} at (0,0) size 107x12 -layer at (16,237) size 130x13 - RenderBlock {DIV} at (3,3) size 131x13 -layer at (16,260) size 117x13 - RenderBlock {DIV} at (0,0) size 118x13 -layer at (16,283) size 141x15 - RenderBlock {DIV} at (3,3) size 142x15 -layer at (16,308) size 128x15 - RenderBlock {DIV} at (0,0) size 129x15 -layer at (16,333) size 152x16 - RenderBlock {DIV} at (3,3) size 153x16 -layer at (16,359) size 137x16 - RenderBlock {DIV} at (0,0) size 138x16 -layer at (16,385) size 162x17 - RenderBlock {DIV} at (3,3) size 163x17 -layer at (16,412) size 147x17 - RenderBlock {DIV} at (0,0) size 148x17 -layer at (16,439) size 173x17 - RenderBlock {DIV} at (3,3) size 173x17 -layer at (16,466) size 158x17 - RenderBlock {DIV} at (0,0) size 158x17 -layer at (207,50) size 183x18 - RenderBlock {DIV} at (3,3) size 184x18 -layer at (207,78) size 168x18 - RenderBlock {DIV} at (0,0) size 169x18 -layer at (207,106) size 194x20 - RenderBlock {DIV} at (3,3) size 195x20 -layer at (207,136) size 179x20 - RenderBlock {DIV} at (0,0) size 180x20 -layer at (207,166) size 203x21 - RenderBlock {DIV} at (3,3) size 204x21 -layer at (207,197) size 184x21 - RenderBlock {DIV} at (0,0) size 185x21 -layer at (207,228) size 213x22 - RenderBlock {DIV} at (3,3) size 214x22 -layer at (207,260) size 194x22 - RenderBlock {DIV} at (0,0) size 195x22 -layer at (207,292) size 223x23 - RenderBlock {DIV} at (3,3) size 223x23 -layer at (207,325) size 204x23 - RenderBlock {DIV} at (0,0) size 204x23 -layer at (207,358) size 233x24 - RenderBlock {DIV} at (3,3) size 234x24 -layer at (207,392) size 214x24 - RenderBlock {DIV} at (0,0) size 215x24 -layer at (207,426) size 244x26 - RenderBlock {DIV} at (3,3) size 245x26 -layer at (207,462) size 225x26 - RenderBlock {DIV} at (0,0) size 226x26 -layer at (207,498) size 255x27 - RenderBlock {DIV} at (3,3) size 255x27 -layer at (207,535) size 236x27 - RenderBlock {DIV} at (0,0) size 236x27 -layer at (101,145) size 13x12 - RenderBlock (relative positioned) {DIV} at (87,-1) size 14x12 -layer at (111,180) size 13x13 - RenderBlock (relative positioned) {DIV} at (97,-1) size 14x13 -layer at (121,216) size 13x14 - RenderBlock (relative positioned) {DIV} at (107,-1) size 14x14 -layer at (134,259) size 13x15 - RenderBlock (relative positioned) {DIV} at (118,-1) size 14x15 -layer at (145,307) size 13x17 - RenderBlock (relative positioned) {DIV} at (129,-1) size 14x17 -layer at (154,358) size 15x18 - RenderBlock (relative positioned) {DIV} at (138,-1) size 16x18 -layer at (164,411) size 15x19 - RenderBlock (relative positioned) {DIV} at (148,-1) size 16x19 -layer at (175,465) size 15x19 - RenderBlock (relative positioned) {DIV} at (158,-1) size 16x19 -layer at (376,77) size 15x20 - RenderBlock (relative positioned) {DIV} at (169,-1) size 16x20 -layer at (387,135) size 15x22 - RenderBlock (relative positioned) {DIV} at (180,-1) size 16x22 -layer at (392,196) size 19x23 - RenderBlock (relative positioned) {DIV} at (185,-1) size 20x23 -layer at (402,259) size 19x24 - RenderBlock (relative positioned) {DIV} at (195,-1) size 20x24 -layer at (412,324) size 19x25 - RenderBlock (relative positioned) {DIV} at (204,-1) size 20x25 -layer at (422,391) size 19x26 - RenderBlock (relative positioned) {DIV} at (215,-1) size 20x26 -layer at (433,461) size 19x28 - RenderBlock (relative positioned) {DIV} at (226,-1) size 20x28 -layer at (444,534) size 19x29 - RenderBlock (relative positioned) {DIV} at (236,-1) size 20x29 + RenderBlock {DIV} at (0,34) size 784x464 + RenderTable {TABLE} at (0,0) size 491x464 + RenderTableSection {TBODY} at (0,0) size 491x464 + RenderTableRow {TR} at (0,2) size 491x460 + RenderTableCell {TD} at (2,71) size 195x322 [r=0 c=0 rs=1 cs=1] + RenderBlock {DIV} at (1,70) size 193x32 + RenderTextControl {INPUT} at (0,0) size 113x16 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (112,-3) size 1x18 + RenderTextControl {INPUT} at (0,16) size 113x16 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 107x16 + RenderBlock {DIV} at (0,2) size 94x11 + RenderBlock {DIV} at (1,102) size 193x34 + RenderTextControl {INPUT} at (0,0) size 125x17 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (124,-2) size 1x18 + RenderTextControl {INPUT} at (0,17) size 125x17 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 119x15 + RenderBlock {DIV} at (0,2) size 106x11 + RenderBlock {DIV} at (1,136) size 193x36 + RenderTextControl {INPUT} at (0,0) size 137x18 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (136,-1) size 1x18 + RenderTextControl {INPUT} at (0,18) size 137x18 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 131x16 + RenderBlock {DIV} at (0,1) size 118x13 + RenderBlock {DIV} at (1,172) size 193x38 + RenderTextControl {INPUT} at (0,0) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (147,0) size 1x18 + RenderTextControl {INPUT} at (0,19) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 142x17 + RenderBlock {DIV} at (0,1) size 129x14 + RenderBlock {DIV} at (1,210) size 193x42 + RenderTextControl {INPUT} at (0,0) size 160x21 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (159,1) size 1x18 + RenderTextControl {INPUT} at (0,21) size 160x21 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 154x19 + RenderBlock {DIV} at (0,1) size 141x16 + RenderBlock {DIV} at (1,252) size 193x44 + RenderTextControl {INPUT} at (0,0) size 171x22 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (170,2) size 1x18 + RenderTextControl {INPUT} at (0,22) size 171x22 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 165x20 + RenderBlock {DIV} at (0,1) size 150x17 + RenderBlock {DIV} at (1,296) size 193x46 + RenderTextControl {INPUT} at (0,0) size 182x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (181,3) size 1x18 + RenderTextControl {INPUT} at (0,23) size 182x23 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,1) size 176x21 + RenderBlock {DIV} at (0,2) size 161x17 + RenderBlock {DIV} at (1,342) size 193x48 + RenderTextControl {INPUT} at (0,0) size 193x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (192,4) size 1x18 + RenderTextControl {INPUT} at (0,24) size 193x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 187x24 + RenderBlock {DIV} at (0,2) size 172x19 + RenderTableCell {TD} at (198,2) size 291x460 [r=0 c=1 rs=1 cs=1] + RenderBlock {DIV} at (1,1) size 289x48 + RenderTextControl {INPUT} at (0,0) size 204x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (203,4) size 1x18 + RenderTextControl {INPUT} at (0,24) size 204x24 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 198x24 + RenderBlock {DIV} at (0,3) size 183x18 + RenderBlock {DIV} at (1,49) size 289x52 + RenderTextControl {INPUT} at (0,0) size 214x26 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (213,5) size 1x18 + RenderTextControl {INPUT} at (0,26) size 214x26 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 208x26 + RenderBlock {DIV} at (0,2) size 193x21 + RenderBlock {DIV} at (1,101) size 289x54 + RenderTextControl {INPUT} at (0,0) size 226x27 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (225,6) size 1x18 + RenderTextControl {INPUT} at (0,27) size 226x27 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 220x27 + RenderBlock {DIV} at (0,3) size 201x21 + RenderBlock {DIV} at (1,155) size 289x56 + RenderTextControl {INPUT} at (0,0) size 238x28 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (237,7) size 1x18 + RenderTextControl {INPUT} at (0,28) size 238x28 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 232x28 + RenderBlock {DIV} at (0,3) size 213x22 + RenderBlock {DIV} at (1,211) size 289x58 + RenderTextControl {INPUT} at (0,0) size 249x29 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (248,8) size 1x18 + RenderTextControl {INPUT} at (0,29) size 249x29 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 243x29 + RenderBlock {DIV} at (0,3) size 224x23 + RenderBlock {DIV} at (1,269) size 289x60 + RenderTextControl {INPUT} at (0,0) size 262x30 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (261,9) size 1x18 + RenderTextControl {INPUT} at (0,30) size 262x30 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 256x30 + RenderBlock {DIV} at (0,3) size 237x24 + RenderBlock {DIV} at (1,329) size 289x64 + RenderTextControl {INPUT} at (0,0) size 275x32 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (274,10) size 1x18 + RenderTextControl {INPUT} at (0,32) size 275x32 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 269x32 + RenderBlock {DIV} at (0,3) size 250x26 + RenderBlock {DIV} at (1,393) size 289x66 + RenderTextControl {INPUT} at (0,0) size 289x33 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderBR {BR} at (288,11) size 1x18 + RenderTextControl {INPUT} at (0,33) size 289x33 [bgcolor=#FFFFFF] [border: (2px inset #808080)] + RenderFlexibleBox {DIV} at (3,0) size 283x33 + RenderBlock {DIV} at (0,3) size 264x27 +layer at (14,117) size 107x10 + RenderBlock {DIV} at (3,3) size 107x10 +layer at (14,133) size 94x10 + RenderBlock {DIV} at (0,0) size 94x10 +layer at (14,149) size 119x11 + RenderBlock {DIV} at (3,3) size 119x11 +layer at (14,166) size 106x11 + RenderBlock {DIV} at (0,0) size 106x11 +layer at (14,183) size 130x12 + RenderBlock {DIV} at (3,3) size 131x12 +layer at (14,201) size 117x12 + RenderBlock {DIV} at (0,0) size 118x12 +layer at (14,219) size 142x13 + RenderBlock {DIV} at (3,3) size 142x13 +layer at (14,238) size 129x13 + RenderBlock {DIV} at (0,0) size 129x13 +layer at (14,257) size 153x15 + RenderBlock {DIV} at (3,3) size 154x15 +layer at (14,278) size 140x15 + RenderBlock {DIV} at (0,0) size 141x15 +layer at (14,299) size 164x16 + RenderBlock {DIV} at (3,3) size 165x16 +layer at (14,321) size 149x16 + RenderBlock {DIV} at (0,0) size 150x16 +layer at (14,343) size 175x17 + RenderBlock {DIV} at (3,3) size 176x17 +layer at (14,366) size 160x17 + RenderBlock {DIV} at (0,0) size 161x17 +layer at (14,389) size 186x18 + RenderBlock {DIV} at (3,3) size 187x18 +layer at (14,413) size 171x18 + RenderBlock {DIV} at (0,0) size 172x18 +layer at (210,48) size 197x18 + RenderBlock {DIV} at (3,3) size 198x18 +layer at (210,72) size 182x18 + RenderBlock {DIV} at (0,0) size 183x18 +layer at (210,96) size 208x20 + RenderBlock {DIV} at (3,3) size 208x20 +layer at (210,122) size 193x20 + RenderBlock {DIV} at (0,0) size 193x20 +layer at (210,148) size 220x21 + RenderBlock {DIV} at (3,3) size 220x21 +layer at (210,175) size 201x21 + RenderBlock {DIV} at (0,0) size 201x21 +layer at (210,202) size 232x22 + RenderBlock {DIV} at (3,3) size 232x22 +layer at (210,230) size 213x22 + RenderBlock {DIV} at (0,0) size 213x22 +layer at (210,258) size 243x23 + RenderBlock {DIV} at (3,3) size 243x23 +layer at (210,287) size 224x23 + RenderBlock {DIV} at (0,0) size 224x23 +layer at (210,316) size 256x24 + RenderBlock {DIV} at (3,3) size 256x24 +layer at (210,346) size 237x24 + RenderBlock {DIV} at (0,0) size 237x24 +layer at (210,376) size 269x26 + RenderBlock {DIV} at (3,3) size 269x26 +layer at (210,408) size 250x26 + RenderBlock {DIV} at (0,0) size 250x26 +layer at (210,440) size 282x27 + RenderBlock {DIV} at (3,3) size 283x27 +layer at (210,473) size 263x27 + RenderBlock {DIV} at (0,0) size 264x27 +layer at (108,131) size 13x15 + RenderBlock (relative positioned) {DIV} at (93,0) size 14x15 +layer at (120,164) size 13x15 + RenderBlock (relative positioned) {DIV} at (105,0) size 14x15 +layer at (131,200) size 13x15 + RenderBlock (relative positioned) {DIV} at (117,0) size 14x15 +layer at (143,236) size 13x17 + RenderBlock (relative positioned) {DIV} at (128,0) size 14x17 +layer at (154,277) size 13x18 + RenderBlock (relative positioned) {DIV} at (140,0) size 14x18 +layer at (163,319) size 15x20 + RenderBlock (relative positioned) {DIV} at (149,0) size 16x20 +layer at (174,364) size 15x21 + RenderBlock (relative positioned) {DIV} at (160,0) size 16x21 +layer at (185,411) size 15x23 + RenderBlock (relative positioned) {DIV} at (171,0) size 16x23 +layer at (393,69) size 15x24 + RenderBlock (relative positioned) {DIV} at (182,0) size 16x24 +layer at (403,119) size 15x26 + RenderBlock (relative positioned) {DIV} at (192,0) size 16x26 +layer at (411,172) size 19x27 + RenderBlock (relative positioned) {DIV} at (200,0) size 20x27 +layer at (423,227) size 19x28 + RenderBlock (relative positioned) {DIV} at (212,-1) size 20x30 +layer at (434,284) size 19x30 + RenderBlock (relative positioned) {DIV} at (223,-1) size 20x31 +layer at (447,342) size 19x32 + RenderBlock (relative positioned) {DIV} at (236,-1) size 20x32 +layer at (460,405) size 19x33 + RenderBlock (relative positioned) {DIV} at (249,-1) size 20x34 +layer at (474,469) size 19x35 + RenderBlock (relative positioned) {DIV} at (263,-1) size 20x35 diff --git a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines-expected.html b/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines-expected.html deleted file mode 100644 index de710acb8602..000000000000 --- a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines-expected.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - -
ggggggggg ggggggggg
- -

This is a pixel test that tests the linebox overflow in the padding on textareas. The div on the right is styled to look like a textarea.

\ No newline at end of file diff --git a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines.html b/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines.html deleted file mode 100644 index ea623b1c2b6f..000000000000 --- a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding-simple-lines.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - -
ggggggggg ggggggggg
- -

This is a pixel test that tests the linebox overflow in the padding on textareas. The div on the right is styled to look like a textarea.

\ No newline at end of file diff --git a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding.html b/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding.html index de710acb8602..195115dafaa5 100644 --- a/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding.html +++ b/LayoutTests/fast/forms/linebox-overflow-in-textarea-padding.html @@ -1,4 +1,3 @@ - + + + + + + diff --git a/LayoutTests/fast/forms/listbox-scrollbar-dark-mode.html b/LayoutTests/fast/forms/listbox-scrollbar-dark-mode.html new file mode 100644 index 000000000000..3b597887ada8 --- /dev/null +++ b/LayoutTests/fast/forms/listbox-scrollbar-dark-mode.html @@ -0,0 +1,32 @@ + + + + + + + + + + diff --git a/LayoutTests/fast/forms/negativeLineHeight-simple-lines-expected.html b/LayoutTests/fast/forms/negativeLineHeight-simple-lines-expected.html deleted file mode 100644 index bf1e34caca1c..000000000000 --- a/LayoutTests/fast/forms/negativeLineHeight-simple-lines-expected.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - -The textarea below should have standard line-height because textareas should ignore negative line-heights
-

TEXTAREA
- -

- -

- - \ No newline at end of file diff --git a/LayoutTests/fast/forms/negativeLineHeight-simple-lines.html b/LayoutTests/fast/forms/negativeLineHeight-simple-lines.html deleted file mode 100644 index 7187d2220f9e..000000000000 --- a/LayoutTests/fast/forms/negativeLineHeight-simple-lines.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - -The textarea below should have standard line-height because textareas should ignore negative line-heights
-

TEXTAREA
- -

- -

- - \ No newline at end of file diff --git a/LayoutTests/fast/forms/negativeLineHeight.html b/LayoutTests/fast/forms/negativeLineHeight.html index bf1e34caca1c..7187d2220f9e 100644 --- a/LayoutTests/fast/forms/negativeLineHeight.html +++ b/LayoutTests/fast/forms/negativeLineHeight.html @@ -1,4 +1,3 @@ - + diff --git a/LayoutTests/fast/forms/textfield-dark-color-scheme.html b/LayoutTests/fast/forms/textfield-dark-color-scheme.html new file mode 100644 index 000000000000..632b553f8cfb --- /dev/null +++ b/LayoutTests/fast/forms/textfield-dark-color-scheme.html @@ -0,0 +1,8 @@ + + diff --git a/LayoutTests/fast/forms/time/time-input-rendering-basic-expected.txt b/LayoutTests/fast/forms/time/time-input-rendering-basic-expected.txt index 25b3f203d586..a6139ab57e7a 100644 --- a/LayoutTests/fast/forms/time/time-input-rendering-basic-expected.txt +++ b/LayoutTests/fast/forms/time/time-input-rendering-basic-expected.txt @@ -3,18 +3,18 @@ layer at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 - RenderText {#text} at (62,0) size 4x19 - text run at (62,0) width 4: " " + RenderText {#text} at (147,0) size 5x18 + text run at (147,0) width 5: " " RenderText {#text} at (0,0) size 0x0 -layer at (8,8) size 62x22 clip at (9,9) size 60x20 - RenderFlexibleBox {INPUT} at (0,0) size 62x22 [color=#007AFF] [bgcolor=#E9E9EA] [border: (1px solid #FFFFFF)] - RenderBlock {DIV} at (6,4) size 50x14 - RenderText {#text} at (3,0) size 44x14 - text run at (3,0) width 44: "9:41 AM" -layer at (74,8) size 62x22 clip at (75,9) size 60x20 - RenderFlexibleBox {INPUT} at (66,0) size 62x22 [color=#007AFF] [bgcolor=#E9E9EA] [border: (1px solid #FFFFFF)] - RenderBlock {DIV} at (6,4) size 50x14 - RenderText {#text} at (3,0) size 44x14 - text run at (3,0) width 18: "AM" - text run at (20,0) width 4 RTL: " " - text run at (23,0) width 24: "9:41" +layer at (8,8) size 148x19 + RenderTextControl {INPUT} at (0,0) size 148x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] +layer at (11,11) size 142x13 + RenderBlock {DIV} at (3,3) size 142x13 + RenderText {#text} at (0,0) size 49x13 + text run at (0,0) width 49: "09:41:00" +layer at (160,8) size 146x19 + RenderTextControl {INPUT} at (151,0) size 147x19 [bgcolor=#FFFFFF] [border: (2px inset #808080)] +layer at (163,11) size 140x13 + RenderBlock {DIV} at (3,3) size 140x13 + RenderText {#text} at (91,0) size 49x13 + text run at (91,0) width 49: "09:41:00" diff --git a/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context-expected.txt b/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context-expected.txt new file mode 100644 index 000000000000..e00be91f8697 --- /dev/null +++ b/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context-expected.txt @@ -0,0 +1,4 @@ +This tests calling createImageBitmap on a window without a browsing context. +WebKit should not crash and should show pass below. + +Partial PASS diff --git a/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context.html b/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context.html new file mode 100644 index 000000000000..8629bd4d32e0 --- /dev/null +++ b/LayoutTests/fast/images/create-image-bitmap-after-stopping-script-execution-context.html @@ -0,0 +1,27 @@ + + + +

This tests calling createImageBitmap on a window without a browsing context.
+WebKit should not crash and should show pass below.

+
Running
+ + + diff --git a/LayoutTests/fast/images/image-in-map-expected.txt b/LayoutTests/fast/images/image-in-map-expected.txt index 4214a3432ac6..fc591475909b 100644 --- a/LayoutTests/fast/images/image-in-map-expected.txt +++ b/LayoutTests/fast/images/image-in-map-expected.txt @@ -3,6 +3,6 @@ layer at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 - RenderInline {MAP} at (0,0) size 564x17 + RenderInline {MAP} at (0,280) size 564x17 RenderImage {IMG} at (0,0) size 564x294 RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/images/imageDocument-appendBytes-crash-expected.txt b/LayoutTests/fast/images/imageDocument-appendBytes-crash-expected.txt new file mode 100644 index 000000000000..b1e5aaab3bcd --- /dev/null +++ b/LayoutTests/fast/images/imageDocument-appendBytes-crash-expected.txt @@ -0,0 +1,3 @@ +This test PASSED if it did not crash. + + diff --git a/LayoutTests/fast/images/imageDocument-appendBytes-crash.html b/LayoutTests/fast/images/imageDocument-appendBytes-crash.html new file mode 100644 index 000000000000..4c0cf2c230a0 --- /dev/null +++ b/LayoutTests/fast/images/imageDocument-appendBytes-crash.html @@ -0,0 +1,23 @@ + +

This test PASSED if it did not crash.

+ + + + + \ No newline at end of file diff --git a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break-expected.html b/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break-expected.html deleted file mode 100644 index 7f8b93615e96..000000000000 --- a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break-expected.html +++ /dev/null @@ -1,9 +0,0 @@ - - - -PASS if no content jump -
when
text is selected
diff --git a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break.html b/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break.html deleted file mode 100644 index d746b0618759..000000000000 --- a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-hard-line-break.html +++ /dev/null @@ -1,8 +0,0 @@ - - -PASS if no content jump -
when
text is selected
diff --git a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes-expected.html b/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes-expected.html deleted file mode 100644 index 23d88ae8fcbc..000000000000 --- a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes-expected.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -PASS if no content jump -
whenthis
-
andthis
-
andthis
-text is selected diff --git a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes.html b/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes.html deleted file mode 100644 index 9835b249cd9b..000000000000 --- a/LayoutTests/fast/inline/hidpi-legacy-integral-rounding-on-inline-boxes.html +++ /dev/null @@ -1,12 +0,0 @@ - - - -PASS if no content jump -
whenthis
-
andthis
-
andthis
-text is selected diff --git a/LayoutTests/fast/inline/inline-content-with-border-left-right-expected.txt b/LayoutTests/fast/inline/inline-content-with-border-left-right-expected.txt index b75a5bcd68a1..fd1075e5f983 100644 --- a/LayoutTests/fast/inline/inline-content-with-border-left-right-expected.txt +++ b/LayoutTests/fast/inline/inline-content-with-border-left-right-expected.txt @@ -7,7 +7,7 @@ layer at (8,8) size 402x22 clip at (9,9) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,0) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (7,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (33,1) size 6x14 @@ -16,7 +16,7 @@ layer at (8,30) size 402x22 clip at (9,31) size 400x20 RenderBlock {DIV} at (0,22) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (7,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 @@ -25,74 +25,74 @@ layer at (8,52) size 402x22 clip at (9,53) size 400x20 RenderBlock {DIV} at (0,44) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (7,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 text run at (23,1) width 6: "3" layer at (8,74) size 402x22 clip at (9,75) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,66) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (1,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (17,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (43,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,96) size 402x22 clip at (9,97) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,88) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 46x14 [border: none (10px solid #008000)] - RenderInline {SPAN} at (0,0) size 36x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (1,1) size 46x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (11,1) size 36x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (11,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,118) size 402x22 clip at (9,119) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,110) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 46x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 36x14 [border: none (10px solid #008000)] - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (1,1) size 46x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (1,1) size 36x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (11,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,140) size 402x22 clip at (9,141) size 400x20 RenderBlock {DIV} at (0,132) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (1,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (17,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (33,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,162) size 402x22 clip at (9,163) size 400x20 RenderBlock {DIV} at (0,154) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (1,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (17,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (33,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" layer at (8,184) size 402x22 clip at (9,185) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,176) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (1,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (27,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (37,1) size 6x14 text run at (37,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (53,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (63,1) size 6x14 text run at (63,1) width 6: "3" layer at (8,206) size 402x22 clip at (9,207) size 400x20 RenderBlock {DIV} at (0,198) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 48x14 [border: none (10px solid #008000)] - RenderInline {SPAN} at (0,0) size 32x14 [border: none (10px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (1,1) size 48x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (11,1) size 32x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (21,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (37,1) size 6x14 @@ -101,9 +101,9 @@ layer at (8,206) size 402x22 clip at (9,207) size 400x20 text run at (43,1) width 6: "3" layer at (8,228) size 402x22 clip at (9,229) size 400x20 RenderBlock {DIV} at (0,220) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 48x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 32x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (1,1) size 48x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (1,1) size 32x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (1,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" RenderText {#text} at (17,1) size 6x14 @@ -112,9 +112,9 @@ layer at (8,228) size 402x22 clip at (9,229) size 400x20 text run at (33,1) width 6: "3" layer at (8,250) size 402x22 clip at (9,251) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,242) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 78x34 [border: (10px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 52x34 [border: (10px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (1,-9) size 78x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (11,-9) size 52x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (21,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (47,1) size 6x14 @@ -125,11 +125,11 @@ layer at (8,272) size 402x22 clip at (9,273) size 400x20 RenderBlock {DIV} at (0,264) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (7,1) size 54x14 [border: none (10px solid #008000)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 [border: none (10px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (23,1) size 32x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (33,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -142,11 +142,11 @@ layer at (8,294) size 402x22 clip at (9,295) size 400x20 RenderBlock {DIV} at (0,286) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (7,1) size 54x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (13,1) size 32x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (13,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (13,1) size 6x14 text run at (13,1) width 6: "3" RenderText {#text} at (29,1) size 6x14 @@ -159,11 +159,11 @@ layer at (8,316) size 402x22 clip at (9,317) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,308) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 84x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (7,-9) size 84x34 [border: (10px solid #0000FF)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 52x34 [border: (10px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 26x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (23,-9) size 52x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (33,-9) size 26x34 [border: (10px solid #0000FF)] RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (59,1) size 6x14 @@ -176,11 +176,11 @@ layer at (8,338) size 402x22 clip at (9,339) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,330) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (7,1) size 64x14 [border: none (10px solid #008000)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 42x34 [border: (10px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (23,-9) size 42x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (33,1) size 16x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -193,11 +193,11 @@ layer at (8,360) size 402x22 clip at (9,361) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,352) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (7,1) size 64x14 [border: none (10px solid #FF0000) none] RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 42x34 [border: (10px solid #0000FF)] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (13,-9) size 42x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (23,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 @@ -210,11 +210,11 @@ layer at (8,382) size 402x22 clip at (9,383) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,374) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x34 [border: (10px solid #0000FF)] + RenderInline {SPAN} at (7,-9) size 64x34 [border: (10px solid #0000FF)] RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 [border: none (10px solid #FF0000) none] - RenderInline {SPAN} at (0,0) size 16x14 [border: none (10px solid #008000)] + RenderInline {SPAN} at (23,1) size 32x14 [border: none (10px solid #FF0000) none] + RenderInline {SPAN} at (23,1) size 16x14 [border: none (10px solid #008000)] RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 diff --git a/LayoutTests/fast/inline/inline-content-with-margin-left-right-expected.txt b/LayoutTests/fast/inline/inline-content-with-margin-left-right-expected.txt index ac5260c8062b..6effbd1632cd 100644 --- a/LayoutTests/fast/inline/inline-content-with-margin-left-right-expected.txt +++ b/LayoutTests/fast/inline/inline-content-with-margin-left-right-expected.txt @@ -7,7 +7,7 @@ layer at (8,8) size 402x22 clip at (9,9) size 400x20 RenderBlock {DIV} at (0,0) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (17,1) size 6x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (33,1) size 6x14 @@ -16,7 +16,7 @@ layer at (8,30) size 402x22 clip at (9,31) size 400x20 RenderBlock {DIV} at (0,22) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (17,1) size 6x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 @@ -25,74 +25,74 @@ layer at (8,52) size 402x22 clip at (9,53) size 400x20 RenderBlock {DIV} at (0,44) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (7,1) size 6x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 text run at (23,1) width 6: "3" layer at (8,74) size 402x22 clip at (9,75) size 400x20 RenderBlock {DIV} at (0,66) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 6x14 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (27,1) size 6x14 RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (43,1) size 6x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,96) size 402x22 clip at (9,97) size 400x20 RenderBlock {DIV} at (0,88) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 36x14 - RenderInline {SPAN} at (0,0) size 26x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 36x14 + RenderInline {SPAN} at (11,1) size 26x14 + RenderInline {SPAN} at (21,1) size 6x14 RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,118) size 402x22 clip at (9,119) size 400x20 RenderBlock {DIV} at (0,110) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 36x14 - RenderInline {SPAN} at (0,0) size 26x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (1,1) size 36x14 + RenderInline {SPAN} at (11,1) size 26x14 + RenderInline {SPAN} at (21,1) size 6x14 RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,140) size 402x22 clip at (9,141) size 400x20 RenderBlock {DIV} at (0,132) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 6x14 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (27,1) size 6x14 RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (43,1) size 6x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,162) size 402x22 clip at (9,163) size 400x20 RenderBlock {DIV} at (0,154) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (1,1) size 6x14 RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (17,1) size 6x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (33,1) size 6x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" layer at (8,184) size 402x22 clip at (9,185) size 400x20 RenderBlock {DIV} at (0,176) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 6x14 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (37,1) size 6x14 RenderText {#text} at (37,1) size 6x14 text run at (37,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (63,1) size 6x14 RenderText {#text} at (63,1) size 6x14 text run at (63,1) width 6: "3" layer at (8,206) size 402x22 clip at (9,207) size 400x20 RenderBlock {DIV} at (0,198) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 38x14 - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 38x14 + RenderInline {SPAN} at (21,1) size 22x14 + RenderInline {SPAN} at (31,1) size 6x14 RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (37,1) size 6x14 @@ -101,9 +101,9 @@ layer at (8,206) size 402x22 clip at (9,207) size 400x20 text run at (43,1) width 6: "3" layer at (8,228) size 402x22 clip at (9,229) size 400x20 RenderBlock {DIV} at (0,220) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 38x14 - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (1,1) size 38x14 + RenderInline {SPAN} at (1,1) size 22x14 + RenderInline {SPAN} at (1,1) size 6x14 RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" RenderText {#text} at (17,1) size 6x14 @@ -112,9 +112,9 @@ layer at (8,228) size 402x22 clip at (9,229) size 400x20 text run at (33,1) width 6: "3" layer at (8,250) size 402x22 clip at (9,251) size 400x20 RenderBlock {DIV} at (0,242) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 58x14 - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (11,1) size 58x14 + RenderInline {SPAN} at (21,1) size 32x14 + RenderInline {SPAN} at (31,1) size 6x14 RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (47,1) size 6x14 @@ -125,11 +125,11 @@ layer at (8,272) size 402x22 clip at (9,273) size 400x20 RenderBlock {DIV} at (0,264) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 44x14 + RenderInline {SPAN} at (17,1) size 44x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (33,1) size 22x14 + RenderInline {SPAN} at (43,1) size 6x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -142,11 +142,11 @@ layer at (8,294) size 402x22 clip at (9,295) size 400x20 RenderBlock {DIV} at (0,286) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 44x14 + RenderInline {SPAN} at (7,1) size 44x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (13,1) size 22x14 + RenderInline {SPAN} at (13,1) size 6x14 RenderText {#text} at (13,1) size 6x14 text run at (13,1) width 6: "3" RenderText {#text} at (29,1) size 6x14 @@ -159,11 +159,11 @@ layer at (8,316) size 402x22 clip at (9,317) size 400x20 RenderBlock {DIV} at (0,308) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x14 + RenderInline {SPAN} at (17,1) size 64x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (33,1) size 32x14 + RenderInline {SPAN} at (43,1) size 6x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (59,1) size 6x14 @@ -176,11 +176,11 @@ layer at (8,338) size 402x22 clip at (9,339) size 400x20 RenderBlock {DIV} at (0,330) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 + RenderInline {SPAN} at (17,1) size 54x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (33,1) size 22x14 + RenderInline {SPAN} at (33,1) size 6x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -193,11 +193,11 @@ layer at (8,360) size 402x22 clip at (9,361) size 400x20 RenderBlock {DIV} at (0,352) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 + RenderInline {SPAN} at (7,1) size 54x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (23,1) size 22x14 + RenderInline {SPAN} at (33,1) size 6x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 @@ -210,11 +210,11 @@ layer at (8,382) size 402x22 clip at (9,383) size 400x20 RenderBlock {DIV} at (0,374) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 44x14 + RenderInline {SPAN} at (17,1) size 44x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 22x14 - RenderInline {SPAN} at (0,0) size 6x14 + RenderInline {SPAN} at (23,1) size 22x14 + RenderInline {SPAN} at (33,1) size 6x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 diff --git a/LayoutTests/fast/inline/inline-content-with-padding-left-right-expected.txt b/LayoutTests/fast/inline/inline-content-with-padding-left-right-expected.txt index fdc6cefccdc5..596f2796224f 100644 --- a/LayoutTests/fast/inline/inline-content-with-padding-left-right-expected.txt +++ b/LayoutTests/fast/inline/inline-content-with-padding-left-right-expected.txt @@ -7,7 +7,7 @@ layer at (8,8) size 402x22 clip at (9,9) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,0) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (7,-9) size 26x34 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (33,1) size 6x14 @@ -16,7 +16,7 @@ layer at (8,30) size 402x22 clip at (9,31) size 400x20 RenderBlock {DIV} at (0,22) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (7,1) size 16x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 @@ -25,74 +25,74 @@ layer at (8,52) size 402x22 clip at (9,53) size 400x20 RenderBlock {DIV} at (0,44) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (7,1) size 16x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" RenderText {#text} at (23,1) size 6x14 text run at (23,1) width 6: "3" layer at (8,74) size 402x22 clip at (9,75) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,66) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (1,1) size 16x14 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (17,-9) size 26x34 RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (43,1) size 16x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,96) size 402x22 clip at (9,97) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,88) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 46x14 - RenderInline {SPAN} at (0,0) size 36x14 - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (1,1) size 46x14 + RenderInline {SPAN} at (11,1) size 36x14 + RenderInline {SPAN} at (11,-9) size 26x34 RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,118) size 402x22 clip at (9,119) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,110) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 46x14 - RenderInline {SPAN} at (0,0) size 36x14 - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (1,1) size 46x14 + RenderInline {SPAN} at (1,1) size 36x14 + RenderInline {SPAN} at (11,-9) size 26x34 RenderText {#text} at (21,1) size 6x14 text run at (21,1) width 6: "1" layer at (8,140) size 402x22 clip at (9,141) size 400x20 RenderBlock {DIV} at (0,132) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (1,1) size 16x14 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (17,1) size 16x14 RenderText {#text} at (27,1) size 6x14 text run at (27,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (33,1) size 16x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" layer at (8,162) size 402x22 clip at (9,163) size 400x20 RenderBlock {DIV} at (0,154) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (1,1) size 16x14 RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (17,1) size 16x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (33,1) size 16x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" layer at (8,184) size 402x22 clip at (9,185) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,176) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (1,-9) size 26x34 RenderText {#text} at (11,1) size 6x14 text run at (11,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (27,-9) size 26x34 RenderText {#text} at (37,1) size 6x14 text run at (37,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (53,-9) size 26x34 RenderText {#text} at (63,1) size 6x14 text run at (63,1) width 6: "3" layer at (8,206) size 402x22 clip at (9,207) size 400x20 RenderBlock {DIV} at (0,198) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 48x14 - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (1,1) size 48x14 + RenderInline {SPAN} at (11,1) size 32x14 + RenderInline {SPAN} at (21,1) size 16x14 RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (37,1) size 6x14 @@ -101,9 +101,9 @@ layer at (8,206) size 402x22 clip at (9,207) size 400x20 text run at (43,1) width 6: "3" layer at (8,228) size 402x22 clip at (9,229) size 400x20 RenderBlock {DIV} at (0,220) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 48x14 - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (1,1) size 48x14 + RenderInline {SPAN} at (1,1) size 32x14 + RenderInline {SPAN} at (1,1) size 16x14 RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" RenderText {#text} at (17,1) size 6x14 @@ -112,9 +112,9 @@ layer at (8,228) size 402x22 clip at (9,229) size 400x20 text run at (33,1) width 6: "3" layer at (8,250) size 402x22 clip at (9,251) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,242) size 402x22 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 78x34 - RenderInline {SPAN} at (0,0) size 52x34 - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (1,-9) size 78x34 + RenderInline {SPAN} at (11,-9) size 52x34 + RenderInline {SPAN} at (21,-9) size 26x34 RenderText {#text} at (31,1) size 6x14 text run at (31,1) width 6: "1" RenderText {#text} at (47,1) size 6x14 @@ -125,11 +125,11 @@ layer at (8,272) size 402x22 clip at (9,273) size 400x20 RenderBlock {DIV} at (0,264) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 + RenderInline {SPAN} at (7,1) size 54x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (23,1) size 32x14 + RenderInline {SPAN} at (33,1) size 16x14 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -142,11 +142,11 @@ layer at (8,294) size 402x22 clip at (9,295) size 400x20 RenderBlock {DIV} at (0,286) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 54x14 + RenderInline {SPAN} at (7,1) size 54x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (13,1) size 32x14 + RenderInline {SPAN} at (13,1) size 16x14 RenderText {#text} at (13,1) size 6x14 text run at (13,1) width 6: "3" RenderText {#text} at (29,1) size 6x14 @@ -159,11 +159,11 @@ layer at (8,316) size 402x22 clip at (9,317) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,308) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 84x34 + RenderInline {SPAN} at (7,-9) size 84x34 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 52x34 - RenderInline {SPAN} at (0,0) size 26x34 + RenderInline {SPAN} at (23,-9) size 52x34 + RenderInline {SPAN} at (33,-9) size 26x34 RenderText {#text} at (43,1) size 6x14 text run at (43,1) width 6: "3" RenderText {#text} at (59,1) size 6x14 @@ -176,11 +176,11 @@ layer at (8,338) size 402x22 clip at (9,339) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,330) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x14 + RenderInline {SPAN} at (7,1) size 64x14 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 42x34 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (23,-9) size 42x34 + RenderInline {SPAN} at (33,1) size 16x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (49,1) size 6x14 @@ -193,11 +193,11 @@ layer at (8,360) size 402x22 clip at (9,361) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,352) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x14 + RenderInline {SPAN} at (7,1) size 64x14 RenderText {#text} at (7,1) size 6x14 text run at (7,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 42x34 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (13,-9) size 42x34 + RenderInline {SPAN} at (23,1) size 16x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 @@ -210,11 +210,11 @@ layer at (8,382) size 402x22 clip at (9,383) size 400x20 scrollHeight 24 RenderBlock {DIV} at (0,374) size 402x22 [border: (1px solid #008000)] RenderText {#text} at (1,1) size 6x14 text run at (1,1) width 6: "1" - RenderInline {SPAN} at (0,0) size 64x34 + RenderInline {SPAN} at (7,-9) size 64x34 RenderText {#text} at (17,1) size 6x14 text run at (17,1) width 6: "2" - RenderInline {SPAN} at (0,0) size 32x14 - RenderInline {SPAN} at (0,0) size 16x14 + RenderInline {SPAN} at (23,1) size 32x14 + RenderInline {SPAN} at (23,1) size 16x14 RenderText {#text} at (33,1) size 6x14 text run at (33,1) width 6: "3" RenderText {#text} at (39,1) size 6x14 diff --git a/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change-expected.html b/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change-expected.html new file mode 100644 index 000000000000..a6d1564d3167 --- /dev/null +++ b/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change-expected.html @@ -0,0 +1,6 @@ + +
PASS if no content wrapping
diff --git a/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change.html b/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change.html new file mode 100644 index 000000000000..c4548f329c76 --- /dev/null +++ b/LayoutTests/fast/inline/preferred-width-computation-after-codepath-change.html @@ -0,0 +1,10 @@ + +
PASS if no content wrapping
+ diff --git a/LayoutTests/fast/inline/simple-inline-inflow-positioned-expected.txt b/LayoutTests/fast/inline/simple-inline-inflow-positioned-expected.txt index ee8b12bc7254..9932f0010426 100644 --- a/LayoutTests/fast/inline/simple-inline-inflow-positioned-expected.txt +++ b/LayoutTests/fast/inline/simple-inline-inflow-positioned-expected.txt @@ -5,17 +5,17 @@ layer at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 layer at (8,8) size 202x202 clip at (9,9) size 200x200 RenderBlock {DIV} at (0,0) size 202x202 [border: (1px solid #008000)] - RenderInline {SPAN} at (0,0) size 25x18 + RenderInline {SPAN} at (1,1) size 25x18 RenderText {#text} at (1,1) size 25x18 text run at (1,1) width 25: "first" - RenderInline {SPAN} at (0,0) size 32x18 + RenderInline {SPAN} at (100,1) size 32x18 RenderText {#text} at (100,1) size 32x18 text run at (100,1) width 32: "forth" layer at (108,8) size 76x18 backgroundClip at (9,9) size 200x200 clip at (9,9) size 200x200 - RenderInline (relative positioned) {SPAN} at (0,0) size 76x18 - RenderInline {SPAN} at (0,0) size 46x18 + RenderInline (relative positioned) {SPAN} at (25,1) size 76x18 + RenderInline {SPAN} at (25,1) size 46x18 RenderText {#text} at (25,1) size 46x18 text run at (25,1) width 46: "second" - RenderInline {SPAN} at (0,0) size 31x18 + RenderInline {SPAN} at (70,1) size 31x18 RenderText {#text} at (70,1) size 31x18 text run at (70,1) width 31: "third" diff --git a/LayoutTests/fast/inline/simple-inline-with-out-of-flow-descendant2-expected.txt b/LayoutTests/fast/inline/simple-inline-with-out-of-flow-descendant2-expected.txt index 0a967a994310..0df6bcde099c 100644 --- a/LayoutTests/fast/inline/simple-inline-with-out-of-flow-descendant2-expected.txt +++ b/LayoutTests/fast/inline/simple-inline-with-out-of-flow-descendant2-expected.txt @@ -10,6 +10,6 @@ layer at (8,8) size 202x202 clip at (9,9) size 200x200 RenderText {#text} at (62,1) size 23x14 text run at (62,1) width 23: "after" layer at (108,108) size 32x14 - RenderInline (relative positioned) {SPAN} at (0,0) size 32x14 + RenderInline (relative positioned) {SPAN} at (31,1) size 32x14 RenderText {#text} at (31,1) size 32x14 text run at (31,1) width 32: "nested" diff --git a/LayoutTests/fast/inline/simple-intruding-float1-expected.txt b/LayoutTests/fast/inline/simple-intruding-float1-expected.txt index 3fc94d234d1a..46680a3cd4ca 100644 --- a/LayoutTests/fast/inline/simple-intruding-float1-expected.txt +++ b/LayoutTests/fast/inline/simple-intruding-float1-expected.txt @@ -8,7 +8,7 @@ layer at (0,0) size 800x600 RenderText {#text} at (40,0) size 34x18 text run at (40,0) width 34: "thisis" RenderImage {IMG} at (20,0) size 20x30 - RenderText {#text} at (73,0) size 276x54 + RenderText {#text} at (20,0) size 276x54 text run at (73,0) width 212: "one run long long long long long" text run at (40,18) width 256: "long long long long long long long long" text run at (20,36) width 89: "long long text" diff --git a/LayoutTests/fast/inline/simple-intruding-floats2-expected.txt b/LayoutTests/fast/inline/simple-intruding-floats2-expected.txt index 3eab1cd465f6..5de1fc6c972e 100644 --- a/LayoutTests/fast/inline/simple-intruding-floats2-expected.txt +++ b/LayoutTests/fast/inline/simple-intruding-floats2-expected.txt @@ -8,18 +8,18 @@ layer at (0,0) size 800x600 RenderText {#text} at (40,0) size 34x18 text run at (40,0) width 34: "thisis" RenderImage {IMG} at (20,0) size 20x75 - RenderText {#text} at (73,0) size 216x36 + RenderText {#text} at (40,0) size 216x36 text run at (73,0) width 183: "onerun, next to 2 floats. One" text run at (40,18) width 138: "intruding, one in this " - RenderInline {SPAN} at (0,0) size 246x36 - RenderText {#text} at (177,18) size 246x36 + RenderInline {SPAN} at (40,18) size 246x36 + RenderText {#text} at (40,18) size 246x36 text run at (177,18) width 109: "inline formatting" text run at (40,36) width 48: "context" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,54) size 300x54 - RenderInline {SPAN} at (0,0) size 258x54 + RenderInline {SPAN} at (20,0) size 258x54 RenderImage {IMG} at (40,0) size 20x15 - RenderText {#text} at (60,0) size 258x54 + RenderText {#text} at (20,0) size 258x54 text run at (60,0) width 218: "this next inline formatting context" text run at (40,18) width 204: "has 3 floats. 2 out of those 3 are" text run at (20,36) width 59: "intruding" diff --git a/LayoutTests/fast/inline/simple-intruding-floats3-expected.txt b/LayoutTests/fast/inline/simple-intruding-floats3-expected.txt index 80cfdd5e1f04..cb51a67602d9 100644 --- a/LayoutTests/fast/inline/simple-intruding-floats3-expected.txt +++ b/LayoutTests/fast/inline/simple-intruding-floats3-expected.txt @@ -12,18 +12,18 @@ layer at (0,0) size 800x600 RenderText {#text} at (40,0) size 34x18 text run at (40,0) width 34: "thisis" RenderImage {IMG} at (20,0) size 20x74 - RenderText {#text} at (73,0) size 216x36 + RenderText {#text} at (40,0) size 216x36 text run at (73,0) width 183: "onerun, next to 2 floats. One" text run at (40,18) width 138: "intruding, one in this " - RenderInline {SPAN} at (0,0) size 246x36 - RenderText {#text} at (177,18) size 246x36 + RenderInline {SPAN} at (40,18) size 246x36 + RenderText {#text} at (40,18) size 246x36 text run at (177,18) width 109: "inline formatting" text run at (40,36) width 48: "context" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,72) size 300x54 RenderInline {SPAN} at (0,0) size 278x54 RenderImage {IMG} at (40,0) size 20x15 - RenderText {#text} at (60,0) size 278x54 + RenderText {#text} at (0,0) size 278x54 text run at (60,0) width 218: "this next inline formatting context" text run at (40,18) width 204: "has 3 floats. 2 out of those 3 are" text run at (0,36) width 59: "intruding" diff --git a/LayoutTests/fast/inline/simple-line-layout-16bit-content-expected.html b/LayoutTests/fast/inline/simple-line-layout-16bit-content-expected.html deleted file mode 100644 index 1cdac4013d30..000000000000 --- a/LayoutTests/fast/inline/simple-line-layout-16bit-content-expected.html +++ /dev/null @@ -1,20 +0,0 @@ - - - -This tests that we use simple line layout to layout/render 16bit content. - - - - - -
uüúoöóőaáeé
- - diff --git a/LayoutTests/fast/inline/simple-line-layout-16bit-content.html b/LayoutTests/fast/inline/simple-line-layout-16bit-content.html deleted file mode 100644 index 6112817beef6..000000000000 --- a/LayoutTests/fast/inline/simple-line-layout-16bit-content.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -This tests that we use simple line layout to layout/render 16bit content. - - - - - -
uüúoöóőaáeé
- - diff --git a/LayoutTests/fast/invalid/018-expected.txt b/LayoutTests/fast/invalid/018-expected.txt index 20b36b43b97f..bb3b711e88f3 100644 --- a/LayoutTests/fast/invalid/018-expected.txt +++ b/LayoutTests/fast/invalid/018-expected.txt @@ -23,9 +23,9 @@ layer at (0,0) size 800x600 RenderBlock {P} at (0,0) size 784x0 RenderBlock (anonymous) at (0,28) size 784x18 RenderInline {FONT} at (0,0) size 0x18 - RenderInline {A} at (0,0) size 0x0 + RenderInline {A} at (0,0) size 0x18 RenderInline {A} at (0,0) size 0x18 - RenderInline {FONT} at (0,0) size 0x0 + RenderInline {FONT} at (0,0) size 0x18 RenderInline {FONT} at (0,0) size 373x18 RenderText {#text} at (0,0) size 373x18 text run at (0,0) width 373: "This page contains an insanely badly-nested tag sequence." diff --git a/LayoutTests/fast/lists/inline-before-content-after-list-marker-expected.txt b/LayoutTests/fast/lists/inline-before-content-after-list-marker-expected.txt index 3a1979a59934..7323cc4350d6 100644 --- a/LayoutTests/fast/lists/inline-before-content-after-list-marker-expected.txt +++ b/LayoutTests/fast/lists/inline-before-content-after-list-marker-expected.txt @@ -6,7 +6,7 @@ layer at (0,0) size 800x56 RenderListItem {LI} at (0,0) size 784x40 RenderBlock (anonymous) at (0,0) size 784x40 RenderListMarker at (-1,0) size 13x40: bullet - RenderInline (generated) at (0,0) size 80x40 + RenderInline (generated) at (32,0) size 80x40 RenderText at (32,0) size 80x40 text run at (32,0) width 80: "PA" RenderText {#text} at (112,0) size 80x40 diff --git a/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt b/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt index 96b6189596b0..87b6be3e374c 100644 --- a/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt +++ b/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints-expected.txt @@ -13,14 +13,29 @@ PASS supportedConstraints.deviceId is true PASS supportedConstraints.echoCancellation is true PASS supportedConstraints.facingMode is true PASS supportedConstraints.frameRate is true -PASS supportedConstraints.groupId is false +PASS supportedConstraints.groupId is true PASS supportedConstraints.height is true -PASS supportedConstraints.sampleRate is false -PASS supportedConstraints.sampleSize is false +PASS supportedConstraints.sampleRate is true +PASS supportedConstraints.sampleSize is true PASS supportedConstraints.volume is true PASS supportedConstraints.width is true PASS supportedConstraints.zoom is true +PASS supportedConstraints["aspectRatio"] is true +PASS supportedConstraints["deviceId"] is true +PASS supportedConstraints["displaySurface"] is true +PASS supportedConstraints["echoCancellation"] is true +PASS supportedConstraints["facingMode"] is true +PASS supportedConstraints["frameRate"] is true +PASS supportedConstraints["groupId"] is true +PASS supportedConstraints["height"] is true +PASS supportedConstraints["sampleRate"] is true +PASS supportedConstraints["sampleSize"] is true +PASS supportedConstraints["torch"] is true +PASS supportedConstraints["volume"] is true +PASS supportedConstraints["whiteBalanceMode"] is true +PASS supportedConstraints["width"] is true +PASS supportedConstraints["zoom"] is true PASS successfullyParsed is true TEST COMPLETE diff --git a/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints.html b/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints.html index 5ad804720f2b..413396d67979 100644 --- a/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints.html +++ b/LayoutTests/fast/mediastream/MediaDevices-getSupportedConstraints.html @@ -23,15 +23,17 @@ shouldBeTrue("supportedConstraints.echoCancellation"); shouldBeTrue("supportedConstraints.facingMode"); shouldBeTrue("supportedConstraints.frameRate"); - shouldBeFalse("supportedConstraints.groupId"); + shouldBeTrue("supportedConstraints.groupId"); shouldBeTrue("supportedConstraints.height"); - shouldBeFalse("supportedConstraints.sampleRate"); - shouldBeFalse("supportedConstraints.sampleSize"); + shouldBeTrue("supportedConstraints.sampleRate"); + shouldBeTrue("supportedConstraints.sampleSize"); shouldBeTrue("supportedConstraints.volume"); shouldBeTrue("supportedConstraints.width"); shouldBeTrue("supportedConstraints.zoom"); debug(""); + for (const key of Object.keys(supportedConstraints)) + shouldBeTrue(`supportedConstraints["${key}"]`); finishJSTest(); diff --git a/LayoutTests/fast/mediastream/microphone-change-while-muted.html b/LayoutTests/fast/mediastream/microphone-change-while-muted.html index 7b7354f1de1b..8a694a857235 100644 --- a/LayoutTests/fast/mediastream/microphone-change-while-muted.html +++ b/LayoutTests/fast/mediastream/microphone-change-while-muted.html @@ -45,6 +45,7 @@ await new Promise(resolve => video.srcObject.getAudioTracks()[0].onmute = resolve); + await new Promise(resolve => setTimeout(resolve, 500)); testRunner.removeMockMediaDevice("usbmic"); await new Promise(resolve => setTimeout(resolve, 500)); diff --git a/LayoutTests/fast/mediastream/screencapture-user-gesture.html b/LayoutTests/fast/mediastream/screencapture-user-gesture.html index 67ab0a1c1620..587ef87d89c6 100644 --- a/LayoutTests/fast/mediastream/screencapture-user-gesture.html +++ b/LayoutTests/fast/mediastream/screencapture-user-gesture.html @@ -25,6 +25,6 @@ promise_test((test) => { - return promise_rejects_dom(test, "InvalidAccessError", navigator.mediaDevices.getDisplayMedia({video : true})); + return promise_rejects_dom(test, "InvalidStateError", navigator.mediaDevices.getDisplayMedia({video : true})); }, "Deny getDisplayMedia call if no user gesture"); diff --git a/LayoutTests/fast/multicol/multicol-intrusive-float-orphan-expected.html b/LayoutTests/fast/multicol/multicol-intrusive-float-orphan-expected.html new file mode 100644 index 000000000000..bb8945b1b8f7 --- /dev/null +++ b/LayoutTests/fast/multicol/multicol-intrusive-float-orphan-expected.html @@ -0,0 +1,22 @@ + +
+
first
second
third
fourth
+
PASS if this text does not overlap the red box on the second column.
+
diff --git a/LayoutTests/fast/multicol/multicol-intrusive-float-orphan.html b/LayoutTests/fast/multicol/multicol-intrusive-float-orphan.html new file mode 100644 index 000000000000..1dbdd57764f2 --- /dev/null +++ b/LayoutTests/fast/multicol/multicol-intrusive-float-orphan.html @@ -0,0 +1,22 @@ + +
+
first
second
third
fourth
+
PASS if this text does not overlap the red box on the second column.
+
diff --git a/LayoutTests/fast/multicol/orphans-ignored-expected.html b/LayoutTests/fast/multicol/orphans-ignored-expected.html deleted file mode 100644 index 78ea19e1b8b8..000000000000 --- a/LayoutTests/fast/multicol/orphans-ignored-expected.html +++ /dev/null @@ -1,32 +0,0 @@ - - - -
-

-size
-the
-window
-to
-have
-only
-one
-orphan
-line
-in
-this
-column
-from
-the
-next
-paragraph
-

-

-this line should be left orphan
-though
-style says 2.
-

-
diff --git a/LayoutTests/fast/multicol/orphans-ignored.html b/LayoutTests/fast/multicol/orphans-ignored.html deleted file mode 100644 index 37b1274ef178..000000000000 --- a/LayoutTests/fast/multicol/orphans-ignored.html +++ /dev/null @@ -1,31 +0,0 @@ - - -
-

-size
-the
-window
-to
-have
-only
-one
-orphan
-line
-in
-this
-column
-from
-the
-next
-paragraph
-

-

-this line should be left orphan
-though
-style says 2.
-

-
diff --git a/LayoutTests/fast/multicol/pagination-h-horizontal-bt-expected.txt b/LayoutTests/fast/multicol/pagination-h-horizontal-bt-expected.txt index 24ae3fd4b311..318042a1d8ab 100644 --- a/LayoutTests/fast/multicol/pagination-h-horizontal-bt-expected.txt +++ b/LayoutTests/fast/multicol/pagination-h-horizontal-bt-expected.txt @@ -20,7 +20,7 @@ layer at (0,-337) size 800x922 backgroundClip at (0,0) size 1600x585 clip at (0, RenderText {#text} at (3,503) size 250x50 text run at (3,503) width 250: "Lorem" RenderBR {BR} at (253,503) size 0x50 - RenderInline {SPAN} at (0,0) size 250x50 [color=#FF0000] + RenderInline {SPAN} at (3,553) size 250x50 [color=#FF0000] RenderText {#text} at (3,577) size 250x50 text run at (3,577) width 250: "ipsum" RenderBR {BR} at (253,577) size 0x50 diff --git a/LayoutTests/fast/multicol/pagination-h-horizontal-tb-expected.txt b/LayoutTests/fast/multicol/pagination-h-horizontal-tb-expected.txt index 040636597e24..2c84ab8e1536 100644 --- a/LayoutTests/fast/multicol/pagination-h-horizontal-tb-expected.txt +++ b/LayoutTests/fast/multicol/pagination-h-horizontal-tb-expected.txt @@ -20,7 +20,7 @@ layer at (0,0) size 800x922 backgroundClip at (0,0) size 1600x585 clip at (0,0) RenderText {#text} at (3,503) size 250x50 text run at (3,503) width 250: "Lorem" RenderBR {BR} at (253,503) size 0x50 - RenderInline {SPAN} at (0,0) size 250x50 [color=#FF0000] + RenderInline {SPAN} at (3,553) size 250x50 [color=#FF0000] RenderText {#text} at (3,577) size 250x50 text run at (3,577) width 250: "ipsum" RenderBR {BR} at (253,577) size 0x50 diff --git a/LayoutTests/fast/multicol/pagination-h-vertical-lr-expected.txt b/LayoutTests/fast/multicol/pagination-h-vertical-lr-expected.txt index 43eb94f7308b..944d199456da 100644 --- a/LayoutTests/fast/multicol/pagination-h-vertical-lr-expected.txt +++ b/LayoutTests/fast/multicol/pagination-h-vertical-lr-expected.txt @@ -24,7 +24,7 @@ layer at (0,0) size 1222x585 RenderText {#text} at (703,3) size 50x250 text run at (703,3) width 250: "Lorem" RenderBR {BR} at (703,253) size 50x0 - RenderInline {SPAN} at (0,0) size 50x250 [color=#FF0000] + RenderInline {SPAN} at (753,3) size 50x250 [color=#FF0000] RenderText {#text} at (792,3) size 50x250 text run at (792,3) width 250: "ipsum" RenderBR {BR} at (792,253) size 50x0 diff --git a/LayoutTests/fast/multicol/pagination-h-vertical-rl-expected.txt b/LayoutTests/fast/multicol/pagination-h-vertical-rl-expected.txt index 7059e3689cac..b14d73af7fec 100644 --- a/LayoutTests/fast/multicol/pagination-h-vertical-rl-expected.txt +++ b/LayoutTests/fast/multicol/pagination-h-vertical-rl-expected.txt @@ -24,7 +24,7 @@ layer at (-422,0) size 1222x585 backgroundClip at (0,0) size 1600x585 clip at (0 RenderText {#text} at (703,3) size 50x250 text run at (703,3) width 250: "Lorem" RenderBR {BR} at (703,253) size 50x0 - RenderInline {SPAN} at (0,0) size 50x250 [color=#FF0000] + RenderInline {SPAN} at (753,3) size 50x250 [color=#FF0000] RenderText {#text} at (792,3) size 50x250 text run at (792,3) width 250: "ipsum" RenderBR {BR} at (792,253) size 50x0 diff --git a/LayoutTests/fast/multicol/pagination-v-horizontal-bt-expected.txt b/LayoutTests/fast/multicol/pagination-v-horizontal-bt-expected.txt index 1b409e2b1338..e12b7fb3d43a 100644 --- a/LayoutTests/fast/multicol/pagination-v-horizontal-bt-expected.txt +++ b/LayoutTests/fast/multicol/pagination-v-horizontal-bt-expected.txt @@ -20,7 +20,7 @@ layer at (0,-322) size 785x922 backgroundClip at (0,0) size 785x1200 clip at (0, RenderText {#text} at (3,503) size 250x50 text run at (3,503) width 250: "Lorem" RenderBR {BR} at (253,503) size 0x50 - RenderInline {SPAN} at (0,0) size 250x50 [color=#FF0000] + RenderInline {SPAN} at (3,553) size 250x50 [color=#FF0000] RenderText {#text} at (3,592) size 250x50 text run at (3,592) width 250: "ipsum" RenderBR {BR} at (253,592) size 0x50 diff --git a/LayoutTests/fast/multicol/pagination-v-horizontal-tb-expected.txt b/LayoutTests/fast/multicol/pagination-v-horizontal-tb-expected.txt index c0e254f488e5..95abc473fff8 100644 --- a/LayoutTests/fast/multicol/pagination-v-horizontal-tb-expected.txt +++ b/LayoutTests/fast/multicol/pagination-v-horizontal-tb-expected.txt @@ -20,7 +20,7 @@ layer at (0,0) size 785x922 RenderText {#text} at (3,503) size 250x50 text run at (3,503) width 250: "Lorem" RenderBR {BR} at (253,503) size 0x50 - RenderInline {SPAN} at (0,0) size 250x50 [color=#FF0000] + RenderInline {SPAN} at (3,553) size 250x50 [color=#FF0000] RenderText {#text} at (3,592) size 250x50 text run at (3,592) width 250: "ipsum" RenderBR {BR} at (253,592) size 0x50 diff --git a/LayoutTests/fast/multicol/pagination-v-vertical-lr-expected.txt b/LayoutTests/fast/multicol/pagination-v-vertical-lr-expected.txt index 064da48751be..aaaf63599e8a 100644 --- a/LayoutTests/fast/multicol/pagination-v-vertical-lr-expected.txt +++ b/LayoutTests/fast/multicol/pagination-v-vertical-lr-expected.txt @@ -24,7 +24,7 @@ layer at (0,0) size 1222x600 backgroundClip at (0,0) size 785x1200 clip at (0,0) RenderText {#text} at (703,3) size 50x250 text run at (703,3) width 250: "Lorem" RenderBR {BR} at (703,253) size 50x0 - RenderInline {SPAN} at (0,0) size 50x250 [color=#FF0000] + RenderInline {SPAN} at (753,3) size 50x250 [color=#FF0000] RenderText {#text} at (777,3) size 50x250 text run at (777,3) width 250: "ipsum" RenderBR {BR} at (777,253) size 50x0 diff --git a/LayoutTests/fast/multicol/pagination-v-vertical-rl-expected.txt b/LayoutTests/fast/multicol/pagination-v-vertical-rl-expected.txt index 564fcab242bf..4c71f8efa74a 100644 --- a/LayoutTests/fast/multicol/pagination-v-vertical-rl-expected.txt +++ b/LayoutTests/fast/multicol/pagination-v-vertical-rl-expected.txt @@ -24,7 +24,7 @@ layer at (-437,0) size 1222x600 backgroundClip at (0,0) size 785x1200 clip at (0 RenderText {#text} at (703,3) size 50x250 text run at (703,3) width 250: "Lorem" RenderBR {BR} at (703,253) size 50x0 - RenderInline {SPAN} at (0,0) size 50x250 [color=#FF0000] + RenderInline {SPAN} at (753,3) size 50x250 [color=#FF0000] RenderText {#text} at (777,3) size 50x250 text run at (777,3) width 250: "ipsum" RenderBR {BR} at (777,253) size 50x0 diff --git a/LayoutTests/fast/repaint/float-overflow-expected.txt b/LayoutTests/fast/repaint/float-overflow-expected.txt index f66dc523925a..1b13f83384e3 100644 --- a/LayoutTests/fast/repaint/float-overflow-expected.txt +++ b/LayoutTests/fast/repaint/float-overflow-expected.txt @@ -8,7 +8,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-2,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-2,1) size 16x16 [color=#0000FF] RenderText {#text} at (-2,1) size 16x16 text run at (-2,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -17,7 +17,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-2,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-8,1) size 16x16 [color=#0000FF] RenderText {#text} at (-8,1) size 16x16 text run at (-8,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -26,7 +26,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-2,1) size 16x16 [color=#0000FF] RenderText {#text} at (-2,1) size 16x16 text run at (-2,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -35,7 +35,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (0,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-8,1) size 16x16 [color=#0000FF] RenderText {#text} at (-8,1) size 16x16 text run at (-8,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -44,7 +44,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -53,7 +53,7 @@ layer at (0,0) size 800x588 RenderDeprecatedFlexibleBox {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -62,7 +62,7 @@ layer at (0,0) size 800x588 RenderDeprecatedFlexibleBox {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 32x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -73,7 +73,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-4,1) size 16x16 [color=#0000FF] RenderText {#text} at (-4,1) size 16x16 text run at (-4,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -84,7 +84,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-12,1) size 16x16 [color=#0000FF] RenderText {#text} at (-12,1) size 16x16 text run at (-12,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -96,7 +96,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (-12,1) size 16x16 [color=#0000FF] RenderText {#text} at (-12,1) size 16x16 text run at (-12,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -115,21 +115,21 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (51,7) size 62x36 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 32x20 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 layer at (59,426) size 40x10 RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 layer at (67,465) size 50x10 RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -137,7 +137,7 @@ layer at (61,498) size 62x22 RenderBlock {DIV} at (51,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (-8,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (0,1) size 16x16 [color=#0000FF] RenderText {#text} at (0,1) size 16x16 text run at (0,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/repaint/float-overflow-right-expected.txt b/LayoutTests/fast/repaint/float-overflow-right-expected.txt index c10fb9a27299..ff16e602e93d 100644 --- a/LayoutTests/fast/repaint/float-overflow-right-expected.txt +++ b/LayoutTests/fast/repaint/float-overflow-right-expected.txt @@ -8,7 +8,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (12,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (26,1) size 16x16 [color=#0000FF] RenderText {#text} at (26,1) size 16x16 text run at (26,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -17,7 +17,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (12,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (32,1) size 16x16 [color=#0000FF] RenderText {#text} at (32,1) size 16x16 text run at (32,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -26,7 +26,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (26,1) size 16x16 [color=#0000FF] RenderText {#text} at (26,1) size 16x16 text run at (26,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -35,7 +35,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (10,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (32,1) size 16x16 [color=#0000FF] RenderText {#text} at (32,1) size 16x16 text run at (32,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -44,7 +44,7 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -53,7 +53,7 @@ layer at (0,0) size 800x588 RenderDeprecatedFlexibleBox {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -62,7 +62,7 @@ layer at (0,0) size 800x588 RenderDeprecatedFlexibleBox {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (24,6) size 32x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (0,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -73,7 +73,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (28,1) size 16x16 [color=#0000FF] RenderText {#text} at (28,1) size 16x16 text run at (28,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -84,7 +84,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (36,1) size 16x16 [color=#0000FF] RenderText {#text} at (36,1) size 16x16 text run at (36,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -96,7 +96,7 @@ layer at (0,0) size 800x588 RenderTableRow {TR} at (0,2) size 46x12 RenderTableCell {TD} at (2,2) size 42x12 [bgcolor=#FFC0CB] [r=0 c=0 rs=1 cs=1] RenderBlock (floating) {DIV} at (1,1) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (36,1) size 16x16 [color=#0000FF] RenderText {#text} at (36,1) size 16x16 text run at (36,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -115,21 +115,21 @@ layer at (0,0) size 800x588 RenderBlock {DIV} at (667,7) size 62x36 [border: (1px solid #800080)] RenderBlock {DIV} at (24,6) size 32x20 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (0,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 layer at (701,426) size 40x10 RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 layer at (683,465) size 50x10 RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 @@ -137,7 +137,7 @@ layer at (677,498) size 62x22 RenderBlock {DIV} at (667,7) size 62x22 [border: (1px solid #800080)] RenderBlock {DIV} at (6,6) size 50x10 [bgcolor=#FFC0CB] RenderBlock (floating) {DIV} at (18,0) size 40x10 [bgcolor=#ADD8E6] - RenderInline {SPAN} at (0,0) size 16x16 [color=#0000FF] + RenderInline {SPAN} at (24,1) size 16x16 [color=#0000FF] RenderText {#text} at (24,1) size 16x16 text run at (24,1) width 16: "x" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/repaint/implicitly-positioned-block-repaint-complex-line-layout.html b/LayoutTests/fast/repaint/implicitly-positioned-block-repaint-complex-line-layout.html index 40d43efa37fb..6445ed52a4b0 100644 --- a/LayoutTests/fast/repaint/implicitly-positioned-block-repaint-complex-line-layout.html +++ b/LayoutTests/fast/repaint/implicitly-positioned-block-repaint-complex-line-layout.html @@ -1,4 +1,3 @@ - diff --git a/LayoutTests/fast/repaint/inline-overflow-expected.txt b/LayoutTests/fast/repaint/inline-overflow-expected.txt index 22f44af9e0ad..afe762c04748 100644 --- a/LayoutTests/fast/repaint/inline-overflow-expected.txt +++ b/LayoutTests/fast/repaint/inline-overflow-expected.txt @@ -3,7 +3,7 @@ layer at (0,0) size 800x600 layer at (0,0) size 800x600 RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 - RenderInline {SPAN} at (0,0) size 200x50 [textStrokeColor=#008000] [textStrokeWidth=50.00] + RenderInline {SPAN} at (50,50) size 200x50 [textStrokeColor=#008000] [textStrokeWidth=50.00] RenderText {#text} at (50,50) size 200x50 text run at (50,50) width 200: "A B" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/repaint/subtree-root-clip-3-expected.txt b/LayoutTests/fast/repaint/subtree-root-clip-3-expected.txt index 10db4587cebe..1da754650a28 100644 --- a/LayoutTests/fast/repaint/subtree-root-clip-3-expected.txt +++ b/LayoutTests/fast/repaint/subtree-root-clip-3-expected.txt @@ -9,5 +9,5 @@ layer at (0,0) size 800x600 RenderTableCell {TD} at (2,101) size 2x2 [r=0 c=0 rs=1 cs=1] RenderTableCell {TD} at (6,51) size 102x102 [r=0 c=1 rs=1 cs=1] layer at (15,60) size 100x100 - RenderBlock {DIV} at (1,1) size 100x100 [bgcolor=#FF0000] + RenderBlock {DIV} at (1,50) size 100x100 [bgcolor=#FF0000] RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000] diff --git a/LayoutTests/fast/repaint/table-cell-vertical-overflow-expected.txt b/LayoutTests/fast/repaint/table-cell-vertical-overflow-expected.txt index 2a8f6f95042d..858b5d77920b 100644 --- a/LayoutTests/fast/repaint/table-cell-vertical-overflow-expected.txt +++ b/LayoutTests/fast/repaint/table-cell-vertical-overflow-expected.txt @@ -9,10 +9,10 @@ layer at (0,0) size 800x600 RenderTableCell {TD} at (2,2) size 110x60 [border: (4px dotted #000000)] [r=0 c=0 rs=1 cs=1] RenderBlock {DIV} at (5,5) size 100x50 [bgcolor=#90EE90] RenderTableCell {TD} at (114,22) size 110x20 [border: (4px dotted #000000)] [r=0 c=1 rs=1 cs=1] - RenderBlock {DIV} at (5,5) size 100x10 [bgcolor=#90EE90] + RenderBlock {DIV} at (5,25) size 100x10 [bgcolor=#90EE90] RenderBlock {DIV} at (0,0) size 50x100 [bgcolor=#87CEEB] RenderTableCell {TD} at (226,27) size 110x10 [border: (4px dotted #000000)] [r=0 c=2 rs=1 cs=1] - RenderBlock {DIV} at (5,-70) size 100x10 [bgcolor=#90EE90] + RenderBlock {DIV} at (5,-45) size 100x10 [bgcolor=#90EE90] RenderBlock {DIV} at (0,0) size 50x100 [bgcolor=#87CEEB] RenderTable {TABLE} at (0,214) size 322x60 [border: (2px none #808080)] RenderTableSection {TBODY} at (2,2) size 318x56 @@ -20,8 +20,8 @@ layer at (0,0) size 800x600 RenderTableCell {TD} at (0,0) size 106x56 [border: (2px dotted #000000)] [r=0 c=0 rs=1 cs=1] RenderBlock {DIV} at (3,3) size 100x50 [bgcolor=#90EE90] RenderTableCell {TD} at (106,20) size 106x16 [border: (2px dotted #000000)] [r=0 c=1 rs=1 cs=1] - RenderBlock {DIV} at (3,3) size 100x10 [bgcolor=#90EE90] + RenderBlock {DIV} at (3,23) size 100x10 [bgcolor=#90EE90] RenderBlock {DIV} at (0,0) size 50x100 [bgcolor=#87CEEB] RenderTableCell {TD} at (212,25) size 106x6 [border: (2px dotted #000000)] [r=0 c=2 rs=1 cs=1] - RenderBlock {DIV} at (3,-72) size 100x10 [bgcolor=#90EE90] + RenderBlock {DIV} at (3,-47) size 100x10 [bgcolor=#90EE90] RenderBlock {DIV} at (0,0) size 50x100 [bgcolor=#87CEEB] diff --git a/LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt b/LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt index 547310ff0e31..3ec2e85cc39e 100644 --- a/LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt +++ b/LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt @@ -6,7 +6,7 @@ layer at (0,0) size 800x296 RenderBlock {P} at (0,0) size 784x18 RenderText {#text} at (0,0) size 54x18 text run at (0,0) width 54: "Test for " - RenderInline {A} at (0,0) size 310x18 [color=#0000EE] + RenderInline {A} at (53,0) size 310x18 [color=#0000EE] RenderText {#text} at (53,0) size 310x18 text run at (53,0) width 310: "https://bugs.webkit.org/show_bug.cgi?id=17840" RenderText {#text} at (362,0) size 298x18 @@ -15,7 +15,7 @@ layer at (0,0) size 800x296 RenderBlock (anonymous) at (0,254) size 784x18 RenderText {#text} at (0,0) size 0x0 layer at (18,110) size 84x58 - RenderInline (relative positioned) {SPAN} at (0,0) size 84x58 [bgcolor=#DDDDDD] + RenderInline (relative positioned) {SPAN} at (0,-20) size 84x58 [bgcolor=#DDDDDD] RenderText {#text} at (20,0) size 64x18 text run at (20,0) width 64: "Container" layer at (18,128) size 784x202 @@ -23,4 +23,4 @@ layer at (18,128) size 784x202 layer at (118,228) size 202x202 RenderBlock (relative positioned) {DIV} at (0,0) size 202x202 [bgcolor=#CCCCCC] [border: (1px solid #000000)] layer at (18,330) size 20x58 - RenderInline (relative positioned) {SPAN} at (0,0) size 20x58 [bgcolor=#DDDDDD] + RenderInline (relative positioned) {SPAN} at (0,-20) size 20x58 [bgcolor=#DDDDDD] diff --git a/LayoutTests/fast/replaced/width100percent-textarea.html b/LayoutTests/fast/replaced/width100percent-textarea.html index ce2766eaf66e..e6a345be2c2e 100644 --- a/LayoutTests/fast/replaced/width100percent-textarea.html +++ b/LayoutTests/fast/replaced/width100percent-textarea.html @@ -1,4 +1,3 @@ - @@ -17,6 +21,7 @@
  • Link in list item
  • Green square
  • +

    This transparent text should not be extracted

    This is an editable area: WebKit downloads.
    + + + +
    +

    zero

    + +

    five

    +
    + + + \ No newline at end of file diff --git a/LayoutTests/fast/text-extraction/resources/subframe.html b/LayoutTests/fast/text-extraction/resources/subframe.html new file mode 100644 index 000000000000..2d717b2a35b2 --- /dev/null +++ b/LayoutTests/fast/text-extraction/resources/subframe.html @@ -0,0 +1,62 @@ + + + + + + +
    +
    one
    +
    two
    +
    three
    + +
    + + + \ No newline at end of file diff --git a/LayoutTests/fast/text/apply-start-width-after-skipped-text-expected.txt b/LayoutTests/fast/text/apply-start-width-after-skipped-text-expected.txt index a2c31b4b3745..765de9690534 100644 --- a/LayoutTests/fast/text/apply-start-width-after-skipped-text-expected.txt +++ b/LayoutTests/fast/text/apply-start-width-after-skipped-text-expected.txt @@ -15,6 +15,6 @@ layer at (0,0) size 800x600 RenderInline {SPAN} at (0,0) size 60x20 [border: none (40px solid #C0C0C0)] RenderText {#text} at (40,0) size 20x20 text run at (40,0) width 20: "x" - RenderText {#text} at (60,0) size 100x40 + RenderText {#text} at (0,0) size 100x40 text run at (60,0) width 40: " x" text run at (0,20) width 20: "x" diff --git a/LayoutTests/fast/text/bidi-embedding-pop-and-push-same-2-expected.txt b/LayoutTests/fast/text/bidi-embedding-pop-and-push-same-2-expected.txt index 2a02977b39c9..7875a19f298f 100644 --- a/LayoutTests/fast/text/bidi-embedding-pop-and-push-same-2-expected.txt +++ b/LayoutTests/fast/text/bidi-embedding-pop-and-push-same-2-expected.txt @@ -7,7 +7,7 @@ layer at (0,0) size 800x600 RenderInline {SPAN} at (0,0) size 100x50 RenderText {#text} at (0,0) size 100x50 text run at (0,0) width 100: "IJ" - RenderInline {SPAN} at (0,0) size 100x50 + RenderInline {SPAN} at (0,50) size 100x50 RenderText {#text} at (0,50) size 100x50 text run at (0,50) width 100: "KL" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/text/bidi-explicit-embedding-past-end-expected.txt b/LayoutTests/fast/text/bidi-explicit-embedding-past-end-expected.txt index f7b32e73a39b..7b63e91e99a8 100644 --- a/LayoutTests/fast/text/bidi-explicit-embedding-past-end-expected.txt +++ b/LayoutTests/fast/text/bidi-explicit-embedding-past-end-expected.txt @@ -6,7 +6,7 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,0) size 100x100 RenderText {#text} at (0,0) size 50x50 text run at (0,0) width 50: "a" - RenderInline {SPAN} at (0,0) size 100x50 [color=#0000FF] + RenderInline {SPAN} at (0,50) size 100x50 [color=#0000FF] RenderText {#text} at (0,50) size 100x50 text run at (0,50) width 100: ".." RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines-expected.html b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines-expected.html index a8781d7d7cc5..ba5d1e853542 100644 --- a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines-expected.html +++ b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines-expected.html @@ -1,4 +1,4 @@ - + diff --git a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines.html b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines.html index a8781d7d7cc5..ba5d1e853542 100644 --- a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines.html +++ b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line-simple-lines.html @@ -1,4 +1,4 @@ - + diff --git a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line.html b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line.html index 624d55a0f40f..abafd993a5bc 100644 --- a/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line.html +++ b/LayoutTests/fast/text/embed-at-end-of-pre-wrap-line.html @@ -1,4 +1,3 @@ - diff --git a/LayoutTests/fast/text/emoji-single-parent-family-3-expected-mismatch.html b/LayoutTests/fast/text/emoji-single-parent-family-3-expected-mismatch.html deleted file mode 100644 index dbb858b46341..000000000000 --- a/LayoutTests/fast/text/emoji-single-parent-family-3-expected-mismatch.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - -👨‍👧 - diff --git a/LayoutTests/fast/text/emoji-single-parent-family-3.html b/LayoutTests/fast/text/emoji-single-parent-family-3.html deleted file mode 100644 index 53fe78c42d52..000000000000 --- a/LayoutTests/fast/text/emoji-single-parent-family-3.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - -👨‍👦 - \ No newline at end of file diff --git a/LayoutTests/fast/text/emoji-single-parent-family-expected-mismatch.html b/LayoutTests/fast/text/emoji-single-parent-family-expected-mismatch.html deleted file mode 100644 index abb120fda90e..000000000000 --- a/LayoutTests/fast/text/emoji-single-parent-family-expected-mismatch.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - -👩‍👦 - \ No newline at end of file diff --git a/LayoutTests/fast/text/emoji-single-parent-family.html b/LayoutTests/fast/text/emoji-single-parent-family.html deleted file mode 100644 index 53fe78c42d52..000000000000 --- a/LayoutTests/fast/text/emoji-single-parent-family.html +++ /dev/null @@ -1,6 +0,0 @@ - - - - -👨‍👦 - \ No newline at end of file diff --git a/LayoutTests/fast/text/emphasis-avoid-ruby-expected.txt b/LayoutTests/fast/text/emphasis-avoid-ruby-expected.txt index 7074d65cb417..a05745d9af45 100644 --- a/LayoutTests/fast/text/emphasis-avoid-ruby-expected.txt +++ b/LayoutTests/fast/text/emphasis-avoid-ruby-expected.txt @@ -6,12 +6,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,0) size 784x64 RenderText {#text} at (0,16) size 64x32 text run at (0,16) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,16) size 160x32 + RenderInline (generated) at (64,16) size 160x32 + RenderInline {RB} at (64,16) size 160x32 RenderText {#text} at (64,16) size 96x32 text run at (64,16) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,16) size 64x32 RenderText {#text} at (160,16) size 64x32 text run at (160,16) width 64: "45" RenderBlock {RT} at (64,0) size 160x16 @@ -21,12 +21,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,72) size 784x32 RenderText {#text} at (0,0) size 64x32 text run at (0,0) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,0) size 160x32 + RenderInline (generated) at (64,0) size 160x32 + RenderInline {RB} at (64,0) size 160x32 RenderText {#text} at (64,0) size 96x32 text run at (64,0) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,0) size 64x32 RenderText {#text} at (160,0) size 64x32 text run at (160,0) width 64: "45" RenderBlock {RT} at (64,0) size 160x0 @@ -34,12 +34,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,112) size 784x48 RenderText {#text} at (0,16) size 64x32 text run at (0,16) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,16) size 160x32 + RenderInline (generated) at (64,16) size 160x32 + RenderInline {RB} at (64,16) size 160x32 RenderText {#text} at (64,16) size 96x32 text run at (64,16) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,16) size 64x32 RenderText {#text} at (160,16) size 64x32 text run at (160,16) width 64: "45" RenderBlock {RT} at (64,0) size 160x16 @@ -49,12 +49,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,168) size 784x64 RenderText {#text} at (0,16) size 64x32 text run at (0,16) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,16) size 160x32 + RenderInline (generated) at (64,16) size 160x32 + RenderInline {RB} at (64,16) size 160x32 RenderText {#text} at (64,16) size 96x32 text run at (64,16) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,16) size 64x32 RenderText {#text} at (160,16) size 64x32 text run at (160,16) width 64: "45" RenderBlock {RT} at (64,48) size 160x16 @@ -64,12 +64,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,240) size 784x32 RenderText {#text} at (0,0) size 64x32 text run at (0,0) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,0) size 160x32 + RenderInline (generated) at (64,0) size 160x32 + RenderInline {RB} at (64,0) size 160x32 RenderText {#text} at (64,0) size 96x32 text run at (64,0) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,0) size 64x32 RenderText {#text} at (160,0) size 64x32 text run at (160,0) width 64: "45" RenderBlock {RT} at (64,32) size 160x0 @@ -77,12 +77,12 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,280) size 784x48 RenderText {#text} at (0,0) size 64x32 text run at (0,0) width 64: "1 " - RenderInline {RUBY} at (0,0) size 160x32 - RenderInline (generated) at (0,0) size 160x32 - RenderInline {RB} at (0,0) size 160x32 + RenderInline {RUBY} at (64,16) size 160x32 + RenderInline (generated) at (64,16) size 160x32 + RenderInline {RB} at (64,16) size 160x32 RenderText {#text} at (64,0) size 96x32 text run at (64,0) width 96: "23 " - RenderInline {SPAN} at (0,0) size 64x32 + RenderInline {SPAN} at (160,16) size 64x32 RenderText {#text} at (160,0) size 64x32 text run at (160,0) width 64: "45" RenderBlock {RT} at (64,32) size 160x16 diff --git a/LayoutTests/fast/text/emphasis-overlap-expected.txt b/LayoutTests/fast/text/emphasis-overlap-expected.txt index 1abc2e02609f..76f7feabc7e7 100644 --- a/LayoutTests/fast/text/emphasis-overlap-expected.txt +++ b/LayoutTests/fast/text/emphasis-overlap-expected.txt @@ -8,11 +8,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 + RenderInline {SPAN} at (0,32) size 128x32 RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#0000FF] + RenderInline {SPAN} at (0,80) size 128x32 [color=#0000FF] RenderText {#text} at (0,80) size 128x32 text run at (0,80) width 128: "3333" RenderBR {BR} at (128,80) size 0x32 @@ -24,11 +24,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#008000] + RenderInline {SPAN} at (0,32) size 128x32 [color=#008000] RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 + RenderInline {SPAN} at (0,80) size 128x32 RenderText {#text} at (0,80) size 128x32 text run at (0,80) width 128: "3333" RenderBR {BR} at (128,80) size 0x32 @@ -40,11 +40,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#008000] + RenderInline {SPAN} at (0,32) size 128x32 [color=#008000] RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#0000FF] + RenderInline {SPAN} at (0,96) size 128x32 [color=#0000FF] RenderText {#text} at (0,96) size 128x32 text run at (0,96) width 128: "3333" RenderBR {BR} at (128,96) size 0x32 @@ -56,11 +56,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 + RenderInline {SPAN} at (0,32) size 128x32 RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#008000] + RenderInline {SPAN} at (0,64) size 128x32 [color=#008000] RenderText {#text} at (0,80) size 128x32 text run at (0,80) width 128: "3333" RenderBR {BR} at (128,80) size 0x32 @@ -72,11 +72,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#0000FF] + RenderInline {SPAN} at (0,48) size 128x32 [color=#0000FF] RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 + RenderInline {SPAN} at (0,80) size 128x32 RenderText {#text} at (0,80) size 128x32 text run at (0,80) width 128: "3333" RenderBR {BR} at (128,80) size 0x32 @@ -88,11 +88,11 @@ layer at (0,0) size 800x600 RenderText {#text} at (0,0) size 128x32 text run at (0,0) width 128: "1111" RenderBR {BR} at (128,0) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#0000FF] + RenderInline {SPAN} at (0,48) size 128x32 [color=#0000FF] RenderText {#text} at (0,32) size 128x32 text run at (0,32) width 128: "2222" RenderBR {BR} at (128,32) size 0x32 - RenderInline {SPAN} at (0,0) size 128x32 [color=#008000] + RenderInline {SPAN} at (0,80) size 128x32 [color=#008000] RenderText {#text} at (0,96) size 128x32 text run at (0,96) width 128: "3333" RenderBR {BR} at (128,96) size 0x32 diff --git a/LayoutTests/fast/text/fixed-pitch-control-characters-expected.txt b/LayoutTests/fast/text/fixed-pitch-control-characters-expected.txt index 95d7f5dbc299..4ccaa358f69d 100644 --- a/LayoutTests/fast/text/fixed-pitch-control-characters-expected.txt +++ b/LayoutTests/fast/text/fixed-pitch-control-characters-expected.txt @@ -7,15 +7,15 @@ layer at (0,0) size 800x600 RenderInline {SPAN} at (0,0) size 75x25 RenderText {#text} at (0,0) size 75x25 text run at (0,0) width 75: "x\x{C}x" - RenderInline {SPAN} at (0,0) size 50x25 + RenderInline {SPAN} at (75,0) size 50x25 RenderText {#text} at (75,0) size 50x25 text run at (75,0) width 50: "xx" RenderText {#text} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 - RenderInline {SPAN} at (0,0) size 75x25 + RenderInline {SPAN} at (0,25) size 75x25 RenderText {#text} at (0,25) size 75x25 text run at (0,25) width 75: "x\x{B}x" - RenderInline {SPAN} at (0,0) size 50x25 + RenderInline {SPAN} at (75,25) size 50x25 RenderText {#text} at (75,25) size 50x25 text run at (75,25) width 50: "xx" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/text/font-with-no-space-glyph-expected.html b/LayoutTests/fast/text/font-with-no-space-glyph-expected.html index 498d71206db9..443004a731b6 100644 --- a/LayoutTests/fast/text/font-with-no-space-glyph-expected.html +++ b/LayoutTests/fast/text/font-with-no-space-glyph-expected.html @@ -1,4 +1,4 @@ - + This tests that when a font has no space glyph, we only use fallback fonts when space glyph is needed. diff --git a/LayoutTests/fast/text/font-with-no-space-glyph.html b/LayoutTests/fast/text/font-with-no-space-glyph.html index afb36482ee01..d65ac1d8ad22 100644 --- a/LayoutTests/fast/text/font-with-no-space-glyph.html +++ b/LayoutTests/fast/text/font-with-no-space-glyph.html @@ -1,4 +1,4 @@ - + This tests that when a font has no space glyph, we only use fallback fonts when space glyph is needed. diff --git a/LayoutTests/fast/text/justify-padding-distribution-expected.txt b/LayoutTests/fast/text/justify-padding-distribution-expected.txt index c442d2b3b6b0..25b1cb3ec70b 100644 --- a/LayoutTests/fast/text/justify-padding-distribution-expected.txt +++ b/LayoutTests/fast/text/justify-padding-distribution-expected.txt @@ -7,91 +7,91 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,0) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,20) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,40) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,60) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,80) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,100) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,120) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,140) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,160) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,180) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,200) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,220) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,240) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 @@ -99,91 +99,91 @@ layer at (0,0) size 800x600 RenderBlock {DIV} at (0,0) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,20) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,40) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,60) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,80) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,100) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,120) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,140) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,160) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,180) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,200) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,220) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 RenderBlock {DIV} at (0,240) size 290x20 RenderText {#text} at (0,0) size 290x10 text run at (0,0) width 290: "l l l l l l l l l l l l" - RenderInline {SPAN} at (0,0) size 60x10 + RenderInline {SPAN} at (0,10) size 60x10 RenderText {#text} at (0,10) size 60x10 text run at (0,10) width 60: "llllll" RenderText {#text} at (0,0) size 0x0 diff --git a/LayoutTests/fast/text/line-runs-rounding-simple-lines-expected.html b/LayoutTests/fast/text/line-runs-rounding-simple-lines-expected.html deleted file mode 100644 index 097624bd2de5..000000000000 --- a/LayoutTests/fast/text/line-runs-rounding-simple-lines-expected.html +++ /dev/null @@ -1,6 +0,0 @@ - - -
    Lorem ipsum dolor
    -
    Lorem ipsum dolor
    diff --git a/LayoutTests/fast/text/line-runs-rounding-simple-lines.html b/LayoutTests/fast/text/line-runs-rounding-simple-lines.html deleted file mode 100644 index d96783c70197..000000000000 --- a/LayoutTests/fast/text/line-runs-rounding-simple-lines.html +++ /dev/null @@ -1,5 +0,0 @@ - -
    Lorem ipsum dolor
    -
    Lorem ipsum dolor
    diff --git a/LayoutTests/fast/text/mark-matches-rendering-simple-lines-expected.html b/LayoutTests/fast/text/mark-matches-rendering-simple-lines-expected.html deleted file mode 100644 index e3477536c4f6..000000000000 --- a/LayoutTests/fast/text/mark-matches-rendering-simple-lines-expected.html +++ /dev/null @@ -1,10 +0,0 @@ - -

    -Quo usque tandem abutere, Catilina, patientia nostra? -

    - diff --git a/LayoutTests/fast/text/mark-matches-rendering-simple-lines.html b/LayoutTests/fast/text/mark-matches-rendering-simple-lines.html deleted file mode 100644 index ec3d70389fbb..000000000000 --- a/LayoutTests/fast/text/mark-matches-rendering-simple-lines.html +++ /dev/null @@ -1,9 +0,0 @@ -

    -Quo usque tandem abutere, Catilina, patientia nostra? -

    - diff --git a/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary-expected.html b/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary-expected.html deleted file mode 100644 index edfac88d68fb..000000000000 --- a/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary-expected.html +++ /dev/null @@ -1,16 +0,0 @@ - -This tests that simple line layout wraps lines the same way normal line layout does when multiple (text)renderers are present and there's a hyphen on the render boundary. - - - - diff --git a/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary.html b/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary.html deleted file mode 100644 index 1908bd337501..000000000000 --- a/LayoutTests/fast/text/multiple-renderers-with-hypen-on-boundary.html +++ /dev/null @@ -1,15 +0,0 @@ -This tests that simple line layout wraps lines the same way normal line layout does when multiple (text)renderers are present and there's a hyphen on the render boundary. - - - - diff --git a/LayoutTests/fast/text/negative-letter-spacing-visual-overflow-expected.html b/LayoutTests/fast/text/negative-letter-spacing-visual-overflow-expected.html deleted file mode 100644 index 6d9dfb9c6422..000000000000 --- a/LayoutTests/fast/text/negative-letter-spacing-visual-overflow-expected.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -This tests that we compute the visual overflow rect for negative letter spacing properly. - - - - - - diff --git a/LayoutTests/fast/text/negative-letter-spacing-visual-overflow.html b/LayoutTests/fast/text/negative-letter-spacing-visual-overflow.html deleted file mode 100644 index 05804e743082..000000000000 --- a/LayoutTests/fast/text/negative-letter-spacing-visual-overflow.html +++ /dev/null @@ -1,27 +0,0 @@ - - - -This tests that we compute the visual overflow rect for negative letter spacing properly. - - - - - - diff --git a/LayoutTests/fast/text/newline-width-expected.html b/LayoutTests/fast/text/newline-width-expected.html index 6a90bd025a2a..4750ee3e0557 100644 --- a/LayoutTests/fast/text/newline-width-expected.html +++ b/LayoutTests/fast/text/newline-width-expected.html @@ -1,4 +1,4 @@ - + -
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellentesque sed arcu congue rutrum. Maecenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula convallis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin aliquet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dignissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    -
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellentesque sed arcu congue rutrum. Maecenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula convallis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin aliquet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dignissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    -
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellentesque sed arcu congue rutrum. Maecenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula convallis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin aliquet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dignissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    +
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, so-dales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin vo-lutpat neque in mattis. Vestibu-lum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Inter-dum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet la-cus varius consequat. Donec congue molestie mauris, a ve-hicula velit. Nam pellentesque sed arcu congue rutrum. Mae-cenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, inter-dum nec suscipit ut, semper nec orci. Fusce sed risus ele-mentum, posuere orci id, ali-quam urna. Donec arcu turpis, scelerisque a mauris vel, ve-hicula convallis ipsum. Phasel-lus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feu-giat arcu ipsum, id mollis quam sagittis at. Morbi tem-pus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellen-tesque purus. Curabitur facili-sis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin ali-quet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Sus-pendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod mo-lestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae fau-cibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mau-ris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignis-sim iaculis felis, eget vestibu-lum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euis-mod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auc-tor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Viva-mus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dig-nissim et lectus. Nunc tin-cidunt orci nibh, id ullamcorp-er nisl vestibulum vel.
    +
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, so-dales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin vo-lutpat neque in mattis. Vestibu-lum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Inter-dum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet la-cus varius consequat. Donec congue molestie mauris, a ve-hicula velit. Nam pellentesque sed arcu congue rutrum. Mae-cenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, inter-dum nec suscipit ut, semper nec orci. Fusce sed risus ele-mentum, posuere orci id, ali-quam urna. Donec arcu turpis, scelerisque a mauris vel, ve-hicula convallis ipsum. Phasel-lus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feu-giat arcu ipsum, id mollis quam sagittis at. Morbi tem-pus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellen-tesque purus. Curabitur facili-sis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin ali-quet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Sus-pendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod mo-lestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae fau-cibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mau-ris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignis-sim iaculis felis, eget vestibu-lum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euis-mod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auc-tor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Viva-mus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dig-nissim et lectus. Nunc tin-cidunt orci nibh, id ullamcorp-er nisl vestibulum vel.
    +
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, so-dales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin vo-lutpat neque in mattis. Vestibu-lum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Inter-dum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet la-cus varius consequat. Donec congue molestie mauris, a ve-hicula velit. Nam pellentesque sed arcu congue rutrum. Mae-cenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, inter-dum nec suscipit ut, semper nec orci. Fusce sed risus ele-mentum, posuere orci id, ali-quam urna. Donec arcu turpis, scelerisque a mauris vel, ve-hicula convallis ipsum. Phasel-lus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feu-giat arcu ipsum, id mollis quam sagittis at. Morbi tem-pus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellen-tesque purus. Curabitur facili-sis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin ali-quet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Sus-pendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod mo-lestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae fau-cibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mau-ris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignis-sim iaculis felis, eget vestibu-lum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euis-mod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auc-tor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Viva-mus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dig-nissim et lectus. Nunc tin-cidunt orci nibh, id ullamcorp-er nisl vestibulum vel.
    diff --git a/LayoutTests/fast/text/simple-line-hyphens-with-text-align.html b/LayoutTests/fast/text/simple-line-hyphens-with-text-align.html index d17cac50d8c5..7a7b3eeed848 100644 --- a/LayoutTests/fast/text/simple-line-hyphens-with-text-align.html +++ b/LayoutTests/fast/text/simple-line-hyphens-with-text-align.html @@ -1,7 +1,7 @@ + -This tests that simple and normal line layout produce the same lines with hyphens -
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellentesque sed arcu congue rutrum. Maecenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula convallis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin aliquet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dignissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    -
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollicitudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellentesque sed arcu congue rutrum. Maecenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula convallis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euismod. Proin aliquet justo ac dolor faucibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hendrerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sollicitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris pharetra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dignissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    +
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pellentesque ligula aliquet et. Nam aliquam pellen-tesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellentesque at felis. Nullam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sollic-itudin volutpat neque in mattis. Vestibulum non placerat velit. Aenean dui nunc, tincidunt nec tempus et, venenatis vel magna. Interdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellen-tesque sed arcu congue rutrum. Mae-cenas pulvinar ex at diam dapibus consectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus phare-tra ac id mauris. Ut diam orci, interdum nec suscipit ut, semper nec orci. Fusce sed risus elementum, po-suere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula conval-lis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viverra enim, ut hendrerit urna dui eu ligu-la. Nulla vestibulum et nibh quis laoreet. Quisque feu-giat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus mo-lestie ultricies viver-ra, justo augue facilisis orci, a semper risus dui pellentesque purus. Curabitur facilisis arcu quam, id facilisis turpis ali-quam ac. Maecenas efficitur risus pellen-tesque sem maximus euismod. Proin ali-quet justo ac dolor faucibus portti-tor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ipsum maximus, molestie arcu in, finibus urna. Suspendisse tincidunt feugiat est, in viverra lectus tincidunt quis. Ut eros tortor, tincidunt vel commodo hen-drerit, consequat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euismod molestie. Integer pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae faucibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignissim iac-ulis felis, eget vestibulum eros. Nul-la eget faucibus massa. Integer sollic-itudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euismod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris phare-tra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et interdum erat. Aliquam nec ante tincidunt, ele-mentum risus in, mattis orci. Sed massa turpis, blandit a rutrum at, dig-nissim et lectus. Nunc tincidunt orci nibh, id ullamcorper nisl vestibulum vel.
    +
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec consequat rhoncus erat, id pel-lentesque ligula ali-quet et. Nam aliquam pellentesque risus. Mauris lorem nunc, sodales pellentesque porttitor ut, pellen-tesque at felis. Nul-lam et accumsan leo, in scelerisque massa. Fusce luctus laoreet pretium. Nulla sol-licitudin volutpat neque in mattis. Vestibulum non plac-erat velit. Aenean dui nunc, tincidunt nec tempus et, vene-natis vel magna. In-terdum et malesuada fames ac ante ipsum primis in faucibus. Proin pretium nisl sit amet lacus varius consequat. Donec congue molestie mauris, a vehicula velit. Nam pellen-tesque sed arcu congue rutrum. Mae-cenas pulvinar ex at diam dapibus con-sectetur ut non nisl. Sed tempus bibendum sodales. Donec nec arcu ligula. Vivamus sit amet aliquet neque, vel volutpat nibh. In purus sem, tincidunt vulputate neque eu, scelerisque hendrerit ex. Donec eu porta lectus, at malesuada magna. Duis ut egestas est. Nullam et libero sit amet lectus tempus pharetra ac id mau-ris. Ut diam orci, in-terdum nec suscipit ut, semper nec orci. Fusce sed risus ele-mentum, posuere orci id, aliquam urna. Donec arcu turpis, scelerisque a mauris vel, vehicula conval-lis ipsum. Phasellus facilisis, magna ut dapibus pretium, sapien mauris viver-ra enim, ut hendrerit urna dui eu ligula. Nulla vestibulum et nibh quis laoreet. Quisque feugiat arcu ipsum, id mollis quam sagittis at. Morbi tempus, risus molestie ultricies viverra, justo augue facilisis orci, a sem-per risus dui pellen-tesque purus. Cur-abitur facilisis arcu quam, id facilisis turpis aliquam ac. Maecenas efficitur risus pellentesque sem maximus euis-mod. Proin aliquet justo ac dolor fau-cibus porttitor. Fusce orci lectus, eleifend at lectus sit amet, pretium ornare felis. Nullam nec ip-sum maximus, mo-lestie arcu in, finibus urna. Sus-pendisse tincidunt feugiat est, in viver-ra lectus tincidunt quis. Ut eros tortor, tincidunt vel commo-do hendrerit, conse-quat vel neque. Vestibulum enim nibh, accumsan quis viverra ut, iaculis sit amet est. Morbi non lacus at dolor euis-mod molestie. Inte-ger pulvinar, nibh in volutpat tincidunt, urna odio interdum magna, vitae fau-cibus felis quam nec est. Proin tellus quam, auctor nec dictum sed, rhoncus nec massa. Mauris ac arcu ac augue porta viverra. Quisque semper eget nisi quis viverra. Donec vitae mauris ipsum. Duis tempor pulvinar viverra. Nam dignis-sim iaculis felis, eget vestibulum eros. Nulla eget faucibus massa. Integer sol-licitudin pretium erat, vel commodo nunc congue non. Nulla in nunc auctor dui efficitur euis-mod. Sed pharetra sapien erat, a blandit neque porttitor sit amet. Mauris phare-tra sodales maximus. Nulla volutpat auctor quam, a elementum risus tristique eu. In ac sodales nibh. Maecenas pharetra orci sem, eu laoreet quam tincidunt non. Mauris in interdum dui. Vivamus et in-terdum erat. Aliquam nec ante tincidunt, elementum risus in, mattis orci. Sed mas-sa turpis, blandit a rutrum at, dignissim et lectus. Nunc tin-cidunt orci nibh, id ullamcorper nisl vestibulum vel.
    diff --git a/LayoutTests/fast/text/simple-line-hyphens-with-word-letter-spacing.html b/LayoutTests/fast/text/simple-line-hyphens-with-word-letter-spacing.html index 8f10942378cb..dd4c2fdac094 100644 --- a/LayoutTests/fast/text/simple-line-hyphens-with-word-letter-spacing.html +++ b/LayoutTests/fast/text/simple-line-hyphens-with-word-letter-spacing.html @@ -1,7 +1,6 @@ -This tests that simple and normal line layout produce the same lines with hyphens - - -
    foobar foobar foobar foobar
    -
    foobar foobar foobar foobar
    - - - diff --git a/LayoutTests/fast/text/simple-line-layout-dynamic-letter-word-spacing.html b/LayoutTests/fast/text/simple-line-layout-dynamic-letter-word-spacing.html deleted file mode 100644 index a08059a6a506..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-dynamic-letter-word-spacing.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - -
    foobar foobar foobar foobar
    -
    foobar foobar foobar foobar
    - - - diff --git a/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph-expected.html b/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph-expected.html deleted file mode 100644 index bc4f1016ed1b..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph-expected.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -This tests simple line layout when space glyph needs a fallback font. - - - -0 -
    -1 -2 -3
    4 5 6 7 8 9 0 1 2
    -
    3 45
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph.html b/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph.html deleted file mode 100644 index 1a8139e68618..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-fallback-space-glyph.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -This tests simple line layout when space glyph needs a fallback font. - - - -0 -
    -1 -2 -3
    4 5 6 7 8 9 0 1 2
    -
    3 45
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line-expected.html b/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line-expected.html deleted file mode 100644 index c8e47e56f930..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line-expected.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -This tests that we bail out of simple line layout when glyph overflows the line - - - -
    f
    overflows this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    g
    does not overflow this line.
    -
    g
    overflows this line.
    -
    j
    overflows this line.
    -
    j
    overflows this line.
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line.html b/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line.html deleted file mode 100644 index 89e1581cfec7..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-glyph-overflows-line.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -This tests that we bail out of simple line layout when glyph overflows the line - - - -
    f
    overflows this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    f
    does not overflow this line.
    -
    g
    does not overflow this line.
    -
    g
    overflows this line.
    -
    j
    overflows this line.
    -
    j
    overflows this line.
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after-expected.html b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after-expected.html index b85a042dce29..d166260fe9f9 100644 --- a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after-expected.html +++ b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after-expected.html @@ -1,11 +1,9 @@ - + -This tests that simple and normal line layout produce the same lines with hyphenate-limit-after -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-vivial-ity cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-vivi-ality corus-cant cuddle-some cyno-sure equa-nimity excogi-tate gas-conading idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious fa-vorable pros-perous circum-lo-cution con-vivi-ality cor-uscant cud-dlesome cynosure equa-nimity excog-itate gas-conading idio-syn-cratic lumi-nescent mag-nan-imous nid-ificate penul-timate perfidi-ousness perspi-cacious profi-cuous prof-itable advan-tageous remu-ner-ative prof-itability saxi-colous ses-quipedalian super-abundant unen-cum-bered respon-sibil-ities
    un-paragoned peerless
    +
    accou-trements acces-sories anom-alistic aus-picious fa-vorable pros-perous circum-lo-cution con-viviality cor-uscant cud-dlesome cynosure equa-nimity ex-cogitate gas-conading idio-syn-cratic lumi-nescent mag-nanimous nid-ificate penul-timate perfidi-ousness perspi-cacious proficuous prof-itable advan-tageous remu-nerative prof-itability saxi-colous ses-quipedalian super-abundant unen-cumbered respon-sibilities
    un-paragoned peerless
    +
    accou-trements ac-cessories anom-alistic aus-picious fa-vorable prosperous circum-locution con-viviality coruscant cud-dlesome cynosure equanimity ex-cogitate gas-conading idio-syncratic lumi-nescent mag-nanimous nid-ificate penultimate perfidi-ousness perspi-cacious proficuous profitable advan-tageous remu-nerative prof-itability saxicolous ses-quipedalian super-abundant unen-cumbered respon-sibilities
    un-paragoned peerless
    +
    accou-trements ac-cessories anomalistic auspicious favorable prosperous circum-locution con-viviality coruscant cuddlesome cynosure equanimity ex-cogitate gas-conading idio-syncratic lu-minescent mag-nanimous ni-dificate penultimate perfid-iousness per-spicacious proficuous profitable ad-vantageous remu-nerative prof-itability saxicolous ses-quipedalian super-abundant unen-cumbered respon-sibilities
    un-paragoned peerless
    diff --git a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after.html b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after.html index 97d39b14bd89..7fdc19a26cde 100644 --- a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after.html +++ b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-after.html @@ -1,7 +1,6 @@ -This tests that simple and normal line layout produce the same lines with hyphenate-limit-after -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties
    un-paragoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion con-viviali-ty cor-uscant cuddle-some cyno-sure equa-nimity excogi-tate gas-conad-ing idio-syn-cratic lumi-nescent mag-nani-mous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous ses-quipedalian super-abun-dant unen-cum-bered respon-sibili-ties unparagoned peer-less
    +
    accou-trements acces-sories anom-alistic auspi-cious favor-able pros-perous circum-locu-tion conviviality corus-cant cuddle-some cyno-sure equa-nimity excogi-tate gasconading idio-syncratic lumi-nescent magnanimous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous prof-itable advan-tageous remu-nera-tive prof-itability saxi-colous sesquipedalian super-abun-dant unen-cumbered respon-sibili-ties unparagoned peer-less
    +
    accou-trements acces-sories anomalistic auspi-cious favor-able prosperous circum-locution conviviality corus-cant cuddle-some cynosure equanimity excogi-tate gasconading idiosyncratic luminescent magnanimous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous profitable advan-tageous remunerative profitability saxicolous sesquipedalian super-abundant unencumbered respon-sibili-ties unparagoned peerless
    +
    accoutrements accessories anomalistic auspicious favorable prosperous circum-locution conviviality coruscant cuddle-some cynosure equanimity excogi-tate gasconading idiosyncratic luminescent magnanimous nidifi-cate penulti-mate perfidi-ousness perspi-cacious profic-uous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered respon-sibili-ties unparagoned peerless
    +
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penulti-mate perfidi-ousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    diff --git a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines-expected.html b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines-expected.html index d1f3ffb38014..44c3bcde2068 100644 --- a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines-expected.html +++ b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines-expected.html @@ -1,11 +1,9 @@ - + -This tests that simple and normal line layout produce the same lines with hyphenate-limit-lines -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    -
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    +
    accoutrements accessories anomalistic auspicious favorable prosperous circumlocution conviviality coruscant cuddlesome cynosure equanimity excogitate gasconading idiosyncratic luminescent magnanimous nidificate penultimate perfidiousness perspicacious proficuous profitable advantageous remunerative profitability saxicolous sesquipedalian superabundant unencumbered responsibilities unparagoned peerless
    +
    ac-coutrements ac-cessories anomalistic aus-picious fa-vorable pros-perous cir-cumlocution con-viviality cor-uscant cud-dlesome cynosure equanimity ex-cogitate gas-conading idio-syncratic lumi-nescent mag-nanimous nid-ificate penultimate per-fidiousness per-spicacious proficuous prof-itable ad-vantageous re-munerative prof-itability saxi-colous ses-quipedalian su-perabundant un-encumbered re-sponsibilities un-paragoned peer-less
    +
    ac-coutrements ac-ces-sories anomalistic aus-pi-cious fa-vor-able pros-per-ous cir-cum-locution con-vivi-ality cor-us-cant cud-dle-some cynosure equanimity ex-cogi-tate gas-conading idio-syn-cratic lumi-nes-cent mag-nani-mous nid-ifi-cate penultimate per-fidi-ousness per-spi-cacious proficuous prof-itable ad-van-tageous re-munerative prof-itability saxi-colous ses-quipedalian su-per-abundant un-en-cumbered re-sponsibilities un-paragoned peer-less
    +
    ac-coutrements ac-ces-sories anomalistic aus-pi-cious fa-vor-able pros-per-ous cir-cum-locu-tion con-vivi-ality cor-us-cant cud-dle-some cynosure equanimity ex-cogi-tate gas-conading idio-syn-crat-ic lumi-nes-cent mag-nani-mous nid-ifi-cate penultimate per-fidi-ous-ness per-spi-ca-cious proficuous prof-itable ad-van-tageous re-munerative prof-itability saxi-colous ses-quipedalian su-per-abundant un-en-cum-bered re-sponsibilities un-paragoned peer-less
    +
    ac-coutrements ac-ces-sories anomalistic aus-pi-cious fa-vor-able pros-per-ous cir-cum-locu-tion con-vivi-ality cor-us-cant cud-dle-some cynosure equanimity ex-cogi-tate gas-conading idio-syn-crat-ic lumi-nes-cent mag-nani-mous nid-ifi-cate penultimate per-fidi-ous-ness per-spi-ca-cious proficuous prof-itable ad-van-tageous re-munerative prof-itability saxi-colous ses-quipedalian su-per-abundant un-en-cum-bered re-sponsibilities un-paragoned peer-less
    +
    ac-coutrements ac-ces-sories anomalistic aus-pi-cious fa-vor-able pros-per-ous cir-cum-locu-tion con-vivi-ality cor-us-cant cud-dle-some cynosure equanimity ex-cogi-tate gas-conading idio-syn-crat-ic lumi-nes-cent mag-nani-mous nid-ifi-cate penultimate per-fidi-ous-ness per-spi-ca-cious proficuous prof-itable ad-van-tageous re-munerative prof-itability saxi-colous ses-quipedalian su-per-abundant un-en-cum-bered re-sponsibilities un-paragoned peer-less
    diff --git a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines.html b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines.html index 081ac1c0ba4b..0bc3ed4b0441 100644 --- a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines.html +++ b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines.html @@ -1,7 +1,6 @@ -This tests that simple and normal line layout produce the same lines with hyphenate-limit-lines - - -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines2.html b/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines2.html deleted file mode 100644 index 5424931a43eb..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-hyphen-limit-lines2.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -This tests that simple and normal line layout produce the same lines with hyphenate-limit-lines - - - -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    -
    foobarness foobarnessability
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words-expected.html b/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words-expected.html deleted file mode 100644 index 9e830dca8272..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words-expected.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -This tests that simple and normal line layout produce the same lines with webkit-hyphenate-limit-lines - - - -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar some text some text foobar
    - - \ No newline at end of file diff --git a/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words.html b/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words.html deleted file mode 100644 index 8ef545a9008d..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-hyphenation-limit-lines-accross-words.html +++ /dev/null @@ -1,24 +0,0 @@ - - - -This tests that simple and normal line layout produce the same lines with webkit-hyphenate-limit-lines - - - -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar some text foobar
    -
    some text here foobar some text foobar some text foobar some text foobar some text some text foobar
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak-expected.html b/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak-expected.html deleted file mode 100644 index 5c77e9ecd631..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak-expected.html +++ /dev/null @@ -1,42 +0,0 @@ - - - -This tests that leading whitespace followed by soft/hard linebreaks. - - - -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    - - -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak.html b/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak.html deleted file mode 100644 index 5c77e9ecd631..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-leading-whitespace-with-soft-hard-linebreak.html +++ /dev/null @@ -1,42 +0,0 @@ - - - -This tests that leading whitespace followed by soft/hard linebreaks. - - - -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    - - -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    -
    -
    foobarfoobar foobi
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    foobarfoobar foobi -
    foobar
    -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space-expected.html b/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space-expected.html deleted file mode 100644 index 29f2ad2df03d..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space-expected.html +++ /dev/null @@ -1,13 +0,0 @@ - - - -This tests that multiple text renderers with non-breaking space do not get simple line layouting. - - -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space.html b/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space.html deleted file mode 100644 index 7128bf80f0a4..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-non-breaking-space.html +++ /dev/null @@ -1,12 +0,0 @@ - - -This tests that multiple text renderers with non-breaking space do not get simple line layouting. - - -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float-expected.html b/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float-expected.html deleted file mode 100644 index 44acfad41ae5..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float-expected.html +++ /dev/null @@ -1,36 +0,0 @@ - - - -This tests that multiple text renderers with floats when text needs special placing do not get simple line layouting. - - - -
    -
    -
    -
    -
    -

    -

    - -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float.html b/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float.html deleted file mode 100644 index 96e28de67fb6..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-multiple-renderers-with-float.html +++ /dev/null @@ -1,35 +0,0 @@ - - -This tests that multiple text renderers with floats when text needs special placing do not get simple line layouting. - - - -
    -
    -
    -
    -
    -

    -

    - -
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-selection-with-overflow-expected.html b/LayoutTests/fast/text/simple-line-layout-selection-with-overflow-expected.html deleted file mode 100644 index 8b91b7235a01..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-selection-with-overflow-expected.html +++ /dev/null @@ -1,16 +0,0 @@ - - -
    Pass if text does not disappear after the range selection.
    - \ No newline at end of file diff --git a/LayoutTests/fast/text/simple-line-layout-selection-with-overflow.html b/LayoutTests/fast/text/simple-line-layout-selection-with-overflow.html deleted file mode 100644 index 02562042316a..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-selection-with-overflow.html +++ /dev/null @@ -1,15 +0,0 @@ - -
    Pass if text does not disappear after the range selection.
    - \ No newline at end of file diff --git a/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke-expected.html b/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke-expected.html deleted file mode 100644 index fea7d88da826..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke-expected.html +++ /dev/null @@ -1,14 +0,0 @@ - - - -This tests that we position text with stroke width correctly. - - - -
    foobar
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke.html b/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke.html deleted file mode 100644 index 4b49c189b1c2..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-text-position-with-stroke.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -This tests that we position text with stroke width correctly. - - - - -
    foobar
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation-expected.html b/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation-expected.html deleted file mode 100644 index eb04da1c8315..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation-expected.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - -This tests that we renderer justified punctuation content correctly with simple line layout - - - -
    foobar ‐ foobar ‑ foobar ‒ foobar –
    -
    foobar — foobar ― foobar ‖ foobar ‗
    -
    foobar ‘ foobar ’ foobar ‚ foobar ‛
    -
    foobar “ foobar ” foobar „ foobar ‟
    -
    foobar † foobar ‡ foobar • foobar ‣
    -
    foobar ․ foobar ‥ foobar … foobar ‧
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation.html b/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation.html deleted file mode 100644 index e9c778a33736..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-with-justified-punctuation.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - -This tests that we renderer justified punctuation content correctly with simple line layout - - - -
    foobar ‐ foobar ‑ foobar ‒ foobar –
    -
    foobar — foobar ― foobar ‖ foobar ‗
    -
    foobar ‘ foobar ’ foobar ‚ foobar ‛
    -
    foobar “ foobar ” foobar „ foobar ‟
    -
    foobar † foobar ‡ foobar • foobar ‣
    -
    foobar ․ foobar ‥ foobar … foobar ‧
    - - diff --git a/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang-expected.html b/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang-expected.html deleted file mode 100644 index b70941e6ab99..000000000000 --- a/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang-expected.html +++ /dev/null @@ -1,23 +0,0 @@ - - - -This tests that simple line layout manages text fragments when they overlap multiple renderers. - - - -The test passes if it does not hang or crash. -
    
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang.html b/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang.html
    deleted file mode 100644
    index 15c764741568..000000000000
    --- a/LayoutTests/fast/text/simple-line-layout-wrapping-multiple-renderers-hang.html
    +++ /dev/null
    @@ -1,23 +0,0 @@
    -
    -
    -
    -This tests that simple line layout manages text fragments when they overlap multiple renderers.
    -
    -
    -
    -The test passes if it does not hang or crash.
    -
    
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-letterspacing-expected.html b/LayoutTests/fast/text/simple-line-letterspacing-expected.html
    deleted file mode 100644
    index 9caf2181cb93..000000000000
    --- a/LayoutTests/fast/text/simple-line-letterspacing-expected.html
    +++ /dev/null
    @@ -1,21 +0,0 @@
    -
    -
    -
    -This tests that simple line layout renders letter-spacing properly.
    -
    -
    -
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-letterspacing.html b/LayoutTests/fast/text/simple-line-letterspacing.html
    deleted file mode 100644
    index 9274eb988b97..000000000000
    --- a/LayoutTests/fast/text/simple-line-letterspacing.html
    +++ /dev/null
    @@ -1,20 +0,0 @@
    -
    -
    -This tests that simple line layout renders letter-spacing properly.
    -
    -
    -
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-text-indent-expected.html b/LayoutTests/fast/text/simple-line-text-indent-expected.html
    deleted file mode 100644
    index 2122e489004d..000000000000
    --- a/LayoutTests/fast/text/simple-line-text-indent-expected.html
    +++ /dev/null
    @@ -1,27 +0,0 @@
    -
    -
    -
    -This tests that simple line layout renders text-indent properly.
    -
    -
    -
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-text-indent.html b/LayoutTests/fast/text/simple-line-text-indent.html
    deleted file mode 100644
    index 45fa4fc05a0c..000000000000
    --- a/LayoutTests/fast/text/simple-line-text-indent.html
    +++ /dev/null
    @@ -1,26 +0,0 @@
    -
    -
    -This tests that simple line layout renders text-indent properly.
    -
    -
    -
    -
    -
    -
    diff --git a/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space-expected.html b/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space-expected.html
    deleted file mode 100644
    index 7e60e674ef13..000000000000
    --- a/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space-expected.html
    +++ /dev/null
    @@ -1,15 +0,0 @@
    -
    -
    -
    -This tests that simple line layout text measuring matches complex line layout. (trailing space included and then subtracted)
    -
    -
    -
    -	
    FOP bar
    - - diff --git a/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space.html b/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space.html deleted file mode 100644 index 2b5a3fd579af..000000000000 --- a/LayoutTests/fast/text/simple-line-text-measuring-with-trailing-space.html +++ /dev/null @@ -1,15 +0,0 @@ - - - -This tests that simple line layout text measuring matches complex line layout. (trailing space included and then subtracted) - - - -
    FOP bar
    - - diff --git a/LayoutTests/fast/text/simple-line-with-br-expected.html b/LayoutTests/fast/text/simple-line-with-br-expected.html deleted file mode 100644 index a0594f13b0c6..000000000000 --- a/LayoutTests/fast/text/simple-line-with-br-expected.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Test that text content with <br> works fine with simple line layout. - - - - - diff --git a/LayoutTests/fast/text/simple-line-with-br.html b/LayoutTests/fast/text/simple-line-with-br.html deleted file mode 100644 index ee57924109fa..000000000000 --- a/LayoutTests/fast/text/simple-line-with-br.html +++ /dev/null @@ -1,38 +0,0 @@ - - - -Test that text content with <br> works fine with simple line layout. - - - - - diff --git a/LayoutTests/fast/text/simple-line-with-multiple-renderers-expected.html b/LayoutTests/fast/text/simple-line-with-multiple-renderers-expected.html deleted file mode 100644 index 4430cd034f0d..000000000000 --- a/LayoutTests/fast/text/simple-line-with-multiple-renderers-expected.html +++ /dev/null @@ -1,34 +0,0 @@ - - - -Test that segments across multiple renderers work fine with simple line layout. - - - - - diff --git a/LayoutTests/fast/text/simple-line-with-multiple-renderers.html b/LayoutTests/fast/text/simple-line-with-multiple-renderers.html deleted file mode 100644 index a8588e330a03..000000000000 --- a/LayoutTests/fast/text/simple-line-with-multiple-renderers.html +++ /dev/null @@ -1,34 +0,0 @@ - - - -Test that segments across multiple renderers work fine with simple line layout. - - - - - diff --git a/LayoutTests/fast/text/simple-line-wordspacing-expected.html b/LayoutTests/fast/text/simple-line-wordspacing-expected.html deleted file mode 100644 index 568160416cc5..000000000000 --- a/LayoutTests/fast/text/simple-line-wordspacing-expected.html +++ /dev/null @@ -1,22 +0,0 @@ - - - -This tests that simple line layout renders word-spacing properly. - - - - diff --git a/LayoutTests/fast/text/simple-line-wordspacing.html b/LayoutTests/fast/text/simple-line-wordspacing.html deleted file mode 100644 index ae94435ae53c..000000000000 --- a/LayoutTests/fast/text/simple-line-wordspacing.html +++ /dev/null @@ -1,21 +0,0 @@ - - -This tests that simple line layout renders word-spacing properly. - - - - diff --git a/LayoutTests/fast/text/simple-lines-float-compare-expected.html b/LayoutTests/fast/text/simple-lines-float-compare-expected.html deleted file mode 100644 index 938681172d6e..000000000000 --- a/LayoutTests/fast/text/simple-lines-float-compare-expected.html +++ /dev/null @@ -1,43 +0,0 @@ - -
    -

    O tempora

    - -
    -

    O tempora

    - -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! -

    - -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! - - -

    -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! -

    diff --git a/LayoutTests/fast/text/simple-lines-float-compare.html b/LayoutTests/fast/text/simple-lines-float-compare.html deleted file mode 100644 index d5e9b2af44ae..000000000000 --- a/LayoutTests/fast/text/simple-lines-float-compare.html +++ /dev/null @@ -1,42 +0,0 @@ -
    -

    O tempora

    - -
    -

    O tempora

    - -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! -

    - -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! - - -

    -
    -

    Quo usque tandem abutere, Catilina, patientia nostra? quam diu etiam - furor iste tuus nos eludet? quem ad finem sese effrenata iactabit - audacia? Nihilne te nocturnum praesidium Palati, nihil urbis vigiliae, - nihil timor populi, nihil concursus bonorum omnium, nihil hic munitissimus - habendi senatus locus, nihil horum ora voltusque moverunt? Patere tua - consilia non sentis, constrictam iam horum omnium scientia teneri - coniurationem tuam non vides? Quid proxima, quid superiore nocte egeris, - ubi fueris, quos convocaveris, quid consilii ceperis, quem nostrum - ignorare arbitraris? O tempora, o mores! -

    diff --git a/LayoutTests/fast/text/simple-lines-float-expected.html b/LayoutTests/fast/text/simple-lines-float-expected.html index 12b2e4cfea4b..a65f88009b18 100644 --- a/LayoutTests/fast/text/simple-lines-float-expected.html +++ b/LayoutTests/fast/text/simple-lines-float-expected.html @@ -1,4 +1,4 @@ - + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/command-buffer-after-destruction-expected.txt b/LayoutTests/fast/webgpu/command-buffer-after-destruction-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/command-buffer-after-destruction-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/command-buffer-after-destruction.html b/LayoutTests/fast/webgpu/command-buffer-after-destruction.html new file mode 100644 index 000000000000..a9036cc5993c --- /dev/null +++ b/LayoutTests/fast/webgpu/command-buffer-after-destruction.html @@ -0,0 +1,67 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/conversion-to-rg8unorm-expected.txt b/LayoutTests/fast/webgpu/conversion-to-rg8unorm-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/conversion-to-rg8unorm-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/conversion-to-rg8unorm.html b/LayoutTests/fast/webgpu/conversion-to-rg8unorm.html new file mode 100644 index 000000000000..0798f8a06055 --- /dev/null +++ b/LayoutTests/fast/webgpu/conversion-to-rg8unorm.html @@ -0,0 +1,80 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas-expected.txt b/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas-expected.txt new file mode 100644 index 000000000000..7646beda1620 --- /dev/null +++ b/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas-expected.txt @@ -0,0 +1,2 @@ +CONSOLE MESSAGE: Canvas area exceeds the maximum limit (width * height > 268435456). +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas.html b/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas.html new file mode 100644 index 000000000000..b19ff37d483b --- /dev/null +++ b/LayoutTests/fast/webgpu/draw-null-buffer-to-canvas.html @@ -0,0 +1,33 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/forbid-bottom-struct-member-expected.txt b/LayoutTests/fast/webgpu/forbid-bottom-struct-member-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/forbid-bottom-struct-member-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/forbid-bottom-struct-member.html b/LayoutTests/fast/webgpu/forbid-bottom-struct-member.html new file mode 100644 index 000000000000..a4ea009bd61b --- /dev/null +++ b/LayoutTests/fast/webgpu/forbid-bottom-struct-member.html @@ -0,0 +1,22 @@ + + + + This test passes if it does not crash. + + diff --git a/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel-expected.txt b/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel.html b/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel.html new file mode 100644 index 000000000000..8e6b21733589 --- /dev/null +++ b/LayoutTests/fast/webgpu/image-data-8-bytes-per-pixel.html @@ -0,0 +1,99 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/invalid-surface-height-expected.txt b/LayoutTests/fast/webgpu/invalid-surface-height-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/invalid-surface-height-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/invalid-surface-height.html b/LayoutTests/fast/webgpu/invalid-surface-height.html new file mode 100644 index 000000000000..0ac07fe544a5 --- /dev/null +++ b/LayoutTests/fast/webgpu/invalid-surface-height.html @@ -0,0 +1,89 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/optional-media-identifier-expected.txt b/LayoutTests/fast/webgpu/optional-media-identifier-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/optional-media-identifier-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/optional-media-identifier.html b/LayoutTests/fast/webgpu/optional-media-identifier.html new file mode 100644 index 000000000000..18c8ec58c8ee --- /dev/null +++ b/LayoutTests/fast/webgpu/optional-media-identifier.html @@ -0,0 +1,43 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/present-without-compute-pipeline-expected.txt b/LayoutTests/fast/webgpu/present-without-compute-pipeline-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/present-without-compute-pipeline-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/present-without-compute-pipeline.html b/LayoutTests/fast/webgpu/present-without-compute-pipeline.html new file mode 100644 index 000000000000..f4dd14356a1a --- /dev/null +++ b/LayoutTests/fast/webgpu/present-without-compute-pipeline.html @@ -0,0 +1,5186 @@ + + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/queue-write-texture-offset-expected.txt b/LayoutTests/fast/webgpu/queue-write-texture-offset-expected.txt new file mode 100644 index 000000000000..71c4f8559439 --- /dev/null +++ b/LayoutTests/fast/webgpu/queue-write-texture-offset-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash diff --git a/LayoutTests/fast/webgpu/queue-write-texture-offset.html b/LayoutTests/fast/webgpu/queue-write-texture-offset.html new file mode 100644 index 000000000000..f4733a19cba7 --- /dev/null +++ b/LayoutTests/fast/webgpu/queue-write-texture-offset.html @@ -0,0 +1,196 @@ + +This test passes if it does not crash diff --git a/LayoutTests/fast/webgpu/render-bundle-validation-color-format-expected.txt b/LayoutTests/fast/webgpu/render-bundle-validation-color-format-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/render-bundle-validation-color-format-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/render-bundle-validation-color-format.html b/LayoutTests/fast/webgpu/render-bundle-validation-color-format.html new file mode 100644 index 000000000000..e68d3ab94e54 --- /dev/null +++ b/LayoutTests/fast/webgpu/render-bundle-validation-color-format.html @@ -0,0 +1,240 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/texture-supports-blending-expected.txt b/LayoutTests/fast/webgpu/texture-supports-blending-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/texture-supports-blending-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/texture-supports-blending.html b/LayoutTests/fast/webgpu/texture-supports-blending.html new file mode 100644 index 000000000000..da1d4e085991 --- /dev/null +++ b/LayoutTests/fast/webgpu/texture-supports-blending.html @@ -0,0 +1,238 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/type-checker-array-without-argument-expected.txt b/LayoutTests/fast/webgpu/type-checker-array-without-argument-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/type-checker-array-without-argument-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/type-checker-array-without-argument.html b/LayoutTests/fast/webgpu/type-checker-array-without-argument.html new file mode 100644 index 000000000000..d3d3f00564ea --- /dev/null +++ b/LayoutTests/fast/webgpu/type-checker-array-without-argument.html @@ -0,0 +1,47 @@ + + + + This test passes if it does not crash. + + diff --git a/LayoutTests/fast/webgpu/use-canvas-without-layer-expected.txt b/LayoutTests/fast/webgpu/use-canvas-without-layer-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/use-canvas-without-layer-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/use-canvas-without-layer.html b/LayoutTests/fast/webgpu/use-canvas-without-layer.html new file mode 100644 index 000000000000..75026baf7aa7 --- /dev/null +++ b/LayoutTests/fast/webgpu/use-canvas-without-layer.html @@ -0,0 +1,23 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/write-to-destroyed-buffer-expected.txt b/LayoutTests/fast/webgpu/write-to-destroyed-buffer-expected.txt new file mode 100644 index 000000000000..654ddf7f17ef --- /dev/null +++ b/LayoutTests/fast/webgpu/write-to-destroyed-buffer-expected.txt @@ -0,0 +1 @@ +This test passes if it does not crash. diff --git a/LayoutTests/fast/webgpu/write-to-destroyed-buffer.html b/LayoutTests/fast/webgpu/write-to-destroyed-buffer.html new file mode 100644 index 000000000000..999ab0d5002f --- /dev/null +++ b/LayoutTests/fast/webgpu/write-to-destroyed-buffer.html @@ -0,0 +1,583 @@ + +This test passes if it does not crash. diff --git a/LayoutTests/fast/writing-mode/inline-block-baseline-expected.html b/LayoutTests/fast/writing-mode/inline-block-baseline-expected.html new file mode 100644 index 000000000000..9f84b904b70d --- /dev/null +++ b/LayoutTests/fast/writing-mode/inline-block-baseline-expected.html @@ -0,0 +1,18 @@ + + + + + + +Left side of a japanese character "国" should vertically align with baseline of "a". +
    +a +
    a
    +
    +
    +a +くに + +
    + + diff --git a/LayoutTests/fast/writing-mode/inline-block-baseline.html b/LayoutTests/fast/writing-mode/inline-block-baseline.html new file mode 100644 index 000000000000..5d48a28aae93 --- /dev/null +++ b/LayoutTests/fast/writing-mode/inline-block-baseline.html @@ -0,0 +1,19 @@ + + + + + + +Left side of a japanese character "国" should vertically align with baseline of "a". +
    +a +
    a
    +
    +
    +a +くに + +
    +
    + + diff --git a/LayoutTests/fullscreen/full-screen-render-inline-expected.txt b/LayoutTests/fullscreen/full-screen-render-inline-expected.txt index 325edc9f0c8f..76ac9201d212 100644 --- a/LayoutTests/fullscreen/full-screen-render-inline-expected.txt +++ b/LayoutTests/fullscreen/full-screen-render-inline-expected.txt @@ -7,7 +7,7 @@ layer at (0,0) size 800x600 RenderBlock (anonymous) at (0,0) size 784x16 RenderText {#text} at (0,0) size 16x16 text run at (0,0) width 16: "a" - RenderInline {SPAN} at (0,0) size 16x16 + RenderInline {SPAN} at (16,0) size 16x16 RenderText {#text} at (16,0) size 16x16 text run at (16,0) width 16: "b" RenderBlock (anonymous) at (0,16) size 784x16 diff --git a/LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.txt b/LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.txt index 9c54d8bf6724..ea7f96bc96e3 100644 --- a/LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.txt +++ b/LayoutTests/fullscreen/parent-flow-inline-with-block-child-expected.txt @@ -10,7 +10,7 @@ layer at (0,0) size 800x600 text run at (0,0) width 16: "1" RenderText {#text} at (16,0) size 16x16 text run at (16,0) width 16: " " - RenderInline {SPAN} at (0,0) size 16x16 + RenderInline {SPAN} at (32,0) size 16x16 RenderText {#text} at (32,0) size 16x16 text run at (32,0) width 16: "2" RenderBlock (anonymous) at (0,16) size 784x0 diff --git a/LayoutTests/http/tests/IndexedDB/collect-IDB-objects.https.html b/LayoutTests/http/tests/IndexedDB/collect-IDB-objects.https.html index a73ddd0a2e5f..3c28c7b831ff 100644 --- a/LayoutTests/http/tests/IndexedDB/collect-IDB-objects.https.html +++ b/LayoutTests/http/tests/IndexedDB/collect-IDB-objects.https.html @@ -39,8 +39,7 @@ nukeArray(frames); frames = null; return frameIdentifiers; - } - ); + }, { gcCount:100, documentCount:50 }); resolve(promise); }; }); diff --git a/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-expected.txt b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-expected.txt new file mode 100644 index 000000000000..05e3dd017d1c --- /dev/null +++ b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-expected.txt @@ -0,0 +1,8 @@ +CONSOLE MESSAGE: Content blocker prevented frame displaying http://127.0.0.1:8000/contentextensions/service-worker-block-everything-if-localhost.html from loading a resource from http://127.0.0.1:8000/security/resources/abe-allow-star.py +CONSOLE MESSAGE: Resource blocked by content blocker +CONSOLE MESSAGE: Fetch API cannot load http://127.0.0.1:8000/security/resources/abe-allow-star.py due to access control checks. + +PASS Setup service worker +PASS Validate that localhost load is blocked +PASS Validate that localhost load is not blocked if content extension is off + diff --git a/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-serviceworker.js b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-serviceworker.js new file mode 100644 index 000000000000..aedb4eeff127 --- /dev/null +++ b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost-serviceworker.js @@ -0,0 +1,8 @@ +onmessage = async e => { + await self.clients.claim(); + e.source.postMessage("done"); +} + +onfetch = e => { + e.respondWith(fetch(e.request)); +}; diff --git a/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html new file mode 100644 index 000000000000..8f53fa14e293 --- /dev/null +++ b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html @@ -0,0 +1,42 @@ + + + + + + + + + diff --git a/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html.json b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html.json new file mode 100644 index 000000000000..d4de15f0e585 --- /dev/null +++ b/LayoutTests/http/tests/contentextensions/service-worker-block-everything-if-localhost.html.json @@ -0,0 +1,10 @@ +[ + { + "action": { + "type": "block" + }, + "trigger": { + "url-filter": "abe-allow-star.py" + } + } +] diff --git a/LayoutTests/http/tests/media/audio-load-loadeddata-expected.txt b/LayoutTests/http/tests/media/audio-load-loadeddata-expected.txt new file mode 100644 index 000000000000..16c11a4a875b --- /dev/null +++ b/LayoutTests/http/tests/media/audio-load-loadeddata-expected.txt @@ -0,0 +1,7 @@ + +RUN(video.muted = true) +RUN(video.src = '/media/resources/load-video.py?type=audio/mpeg&name=sound_5.mp3') +RUN(video.load()) +EVENT(loadeddata) +END OF TEST + diff --git a/LayoutTests/http/tests/media/audio-load-loadeddata.html b/LayoutTests/http/tests/media/audio-load-loadeddata.html new file mode 100644 index 000000000000..19d2dd3f7bbd --- /dev/null +++ b/LayoutTests/http/tests/media/audio-load-loadeddata.html @@ -0,0 +1,23 @@ + + + + audio-load-loadeddata + + + + + + + + + + diff --git a/LayoutTests/http/tests/misc/ftp-eplf-directory-expected.txt b/LayoutTests/http/tests/misc/ftp-eplf-directory-expected.txt index 059c9bf38d9d..c95375976986 100644 --- a/LayoutTests/http/tests/misc/ftp-eplf-directory-expected.txt +++ b/LayoutTests/http/tests/misc/ftp-eplf-directory-expected.txt @@ -11,7 +11,7 @@ layer at (8,8) size 769x584 RenderText {#text} at (1,1) size 4x18 text run at (1,1) width 4: " " RenderTableCell {TD} at (11,2) size 480x20 [r=0 c=1 rs=1 cs=1] - RenderInline {A} at (0,0) size 374x18 [color=#0000EE] + RenderInline {A} at (1,1) size 374x18 [color=#0000EE] RenderText {#text} at (1,1) size 374x18 text run at (1,1) width 374: "In order to pass there must be a directory entry below here" RenderTableCell {TD} at (492,2) size 202x20 [r=0 c=2 rs=1 cs=1] @@ -25,7 +25,7 @@ layer at (8,8) size 769x584 RenderText {#text} at (1,1) size 4x18 text run at (1,1) width 4: " " RenderTableCell {TD} at (11,24) size 480x20 [r=1 c=1 rs=1 cs=1] - RenderInline {A} at (0,0) size 63x18 [color=#0000EE] + RenderInline {A} at (1,1) size 63x18 [color=#0000EE] RenderText {#text} at (1,1) size 63x18 text run at (1,1) width 63: "directory/" RenderTableCell {TD} at (492,24) size 202x20 [r=1 c=2 rs=1 cs=1] @@ -39,7 +39,7 @@ layer at (8,8) size 769x584 RenderText {#text} at (1,1) size 4x18 text run at (1,1) width 4: " " RenderTableCell {TD} at (11,46) size 480x20 [r=2 c=1 rs=1 cs=1] - RenderInline {A} at (0,0) size 68x18 [color=#0000EE] + RenderInline {A} at (1,1) size 68x18 [color=#0000EE] RenderText {#text} at (1,1) size 68x18 text run at (1,1) width 68: "third entry" RenderTableCell {TD} at (492,46) size 202x20 [r=2 c=2 rs=1 cs=1] diff --git a/LayoutTests/http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html b/LayoutTests/http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html index 85d942d461d6..c874e46822ab 100644 --- a/LayoutTests/http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html +++ b/LayoutTests/http/tests/navigation/keyboard-events-during-provisional-subframe-navigation.html @@ -21,7 +21,9 @@ console.log("Pressing \"z\" with access key modifiers should navigate to resources/keyboard-events-after-navigation.html."); window.focus(); - eventSender.keyDown("z", internals.accessKeyModifiers()); + setTimeout(() => { + eventSender.keyDown("z", internals.accessKeyModifiers()); + }, 50) }); diff --git a/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit-expected.txt b/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit-expected.txt new file mode 100644 index 000000000000..61a880d046a2 --- /dev/null +++ b/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit-expected.txt @@ -0,0 +1,10 @@ +This tests the default resource timing buffer size. It should be 250. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +PASS performance.getEntriesByType("resource").length is 250 +PASS successfullyParsed is true + +TEST COMPLETE + diff --git a/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit.html b/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit.html new file mode 100644 index 000000000000..d92c28e72623 --- /dev/null +++ b/LayoutTests/http/tests/performance/performance-resource-timing-entries-default-limit.html @@ -0,0 +1,18 @@ + + + + + + diff --git a/LayoutTests/http/tests/webgpu/webgpu/shader/validation/decl/var-expected.txt b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/decl/var-expected.txt new file mode 100644 index 000000000000..760e617c3e66 --- /dev/null +++ b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/decl/var-expected.txt @@ -0,0 +1,653 @@ + +PASS :module_scope_types:type="bool";kind="comment";via_alias=false +PASS :module_scope_types:type="bool";kind="comment";via_alias=true +PASS :module_scope_types:type="bool";kind="handle";via_alias=false +PASS :module_scope_types:type="bool";kind="handle";via_alias=true +PASS :module_scope_types:type="bool";kind="private";via_alias=false +PASS :module_scope_types:type="bool";kind="private";via_alias=true +PASS :module_scope_types:type="bool";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="bool";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="bool";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="bool";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="bool";kind="uniform";via_alias=false +PASS :module_scope_types:type="bool";kind="uniform";via_alias=true +PASS :module_scope_types:type="bool";kind="workgroup";via_alias=false +PASS :module_scope_types:type="bool";kind="workgroup";via_alias=true +PASS :module_scope_types:type="i32";kind="comment";via_alias=false +PASS :module_scope_types:type="i32";kind="comment";via_alias=true +PASS :module_scope_types:type="i32";kind="handle";via_alias=false +PASS :module_scope_types:type="i32";kind="handle";via_alias=true +PASS :module_scope_types:type="i32";kind="private";via_alias=false +PASS :module_scope_types:type="i32";kind="private";via_alias=true +PASS :module_scope_types:type="i32";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="i32";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="i32";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="i32";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="i32";kind="uniform";via_alias=false +PASS :module_scope_types:type="i32";kind="uniform";via_alias=true +PASS :module_scope_types:type="i32";kind="workgroup";via_alias=false +PASS :module_scope_types:type="i32";kind="workgroup";via_alias=true +PASS :module_scope_types:type="u32";kind="comment";via_alias=false +PASS :module_scope_types:type="u32";kind="comment";via_alias=true +PASS :module_scope_types:type="u32";kind="handle";via_alias=false +PASS :module_scope_types:type="u32";kind="handle";via_alias=true +PASS :module_scope_types:type="u32";kind="private";via_alias=false +PASS :module_scope_types:type="u32";kind="private";via_alias=true +PASS :module_scope_types:type="u32";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="u32";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="u32";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="u32";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="u32";kind="uniform";via_alias=false +PASS :module_scope_types:type="u32";kind="uniform";via_alias=true +PASS :module_scope_types:type="u32";kind="workgroup";via_alias=false +PASS :module_scope_types:type="u32";kind="workgroup";via_alias=true +PASS :module_scope_types:type="f32";kind="comment";via_alias=false +PASS :module_scope_types:type="f32";kind="comment";via_alias=true +PASS :module_scope_types:type="f32";kind="handle";via_alias=false +PASS :module_scope_types:type="f32";kind="handle";via_alias=true +PASS :module_scope_types:type="f32";kind="private";via_alias=false +PASS :module_scope_types:type="f32";kind="private";via_alias=true +PASS :module_scope_types:type="f32";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="f32";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="f32";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="f32";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="f32";kind="uniform";via_alias=false +PASS :module_scope_types:type="f32";kind="uniform";via_alias=true +PASS :module_scope_types:type="f32";kind="workgroup";via_alias=false +PASS :module_scope_types:type="f32";kind="workgroup";via_alias=true +PASS :module_scope_types:type="f16";kind="comment";via_alias=false +PASS :module_scope_types:type="f16";kind="comment";via_alias=true +PASS :module_scope_types:type="f16";kind="handle";via_alias=false +PASS :module_scope_types:type="f16";kind="handle";via_alias=true +PASS :module_scope_types:type="f16";kind="private";via_alias=false +PASS :module_scope_types:type="f16";kind="private";via_alias=true +PASS :module_scope_types:type="f16";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="f16";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="f16";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="f16";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="f16";kind="uniform";via_alias=false +PASS :module_scope_types:type="f16";kind="uniform";via_alias=true +PASS :module_scope_types:type="f16";kind="workgroup";via_alias=false +PASS :module_scope_types:type="f16";kind="workgroup";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="private";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="private";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="vec2%3Cbool%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="vec3i";kind="comment";via_alias=false +PASS :module_scope_types:type="vec3i";kind="comment";via_alias=true +PASS :module_scope_types:type="vec3i";kind="handle";via_alias=false +PASS :module_scope_types:type="vec3i";kind="handle";via_alias=true +PASS :module_scope_types:type="vec3i";kind="private";via_alias=false +PASS :module_scope_types:type="vec3i";kind="private";via_alias=true +PASS :module_scope_types:type="vec3i";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="vec3i";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="vec3i";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="vec3i";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="vec3i";kind="uniform";via_alias=false +PASS :module_scope_types:type="vec3i";kind="uniform";via_alias=true +PASS :module_scope_types:type="vec3i";kind="workgroup";via_alias=false +PASS :module_scope_types:type="vec3i";kind="workgroup";via_alias=true +PASS :module_scope_types:type="vec4u";kind="comment";via_alias=false +PASS :module_scope_types:type="vec4u";kind="comment";via_alias=true +PASS :module_scope_types:type="vec4u";kind="handle";via_alias=false +PASS :module_scope_types:type="vec4u";kind="handle";via_alias=true +PASS :module_scope_types:type="vec4u";kind="private";via_alias=false +PASS :module_scope_types:type="vec4u";kind="private";via_alias=true +PASS :module_scope_types:type="vec4u";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="vec4u";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="vec4u";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="vec4u";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="vec4u";kind="uniform";via_alias=false +PASS :module_scope_types:type="vec4u";kind="uniform";via_alias=true +PASS :module_scope_types:type="vec4u";kind="workgroup";via_alias=false +PASS :module_scope_types:type="vec4u";kind="workgroup";via_alias=true +PASS :module_scope_types:type="vec2f";kind="comment";via_alias=false +PASS :module_scope_types:type="vec2f";kind="comment";via_alias=true +PASS :module_scope_types:type="vec2f";kind="handle";via_alias=false +PASS :module_scope_types:type="vec2f";kind="handle";via_alias=true +PASS :module_scope_types:type="vec2f";kind="private";via_alias=false +PASS :module_scope_types:type="vec2f";kind="private";via_alias=true +PASS :module_scope_types:type="vec2f";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="vec2f";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="vec2f";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="vec2f";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="vec2f";kind="uniform";via_alias=false +PASS :module_scope_types:type="vec2f";kind="uniform";via_alias=true +PASS :module_scope_types:type="vec2f";kind="workgroup";via_alias=false +PASS :module_scope_types:type="vec2f";kind="workgroup";via_alias=true +PASS :module_scope_types:type="vec3h";kind="comment";via_alias=false +PASS :module_scope_types:type="vec3h";kind="comment";via_alias=true +PASS :module_scope_types:type="vec3h";kind="handle";via_alias=false +PASS :module_scope_types:type="vec3h";kind="handle";via_alias=true +PASS :module_scope_types:type="vec3h";kind="private";via_alias=false +PASS :module_scope_types:type="vec3h";kind="private";via_alias=true +PASS :module_scope_types:type="vec3h";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="vec3h";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="vec3h";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="vec3h";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="vec3h";kind="uniform";via_alias=false +PASS :module_scope_types:type="vec3h";kind="uniform";via_alias=true +PASS :module_scope_types:type="vec3h";kind="workgroup";via_alias=false +PASS :module_scope_types:type="vec3h";kind="workgroup";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="comment";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="comment";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="handle";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="handle";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="private";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="private";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="uniform";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="uniform";via_alias=true +PASS :module_scope_types:type="mat2x2f";kind="workgroup";via_alias=false +PASS :module_scope_types:type="mat2x2f";kind="workgroup";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="comment";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="comment";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="handle";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="handle";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="private";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="private";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="uniform";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="uniform";via_alias=true +PASS :module_scope_types:type="mat3x4h";kind="workgroup";via_alias=false +PASS :module_scope_types:type="mat3x4h";kind="workgroup";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="private";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="private";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="atomic%3Ci32%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="private";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="private";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="atomic%3Cu32%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%204%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="private";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="private";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_u32";kind="comment";via_alias=false +PASS :module_scope_types:type="S_u32";kind="comment";via_alias=true +PASS :module_scope_types:type="S_u32";kind="handle";via_alias=false +PASS :module_scope_types:type="S_u32";kind="handle";via_alias=true +PASS :module_scope_types:type="S_u32";kind="private";via_alias=false +PASS :module_scope_types:type="S_u32";kind="private";via_alias=true +PASS :module_scope_types:type="S_u32";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_u32";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_u32";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_u32";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_u32";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_u32";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_u32";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_u32";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_bool";kind="comment";via_alias=false +PASS :module_scope_types:type="S_bool";kind="comment";via_alias=true +PASS :module_scope_types:type="S_bool";kind="handle";via_alias=false +PASS :module_scope_types:type="S_bool";kind="handle";via_alias=true +PASS :module_scope_types:type="S_bool";kind="private";via_alias=false +PASS :module_scope_types:type="S_bool";kind="private";via_alias=true +PASS :module_scope_types:type="S_bool";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_bool";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_bool";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_bool";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_bool";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_bool";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_bool";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_bool";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="comment";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="comment";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="handle";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="handle";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="private";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="private";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_S_bool";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_S_bool";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="comment";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="comment";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="handle";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="handle";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="private";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="private";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_array_vec4u";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_array_vec4u";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="comment";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="comment";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="handle";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="handle";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="private";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="private";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_array_vec4u_4";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_array_vec4u_4";kind="workgroup";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="comment";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="comment";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="handle";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="handle";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="private";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="private";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="uniform";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="uniform";via_alias=true +PASS :module_scope_types:type="S_array_bool_4";kind="workgroup";via_alias=false +PASS :module_scope_types:type="S_array_bool_4";kind="workgroup";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="private";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="private";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="workgroup";via_alias=true +PASS :module_scope_types:type="sampler";kind="comment";via_alias=false +PASS :module_scope_types:type="sampler";kind="comment";via_alias=true +PASS :module_scope_types:type="sampler";kind="handle";via_alias=false +PASS :module_scope_types:type="sampler";kind="handle";via_alias=true +PASS :module_scope_types:type="sampler";kind="private";via_alias=false +PASS :module_scope_types:type="sampler";kind="private";via_alias=true +PASS :module_scope_types:type="sampler";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="sampler";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="sampler";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="sampler";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="sampler";kind="uniform";via_alias=false +PASS :module_scope_types:type="sampler";kind="uniform";via_alias=true +PASS :module_scope_types:type="sampler";kind="workgroup";via_alias=false +PASS :module_scope_types:type="sampler";kind="workgroup";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="comment";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="comment";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="handle";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="handle";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="private";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="private";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="storage_ro";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="storage_ro";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="storage_rw";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="storage_rw";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="uniform";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="uniform";via_alias=true +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="workgroup";via_alias=false +PASS :module_scope_types:type="texture_2d%3Cf32%3E";kind="workgroup";via_alias=true +PASS :function_scope_types:type="bool";kind="comment";via_alias=false +PASS :function_scope_types:type="bool";kind="comment";via_alias=true +PASS :function_scope_types:type="bool";kind="var";via_alias=false +PASS :function_scope_types:type="bool";kind="var";via_alias=true +PASS :function_scope_types:type="i32";kind="comment";via_alias=false +PASS :function_scope_types:type="i32";kind="comment";via_alias=true +PASS :function_scope_types:type="i32";kind="var";via_alias=false +PASS :function_scope_types:type="i32";kind="var";via_alias=true +PASS :function_scope_types:type="u32";kind="comment";via_alias=false +PASS :function_scope_types:type="u32";kind="comment";via_alias=true +PASS :function_scope_types:type="u32";kind="var";via_alias=false +PASS :function_scope_types:type="u32";kind="var";via_alias=true +PASS :function_scope_types:type="f32";kind="comment";via_alias=false +PASS :function_scope_types:type="f32";kind="comment";via_alias=true +PASS :function_scope_types:type="f32";kind="var";via_alias=false +PASS :function_scope_types:type="f32";kind="var";via_alias=true +PASS :function_scope_types:type="f16";kind="comment";via_alias=false +PASS :function_scope_types:type="f16";kind="comment";via_alias=true +PASS :function_scope_types:type="f16";kind="var";via_alias=false +PASS :function_scope_types:type="f16";kind="var";via_alias=true +PASS :function_scope_types:type="vec2%3Cbool%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="vec2%3Cbool%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="vec2%3Cbool%3E";kind="var";via_alias=false +PASS :function_scope_types:type="vec2%3Cbool%3E";kind="var";via_alias=true +PASS :function_scope_types:type="vec3i";kind="comment";via_alias=false +PASS :function_scope_types:type="vec3i";kind="comment";via_alias=true +PASS :function_scope_types:type="vec3i";kind="var";via_alias=false +PASS :function_scope_types:type="vec3i";kind="var";via_alias=true +PASS :function_scope_types:type="vec4u";kind="comment";via_alias=false +PASS :function_scope_types:type="vec4u";kind="comment";via_alias=true +PASS :function_scope_types:type="vec4u";kind="var";via_alias=false +PASS :function_scope_types:type="vec4u";kind="var";via_alias=true +PASS :function_scope_types:type="vec2f";kind="comment";via_alias=false +PASS :function_scope_types:type="vec2f";kind="comment";via_alias=true +PASS :function_scope_types:type="vec2f";kind="var";via_alias=false +PASS :function_scope_types:type="vec2f";kind="var";via_alias=true +PASS :function_scope_types:type="vec3h";kind="comment";via_alias=false +PASS :function_scope_types:type="vec3h";kind="comment";via_alias=true +PASS :function_scope_types:type="vec3h";kind="var";via_alias=false +PASS :function_scope_types:type="vec3h";kind="var";via_alias=true +PASS :function_scope_types:type="mat2x2f";kind="comment";via_alias=false +PASS :function_scope_types:type="mat2x2f";kind="comment";via_alias=true +PASS :function_scope_types:type="mat2x2f";kind="var";via_alias=false +PASS :function_scope_types:type="mat2x2f";kind="var";via_alias=true +PASS :function_scope_types:type="mat3x4h";kind="comment";via_alias=false +PASS :function_scope_types:type="mat3x4h";kind="comment";via_alias=true +PASS :function_scope_types:type="mat3x4h";kind="var";via_alias=false +PASS :function_scope_types:type="mat3x4h";kind="var";via_alias=true +PASS :function_scope_types:type="atomic%3Ci32%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="atomic%3Ci32%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="atomic%3Ci32%3E";kind="var";via_alias=false +PASS :function_scope_types:type="atomic%3Ci32%3E";kind="var";via_alias=true +PASS :function_scope_types:type="atomic%3Cu32%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="atomic%3Cu32%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="atomic%3Cu32%3E";kind="var";via_alias=false +PASS :function_scope_types:type="atomic%3Cu32%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4%3Cbool%3E,%204%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%204%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%204%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%204%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%204%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_const%3E";kind="var";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="var";via_alias=false +PASS :function_scope_types:type="array%3Cvec4u,%20array_size_override%3E";kind="var";via_alias=true +PASS :function_scope_types:type="S_u32";kind="comment";via_alias=false +PASS :function_scope_types:type="S_u32";kind="comment";via_alias=true +PASS :function_scope_types:type="S_u32";kind="var";via_alias=false +PASS :function_scope_types:type="S_u32";kind="var";via_alias=true +PASS :function_scope_types:type="S_bool";kind="comment";via_alias=false +PASS :function_scope_types:type="S_bool";kind="comment";via_alias=true +PASS :function_scope_types:type="S_bool";kind="var";via_alias=false +PASS :function_scope_types:type="S_bool";kind="var";via_alias=true +PASS :function_scope_types:type="S_S_bool";kind="comment";via_alias=false +PASS :function_scope_types:type="S_S_bool";kind="comment";via_alias=true +PASS :function_scope_types:type="S_S_bool";kind="var";via_alias=false +PASS :function_scope_types:type="S_S_bool";kind="var";via_alias=true +PASS :function_scope_types:type="S_array_vec4u";kind="comment";via_alias=false +PASS :function_scope_types:type="S_array_vec4u";kind="comment";via_alias=true +PASS :function_scope_types:type="S_array_vec4u";kind="var";via_alias=false +PASS :function_scope_types:type="S_array_vec4u";kind="var";via_alias=true +PASS :function_scope_types:type="S_array_vec4u_4";kind="comment";via_alias=false +PASS :function_scope_types:type="S_array_vec4u_4";kind="comment";via_alias=true +PASS :function_scope_types:type="S_array_vec4u_4";kind="var";via_alias=false +PASS :function_scope_types:type="S_array_vec4u_4";kind="var";via_alias=true +PASS :function_scope_types:type="S_array_bool_4";kind="comment";via_alias=false +PASS :function_scope_types:type="S_array_bool_4";kind="comment";via_alias=true +PASS :function_scope_types:type="S_array_bool_4";kind="var";via_alias=false +PASS :function_scope_types:type="S_array_bool_4";kind="var";via_alias=true +PASS :function_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="var";via_alias=false +PASS :function_scope_types:type="ptr%3Cfunction,%20u32%3E";kind="var";via_alias=true +PASS :function_scope_types:type="sampler";kind="comment";via_alias=false +PASS :function_scope_types:type="sampler";kind="comment";via_alias=true +PASS :function_scope_types:type="sampler";kind="var";via_alias=false +PASS :function_scope_types:type="sampler";kind="var";via_alias=true +PASS :function_scope_types:type="texture_2d%3Cf32%3E";kind="comment";via_alias=false +PASS :function_scope_types:type="texture_2d%3Cf32%3E";kind="comment";via_alias=true +PASS :function_scope_types:type="texture_2d%3Cf32%3E";kind="var";via_alias=false +PASS :function_scope_types:type="texture_2d%3Cf32%3E";kind="var";via_alias=true +PASS :module_scope_initializers:initializer=false;kind="private" +PASS :module_scope_initializers:initializer=false;kind="storage_ro" +PASS :module_scope_initializers:initializer=false;kind="storage_rw" +PASS :module_scope_initializers:initializer=false;kind="uniform" +PASS :module_scope_initializers:initializer=false;kind="workgroup" +PASS :module_scope_initializers:initializer=true;kind="private" +PASS :module_scope_initializers:initializer=true;kind="storage_ro" +PASS :module_scope_initializers:initializer=true;kind="storage_rw" +PASS :module_scope_initializers:initializer=true;kind="uniform" +PASS :module_scope_initializers:initializer=true;kind="workgroup" +PASS :handle_initializer:initializer=false;type="sampler" +PASS :handle_initializer:initializer=false;type="texture_2d%3Cf32%3E" +PASS :handle_initializer:initializer=true;type="sampler" +PASS :handle_initializer:initializer=true;type="texture_2d%3Cf32%3E" +PASS :initializer_kind:initializer="u32()";addrspace="private" +PASS :initializer_kind:initializer="u32()";addrspace="function" +PASS :initializer_kind:initializer="42u";addrspace="private" +PASS :initializer_kind:initializer="42u";addrspace="function" +PASS :initializer_kind:initializer="u32(sqrt(42.0))";addrspace="private" +PASS :initializer_kind:initializer="u32(sqrt(42.0))";addrspace="function" +PASS :initializer_kind:initializer="user_func()";addrspace="private" +PASS :initializer_kind:initializer="user_func()";addrspace="function" +PASS :initializer_kind:initializer="my_const_42u";addrspace="private" +PASS :initializer_kind:initializer="my_const_42u";addrspace="function" +PASS :initializer_kind:initializer="my_override_42u";addrspace="private" +PASS :initializer_kind:initializer="my_override_42u";addrspace="function" +PASS :initializer_kind:initializer="another_private_var";addrspace="private" +PASS :initializer_kind:initializer="another_private_var";addrspace="function" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[my_const_42u%20%2F%2020]";addrspace="private" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[my_const_42u%20%2F%2020]";addrspace="function" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[my_override_42u%20%2F%2020]";addrspace="private" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[my_override_42u%20%2F%2020]";addrspace="function" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[another_private_var%20%2F%2020]";addrspace="private" +PASS :initializer_kind:initializer="vec4u(1,%202,%203,%204)[another_private_var%20%2F%2020]";addrspace="function" +PASS :function_addrspace_at_module_scope:addrspace="private" +PASS :function_addrspace_at_module_scope:addrspace="function" +PASS :binding_point_on_resources:decl="uniform";group="";binding="" +PASS :binding_point_on_resources:decl="uniform";group="";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="uniform";group="%40group(0)";binding="" +PASS :binding_point_on_resources:decl="uniform";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="storage";group="";binding="" +PASS :binding_point_on_resources:decl="storage";group="";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="storage";group="%40group(0)";binding="" +PASS :binding_point_on_resources:decl="storage";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="texture";group="";binding="" +PASS :binding_point_on_resources:decl="texture";group="";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="texture";group="%40group(0)";binding="" +PASS :binding_point_on_resources:decl="texture";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="sampler";group="";binding="" +PASS :binding_point_on_resources:decl="sampler";group="";binding="%40binding(0)" +PASS :binding_point_on_resources:decl="sampler";group="%40group(0)";binding="" +PASS :binding_point_on_resources:decl="sampler";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_non_resources:addrspace="private";group="";binding="" +PASS :binding_point_on_non_resources:addrspace="private";group="";binding="%40binding(0)" +PASS :binding_point_on_non_resources:addrspace="private";group="%40group(0)";binding="" +PASS :binding_point_on_non_resources:addrspace="private";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_non_resources:addrspace="workgroup";group="";binding="" +PASS :binding_point_on_non_resources:addrspace="workgroup";group="";binding="%40binding(0)" +PASS :binding_point_on_non_resources:addrspace="workgroup";group="%40group(0)";binding="" +PASS :binding_point_on_non_resources:addrspace="workgroup";group="%40group(0)";binding="%40binding(0)" +PASS :binding_point_on_function_var:group="";binding="" +PASS :binding_point_on_function_var:group="";binding="%40binding(0)" +PASS :binding_point_on_function_var:group="%40group(0)";binding="" +PASS :binding_point_on_function_var:group="%40group(0)";binding="%40binding(0)" +FAIL :binding_collisions:a_group=0;b_group=0;a_binding=0;b_binding=0;b_use="same" assert_unreached: + - VALIDATION FAILED: Missing expected compilationInfo 'error' message. + + ErrorWithExtra@http://127.0.0.1:8000/webgpu/common/util/util.js:24:10 + expectCompileResult@http://127.0.0.1:8000/webgpu/webgpu/shader/validation/shader_validation_test.js:28:37 + @http://127.0.0.1:8000/webgpu/webgpu/shader/validation/decl/var.spec.js:513:24 + - EXPECTATION FAILED: Expected validation error + at (elided: below max severity) + Reached unreachable code +PASS :binding_collisions:a_group=0;b_group=0;a_binding=0;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=0;b_group=0;a_binding=0;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=0;b_group=0;a_binding=0;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=0;b_group=0;a_binding=1;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=0;b_group=0;a_binding=1;b_binding=0;b_use="different" +FAIL :binding_collisions:a_group=0;b_group=0;a_binding=1;b_binding=1;b_use="same" assert_unreached: + - VALIDATION FAILED: Missing expected compilationInfo 'error' message. + + ErrorWithExtra@http://127.0.0.1:8000/webgpu/common/util/util.js:24:10 + expectCompileResult@http://127.0.0.1:8000/webgpu/webgpu/shader/validation/shader_validation_test.js:28:37 + @http://127.0.0.1:8000/webgpu/webgpu/shader/validation/decl/var.spec.js:513:24 + - EXPECTATION FAILED: Expected validation error + at (elided: below max severity) + Reached unreachable code +PASS :binding_collisions:a_group=0;b_group=0;a_binding=1;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=0;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=0;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=0;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=0;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=1;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=1;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=1;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=0;b_group=1;a_binding=1;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=0;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=0;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=0;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=0;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=1;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=1;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=1;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=1;b_group=0;a_binding=1;b_binding=1;b_use="different" +FAIL :binding_collisions:a_group=1;b_group=1;a_binding=0;b_binding=0;b_use="same" assert_unreached: + - VALIDATION FAILED: Missing expected compilationInfo 'error' message. + + ErrorWithExtra@http://127.0.0.1:8000/webgpu/common/util/util.js:24:10 + expectCompileResult@http://127.0.0.1:8000/webgpu/webgpu/shader/validation/shader_validation_test.js:28:37 + @http://127.0.0.1:8000/webgpu/webgpu/shader/validation/decl/var.spec.js:513:24 + - EXPECTATION FAILED: Expected validation error + at (elided: below max severity) + Reached unreachable code +PASS :binding_collisions:a_group=1;b_group=1;a_binding=0;b_binding=0;b_use="different" +PASS :binding_collisions:a_group=1;b_group=1;a_binding=0;b_binding=1;b_use="same" +PASS :binding_collisions:a_group=1;b_group=1;a_binding=0;b_binding=1;b_use="different" +PASS :binding_collisions:a_group=1;b_group=1;a_binding=1;b_binding=0;b_use="same" +PASS :binding_collisions:a_group=1;b_group=1;a_binding=1;b_binding=0;b_use="different" +FAIL :binding_collisions:a_group=1;b_group=1;a_binding=1;b_binding=1;b_use="same" assert_unreached: + - VALIDATION FAILED: Missing expected compilationInfo 'error' message. + + ErrorWithExtra@http://127.0.0.1:8000/webgpu/common/util/util.js:24:10 + expectCompileResult@http://127.0.0.1:8000/webgpu/webgpu/shader/validation/shader_validation_test.js:28:37 + @http://127.0.0.1:8000/webgpu/webgpu/shader/validation/decl/var.spec.js:513:24 + - EXPECTATION FAILED: Expected validation error + at (elided: below max severity) + Reached unreachable code +PASS :binding_collisions:a_group=1;b_group=1;a_binding=1;b_binding=1;b_use="different" +PASS :binding_collision_unused_helper: + diff --git a/LayoutTests/http/tests/webgpu/webgpu/shader/validation/extension/pointer_composite_access-expected.txt b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/extension/pointer_composite_access-expected.txt new file mode 100644 index 000000000000..43d0428de568 --- /dev/null +++ b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/extension/pointer_composite_access-expected.txt @@ -0,0 +1,30 @@ + +PASS :deref:case="array_index_access_via_identifier" +PASS :deref:case="vector_index_access_via_identifier" +PASS :deref:case="vector_member_access_via_identifier" +PASS :deref:case="matrix_index_access_via_identifier" +PASS :deref:case="struct_member_access_via_identifier" +PASS :deref:case="builtin_struct_modf_via_identifier" +PASS :deref:case="builtin_struct_frexp_via_identifier" +PASS :deref:case="array_index_access_via_pointer" +PASS :deref:case="vector_index_access_via_pointer" +PASS :deref:case="vector_member_access_via_pointer" +PASS :deref:case="matrix_index_access_via_pointer" +PASS :deref:case="struct_member_access_via_pointer" +PASS :deref:case="builtin_struct_modf_via_pointer" +PASS :deref:case="builtin_struct_frexp_via_pointer" +PASS :pointer:case="array_index_access_via_identifier" +PASS :pointer:case="vector_index_access_via_identifier" +PASS :pointer:case="vector_member_access_via_identifier" +PASS :pointer:case="matrix_index_access_via_identifier" +PASS :pointer:case="struct_member_access_via_identifier" +PASS :pointer:case="builtin_struct_modf_via_identifier" +PASS :pointer:case="builtin_struct_frexp_via_identifier" +PASS :pointer:case="array_index_access_via_pointer" +PASS :pointer:case="vector_index_access_via_pointer" +PASS :pointer:case="vector_member_access_via_pointer" +PASS :pointer:case="matrix_index_access_via_pointer" +PASS :pointer:case="struct_member_access_via_pointer" +PASS :pointer:case="builtin_struct_modf_via_pointer" +PASS :pointer:case="builtin_struct_frexp_via_pointer" + diff --git a/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/must_use-expected.txt b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/must_use-expected.txt new file mode 100644 index 000000000000..03279f9a99ff --- /dev/null +++ b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/must_use-expected.txt @@ -0,0 +1,260 @@ + +PASS :declaration:test="var" +PASS :declaration:test="function_no_return" +PASS :declaration:test="function_scalar_return" +PASS :declaration:test="function_struct_return" +PASS :declaration:test="function_var" +PASS :declaration:test="function_call" +PASS :declaration:test="function_parameter" +PASS :declaration:test="empty_parameter" +PASS :declaration:test="parameter" +PASS :call:use="%40must_use";call="no_call" +PASS :call:use="%40must_use";call="phony" +PASS :call:use="%40must_use";call="let" +PASS :call:use="%40must_use";call="local_var" +PASS :call:use="%40must_use";call="private_var" +PASS :call:use="%40must_use";call="storage_var" +PASS :call:use="%40must_use";call="pointer" +PASS :call:use="%40must_use";call="vector_elem" +PASS :call:use="%40must_use";call="matrix_elem" +PASS :call:use="%40must_use";call="condition" +PASS :call:use="%40must_use";call="param" +PASS :call:use="%40must_use";call="return" +PASS :call:use="%40must_use";call="statement" +PASS :call:use="";call="no_call" +PASS :call:use="";call="phony" +PASS :call:use="";call="let" +PASS :call:use="";call="local_var" +PASS :call:use="";call="private_var" +PASS :call:use="";call="storage_var" +PASS :call:use="";call="pointer" +PASS :call:use="";call="vector_elem" +PASS :call:use="";call="matrix_elem" +PASS :call:use="";call="condition" +PASS :call:use="";call="param" +PASS :call:use="";call="return" +PASS :call:use="";call="statement" +PASS :ignore_result_of_non_must_use_that_returns_call_of_must_use: +PASS :builtin_must_use:call="u32";use=true +PASS :builtin_must_use:call="u32";use=false +PASS :builtin_must_use:call="i32";use=true +PASS :builtin_must_use:call="i32";use=false +PASS :builtin_must_use:call="struct";use=true +PASS :builtin_must_use:call="struct";use=false +PASS :builtin_must_use:call="bitcast";use=true +PASS :builtin_must_use:call="bitcast";use=false +PASS :builtin_must_use:call="all";use=true +PASS :builtin_must_use:call="all";use=false +PASS :builtin_must_use:call="any";use=true +PASS :builtin_must_use:call="any";use=false +PASS :builtin_must_use:call="select";use=true +PASS :builtin_must_use:call="select";use=false +PASS :builtin_must_use:call="arrayLength";use=true +PASS :builtin_must_use:call="arrayLength";use=false +PASS :builtin_must_use:call="abs";use=true +PASS :builtin_must_use:call="abs";use=false +PASS :builtin_must_use:call="acos";use=true +PASS :builtin_must_use:call="acos";use=false +PASS :builtin_must_use:call="acosh";use=true +PASS :builtin_must_use:call="acosh";use=false +PASS :builtin_must_use:call="asin";use=true +PASS :builtin_must_use:call="asin";use=false +PASS :builtin_must_use:call="asinh";use=true +PASS :builtin_must_use:call="asinh";use=false +PASS :builtin_must_use:call="atan";use=true +PASS :builtin_must_use:call="atan";use=false +PASS :builtin_must_use:call="atanh";use=true +PASS :builtin_must_use:call="atanh";use=false +PASS :builtin_must_use:call="atan2";use=true +PASS :builtin_must_use:call="atan2";use=false +PASS :builtin_must_use:call="ceil";use=true +PASS :builtin_must_use:call="ceil";use=false +PASS :builtin_must_use:call="clamp";use=true +PASS :builtin_must_use:call="clamp";use=false +PASS :builtin_must_use:call="cos";use=true +PASS :builtin_must_use:call="cos";use=false +PASS :builtin_must_use:call="cosh";use=true +PASS :builtin_must_use:call="cosh";use=false +PASS :builtin_must_use:call="countLeadingZeros";use=true +PASS :builtin_must_use:call="countLeadingZeros";use=false +PASS :builtin_must_use:call="countOneBits";use=true +PASS :builtin_must_use:call="countOneBits";use=false +PASS :builtin_must_use:call="countTrailingZeros";use=true +PASS :builtin_must_use:call="countTrailingZeros";use=false +PASS :builtin_must_use:call="cross";use=true +PASS :builtin_must_use:call="cross";use=false +PASS :builtin_must_use:call="degrees";use=true +PASS :builtin_must_use:call="degrees";use=false +PASS :builtin_must_use:call="determinant";use=true +PASS :builtin_must_use:call="determinant";use=false +PASS :builtin_must_use:call="distance";use=true +PASS :builtin_must_use:call="distance";use=false +PASS :builtin_must_use:call="dot";use=true +PASS :builtin_must_use:call="dot";use=false +PASS :builtin_must_use:call="exp";use=true +PASS :builtin_must_use:call="exp";use=false +PASS :builtin_must_use:call="exp2";use=true +PASS :builtin_must_use:call="exp2";use=false +PASS :builtin_must_use:call="extractBits";use=true +PASS :builtin_must_use:call="extractBits";use=false +PASS :builtin_must_use:call="faceForward";use=true +PASS :builtin_must_use:call="faceForward";use=false +PASS :builtin_must_use:call="firstLeadingBit";use=true +PASS :builtin_must_use:call="firstLeadingBit";use=false +PASS :builtin_must_use:call="firstTrailingBit";use=true +PASS :builtin_must_use:call="firstTrailingBit";use=false +PASS :builtin_must_use:call="floor";use=true +PASS :builtin_must_use:call="floor";use=false +PASS :builtin_must_use:call="fma";use=true +PASS :builtin_must_use:call="fma";use=false +PASS :builtin_must_use:call="fract";use=true +PASS :builtin_must_use:call="fract";use=false +PASS :builtin_must_use:call="frexp";use=true +PASS :builtin_must_use:call="frexp";use=false +PASS :builtin_must_use:call="insertBits";use=true +PASS :builtin_must_use:call="insertBits";use=false +PASS :builtin_must_use:call="inverseSqrt";use=true +PASS :builtin_must_use:call="inverseSqrt";use=false +PASS :builtin_must_use:call="ldexp";use=true +PASS :builtin_must_use:call="ldexp";use=false +PASS :builtin_must_use:call="length";use=true +PASS :builtin_must_use:call="length";use=false +PASS :builtin_must_use:call="log";use=true +PASS :builtin_must_use:call="log";use=false +PASS :builtin_must_use:call="log2";use=true +PASS :builtin_must_use:call="log2";use=false +PASS :builtin_must_use:call="max";use=true +PASS :builtin_must_use:call="max";use=false +PASS :builtin_must_use:call="min";use=true +PASS :builtin_must_use:call="min";use=false +PASS :builtin_must_use:call="mix";use=true +PASS :builtin_must_use:call="mix";use=false +PASS :builtin_must_use:call="modf";use=true +PASS :builtin_must_use:call="modf";use=false +PASS :builtin_must_use:call="normalize";use=true +PASS :builtin_must_use:call="normalize";use=false +PASS :builtin_must_use:call="pow";use=true +PASS :builtin_must_use:call="pow";use=false +PASS :builtin_must_use:call="quantizeToF16";use=true +PASS :builtin_must_use:call="quantizeToF16";use=false +PASS :builtin_must_use:call="radians";use=true +PASS :builtin_must_use:call="radians";use=false +PASS :builtin_must_use:call="reflect";use=true +PASS :builtin_must_use:call="reflect";use=false +PASS :builtin_must_use:call="refract";use=true +PASS :builtin_must_use:call="refract";use=false +PASS :builtin_must_use:call="reverseBits";use=true +PASS :builtin_must_use:call="reverseBits";use=false +PASS :builtin_must_use:call="round";use=true +PASS :builtin_must_use:call="round";use=false +PASS :builtin_must_use:call="saturate";use=true +PASS :builtin_must_use:call="saturate";use=false +PASS :builtin_must_use:call="sign";use=true +PASS :builtin_must_use:call="sign";use=false +PASS :builtin_must_use:call="sin";use=true +PASS :builtin_must_use:call="sin";use=false +PASS :builtin_must_use:call="sinh";use=true +PASS :builtin_must_use:call="sinh";use=false +PASS :builtin_must_use:call="smoothstep";use=true +PASS :builtin_must_use:call="smoothstep";use=false +PASS :builtin_must_use:call="sqrt";use=true +PASS :builtin_must_use:call="sqrt";use=false +PASS :builtin_must_use:call="step";use=true +PASS :builtin_must_use:call="step";use=false +PASS :builtin_must_use:call="tan";use=true +PASS :builtin_must_use:call="tan";use=false +PASS :builtin_must_use:call="tanh";use=true +PASS :builtin_must_use:call="tanh";use=false +PASS :builtin_must_use:call="transpose";use=true +PASS :builtin_must_use:call="transpose";use=false +PASS :builtin_must_use:call="trunc";use=true +PASS :builtin_must_use:call="trunc";use=false +PASS :builtin_must_use:call="dpdx";use=true +PASS :builtin_must_use:call="dpdx";use=false +PASS :builtin_must_use:call="dpdxCoarse";use=true +PASS :builtin_must_use:call="dpdxCoarse";use=false +PASS :builtin_must_use:call="dpdxFine";use=true +PASS :builtin_must_use:call="dpdxFine";use=false +PASS :builtin_must_use:call="dpdy";use=true +PASS :builtin_must_use:call="dpdy";use=false +PASS :builtin_must_use:call="dpdyCoarse";use=true +PASS :builtin_must_use:call="dpdyCoarse";use=false +PASS :builtin_must_use:call="dpdyFine";use=true +PASS :builtin_must_use:call="dpdyFine";use=false +PASS :builtin_must_use:call="fwidth";use=true +PASS :builtin_must_use:call="fwidth";use=false +PASS :builtin_must_use:call="fwidthCoarse";use=true +PASS :builtin_must_use:call="fwidthCoarse";use=false +PASS :builtin_must_use:call="fwidthFine";use=true +PASS :builtin_must_use:call="fwidthFine";use=false +PASS :builtin_must_use:call="textureDimensions";use=true +PASS :builtin_must_use:call="textureDimensions";use=false +PASS :builtin_must_use:call="textureGather";use=true +PASS :builtin_must_use:call="textureGather";use=false +PASS :builtin_must_use:call="textureGatherCompare";use=true +PASS :builtin_must_use:call="textureGatherCompare";use=false +PASS :builtin_must_use:call="textureLoad";use=true +PASS :builtin_must_use:call="textureLoad";use=false +PASS :builtin_must_use:call="textureNumLayers";use=true +PASS :builtin_must_use:call="textureNumLayers";use=false +PASS :builtin_must_use:call="textureNumLevels";use=true +PASS :builtin_must_use:call="textureNumLevels";use=false +PASS :builtin_must_use:call="textureNumSamples";use=true +PASS :builtin_must_use:call="textureNumSamples";use=false +PASS :builtin_must_use:call="textureSample";use=true +PASS :builtin_must_use:call="textureSample";use=false +PASS :builtin_must_use:call="textureSampleBias";use=true +PASS :builtin_must_use:call="textureSampleBias";use=false +PASS :builtin_must_use:call="textureSampleCompare";use=true +PASS :builtin_must_use:call="textureSampleCompare";use=false +PASS :builtin_must_use:call="textureSampleCompareLevel";use=true +PASS :builtin_must_use:call="textureSampleCompareLevel";use=false +PASS :builtin_must_use:call="textureSampleGrad";use=true +PASS :builtin_must_use:call="textureSampleGrad";use=false +PASS :builtin_must_use:call="textureSampleLevel";use=true +PASS :builtin_must_use:call="textureSampleLevel";use=false +PASS :builtin_must_use:call="textureSampleBaseClampToEdge";use=true +PASS :builtin_must_use:call="textureSampleBaseClampToEdge";use=false +PASS :builtin_must_use:call="pack4x8snorm";use=true +PASS :builtin_must_use:call="pack4x8snorm";use=false +PASS :builtin_must_use:call="pack4x8unorm";use=true +PASS :builtin_must_use:call="pack4x8unorm";use=false +PASS :builtin_must_use:call="pack2x16snorm";use=true +PASS :builtin_must_use:call="pack2x16snorm";use=false +PASS :builtin_must_use:call="pack2x16unorm";use=true +PASS :builtin_must_use:call="pack2x16unorm";use=false +PASS :builtin_must_use:call="pack2x16float";use=true +PASS :builtin_must_use:call="pack2x16float";use=false +PASS :builtin_must_use:call="unpack4x8snorm";use=true +PASS :builtin_must_use:call="unpack4x8snorm";use=false +PASS :builtin_must_use:call="unpack4x8unorm";use=true +PASS :builtin_must_use:call="unpack4x8unorm";use=false +PASS :builtin_must_use:call="unpack2x16snorm";use=true +PASS :builtin_must_use:call="unpack2x16snorm";use=false +PASS :builtin_must_use:call="unpack2x16unorm";use=true +PASS :builtin_must_use:call="unpack2x16unorm";use=false +PASS :builtin_must_use:call="unpack2x16float";use=true +PASS :builtin_must_use:call="unpack2x16float";use=false +PASS :builtin_must_use:call="workgroupUniformLoad";use=true +PASS :builtin_must_use:call="workgroupUniformLoad";use=false +PASS :builtin_no_must_use:call="atomicLoad";use=true +PASS :builtin_no_must_use:call="atomicLoad";use=false +PASS :builtin_no_must_use:call="atomicAdd";use=true +PASS :builtin_no_must_use:call="atomicAdd";use=false +PASS :builtin_no_must_use:call="atomicSub";use=true +PASS :builtin_no_must_use:call="atomicSub";use=false +PASS :builtin_no_must_use:call="atomicMax";use=true +PASS :builtin_no_must_use:call="atomicMax";use=false +PASS :builtin_no_must_use:call="atomicMin";use=true +PASS :builtin_no_must_use:call="atomicMin";use=false +PASS :builtin_no_must_use:call="atomicAnd";use=true +PASS :builtin_no_must_use:call="atomicAnd";use=false +PASS :builtin_no_must_use:call="atomicOr";use=true +PASS :builtin_no_must_use:call="atomicOr";use=false +PASS :builtin_no_must_use:call="atomicXor";use=true +PASS :builtin_no_must_use:call="atomicXor";use=false +PASS :builtin_no_must_use:call="atomicExchange";use=true +PASS :builtin_no_must_use:call="atomicExchange";use=false +PASS :builtin_no_must_use:call="atomicCompareExchangeWeak";use=true +PASS :builtin_no_must_use:call="atomicCompareExchangeWeak";use=false + diff --git a/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/semicolon-expected.txt b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/semicolon-expected.txt index d57df051867a..305aa16ff9f4 100644 --- a/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/semicolon-expected.txt +++ b/LayoutTests/http/tests/webgpu/webgpu/shader/validation/parse/semicolon-expected.txt @@ -1 +1,43 @@ -(Populate me when we're ready to investigate this test) + +PASS :module_scope_single: +PASS :module_scope_multiple: +PASS :after_enable: +PASS :after_requires: +PASS :after_diagnostic: +PASS :after_struct_decl: +PASS :after_member: +PASS :after_func_decl: +PASS :after_type_alias_decl: +PASS :after_return: +PASS :after_call: +PASS :after_module_const_decl: +PASS :after_fn_const_decl: +PASS :after_module_var_decl: +PASS :after_fn_var_decl: +PASS :after_let_decl: +PASS :after_discard: +PASS :after_assignment: +PASS :after_fn_const_assert: +PASS :function_body_single: +PASS :function_body_multiple: +PASS :compound_statement_single: +PASS :compound_statement_multiple: +PASS :after_compound_statement: +PASS :after_if: +PASS :after_if_else: +PASS :after_switch: +PASS :after_case: +PASS :after_case_break: +PASS :after_default_case: +PASS :after_default_case_break: +PASS :after_for: +PASS :after_for_break: +PASS :after_loop: +PASS :after_loop_break: +PASS :after_loop_break_if: +PASS :after_loop_continue: +PASS :after_continuing: +PASS :after_while: +PASS :after_while_break: +PASS :after_while_continue: + diff --git a/LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt b/LayoutTests/http/wpt/credential-management/setDigitalCreditialsEnable.https-expected.txt similarity index 100% rename from LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https-expected.txt rename to LayoutTests/http/wpt/credential-management/setDigitalCreditialsEnable.https-expected.txt diff --git a/LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https.html b/LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https.html deleted file mode 100644 index 5ad7e9a90787..000000000000 --- a/LayoutTests/http/wpt/credential-management/setDigitalIdentityEnable.https.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Check that parts of the Digital Identity API are not exposed by - setting - - - - - - - diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt b/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt new file mode 100644 index 000000000000..cdd086621fba --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https-expected.txt @@ -0,0 +1,4 @@ + +PASS create() checks. +PASS Interaction with Web Authn API. + diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html b/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html new file mode 100644 index 000000000000..877efa189ae6 --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-create-basics.https.html @@ -0,0 +1,43 @@ + +Digital Credentials API: create() default behavior checks. + + + diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt b/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt new file mode 100644 index 000000000000..57043384711b --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https-expected.txt @@ -0,0 +1,3 @@ + +PASS navigator.identity.get() default behavior checks. + diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html b/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html new file mode 100644 index 000000000000..4df55367e22f --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-get-basics.https.html @@ -0,0 +1,70 @@ + +Digital Credential API: get() default behavior checks. + + + diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt b/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt new file mode 100644 index 000000000000..1db524982af6 --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https-expected.txt @@ -0,0 +1,3 @@ + +PASS navigator.credentials.store() basic behavior. + diff --git a/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html b/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html new file mode 100644 index 000000000000..5d70fc351a2b --- /dev/null +++ b/LayoutTests/http/wpt/identity/identitycredentialscontainer-store-basics.https.html @@ -0,0 +1,64 @@ + +Digital Credential API: store() basics. + + + diff --git a/LayoutTests/http/wpt/identity/idl.https-expected.txt b/LayoutTests/http/wpt/identity/idl.https-expected.txt new file mode 100644 index 000000000000..cbe7dbc6aa62 --- /dev/null +++ b/LayoutTests/http/wpt/identity/idl.https-expected.txt @@ -0,0 +1,88 @@ + +PASS idl_test setup +PASS idl_test validation +PASS Partial interface Navigator: original interface defined +PASS Partial interface Navigator: member names are unique +PASS Partial dictionary CredentialRequestOptions: original dictionary defined +PASS Partial dictionary CredentialRequestOptions: member names are unique +PASS Partial dictionary CredentialCreationOptions: original dictionary defined +PASS Partial dictionary CredentialCreationOptions: member names are unique +PASS Partial dictionary CredentialRequestOptions[2]: original dictionary defined +PASS Partial dictionary CredentialRequestOptions[2]: member names are unique +PASS Partial dictionary CredentialCreationOptions[2]: original dictionary defined +PASS Partial dictionary CredentialCreationOptions[2]: member names are unique +PASS Partial interface mixin NavigatorID: member names are unique +PASS Partial interface Navigator[2]: original interface defined +PASS Partial interface Navigator[2]: member names are unique +PASS Partial dictionary CredentialRequestOptions[3]: original dictionary defined +PASS Partial dictionary CredentialRequestOptions[3]: member names are unique +PASS PasswordCredential includes CredentialUserData: member names are unique +PASS FederatedCredential includes CredentialUserData: member names are unique +PASS HTMLElement includes GlobalEventHandlers: member names are unique +PASS HTMLElement includes DocumentAndElementEventHandlers: member names are unique +PASS HTMLElement includes ElementContentEditable: member names are unique +PASS HTMLElement includes HTMLOrSVGElement: member names are unique +PASS Navigator includes NavigatorID: member names are unique +PASS Navigator includes NavigatorLanguage: member names are unique +PASS Navigator includes NavigatorOnLine: member names are unique +PASS Navigator includes NavigatorContentUtils: member names are unique +PASS Navigator includes NavigatorCookies: member names are unique +PASS Navigator includes NavigatorPlugins: member names are unique +PASS Navigator includes NavigatorConcurrentHardware: member names are unique +PASS Credential interface: existence and properties of interface object +PASS Credential interface object length +PASS Credential interface object name +PASS Credential interface: existence and properties of interface prototype object +PASS Credential interface: existence and properties of interface prototype object's "constructor" property +PASS Credential interface: existence and properties of interface prototype object's @@unscopables property +PASS Credential interface: attribute id +PASS Credential interface: attribute type +PASS CredentialsContainer interface: existence and properties of interface object +PASS CredentialsContainer interface object length +PASS CredentialsContainer interface object name +PASS CredentialsContainer interface: existence and properties of interface prototype object +PASS CredentialsContainer interface: existence and properties of interface prototype object's "constructor" property +PASS CredentialsContainer interface: existence and properties of interface prototype object's @@unscopables property +PASS CredentialsContainer interface: operation get(optional CredentialRequestOptions) +PASS CredentialsContainer interface: operation store(Credential) +PASS CredentialsContainer interface: operation create(optional CredentialCreationOptions) +PASS CredentialsContainer interface: operation preventSilentAccess() +PASS CredentialsContainer must be primary interface of navigator.identity +PASS Stringification of navigator.identity +PASS CredentialsContainer interface: navigator.identity must inherit property "get(optional CredentialRequestOptions)" with the proper type +PASS CredentialsContainer interface: calling get(optional CredentialRequestOptions) on navigator.identity with too few arguments must throw TypeError +PASS CredentialsContainer interface: navigator.identity must inherit property "store(Credential)" with the proper type +PASS CredentialsContainer interface: calling store(Credential) on navigator.identity with too few arguments must throw TypeError +PASS CredentialsContainer interface: navigator.identity must inherit property "create(optional CredentialCreationOptions)" with the proper type +PASS CredentialsContainer interface: calling create(optional CredentialCreationOptions) on navigator.identity with too few arguments must throw TypeError +PASS CredentialsContainer interface: navigator.identity must inherit property "preventSilentAccess()" with the proper type +FAIL PasswordCredential interface: existence and properties of interface object assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface object length assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface object name assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: existence and properties of interface prototype object assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: attribute password assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: attribute name assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL PasswordCredential interface: attribute iconURL assert_own_property: self does not have own property "PasswordCredential" expected property "PasswordCredential" missing +FAIL FederatedCredential interface: existence and properties of interface object assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface object length assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface object name assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: existence and properties of interface prototype object assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: existence and properties of interface prototype object's "constructor" property assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: existence and properties of interface prototype object's @@unscopables property assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: attribute provider assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: attribute protocol assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: attribute name assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +FAIL FederatedCredential interface: attribute iconURL assert_own_property: self does not have own property "FederatedCredential" expected property "FederatedCredential" missing +PASS Navigator interface: attribute credentials +PASS Navigator interface: attribute identity +PASS DigitalCredential interface: existence and properties of interface object +PASS DigitalCredential interface object length +PASS DigitalCredential interface object name +PASS DigitalCredential interface: existence and properties of interface prototype object +PASS DigitalCredential interface: existence and properties of interface prototype object's "constructor" property +PASS DigitalCredential interface: existence and properties of interface prototype object's @@unscopables property +FAIL DigitalCredential interface: attribute protocol assert_true: The prototype object must have a property "protocol" expected true got false +PASS DigitalCredential interface: attribute data + diff --git a/LayoutTests/http/wpt/identity/idl.https.html b/LayoutTests/http/wpt/identity/idl.https.html new file mode 100644 index 000000000000..41bd81d65941 --- /dev/null +++ b/LayoutTests/http/wpt/identity/idl.https.html @@ -0,0 +1,43 @@ + + + + + + + diff --git a/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https-expected.txt b/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https-expected.txt new file mode 100644 index 000000000000..d2701958f201 --- /dev/null +++ b/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https-expected.txt @@ -0,0 +1,2 @@ +CONSOLE MESSAGE: Test finished + diff --git a/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html b/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html new file mode 100644 index 000000000000..e3d181e85c58 --- /dev/null +++ b/LayoutTests/http/wpt/identity/setDigitalCredentialsEnable.https.html @@ -0,0 +1,111 @@ + + + + + Check that parts of the Digital Credentials API exposure + is controlled via preference. + + + + + + + diff --git a/LayoutTests/http/wpt/webrtc/video-script-transform-simulcast.html b/LayoutTests/http/wpt/webrtc/video-script-transform-simulcast.html index c5f0bb12a2d9..d39154feb53f 100644 --- a/LayoutTests/http/wpt/webrtc/video-script-transform-simulcast.html +++ b/LayoutTests/http/wpt/webrtc/video-script-transform-simulcast.html @@ -111,7 +111,7 @@ const max = 200 let counter = 0; while (++counter < max && video.videoWidth != width && video.videoHeight != height) - await waitFor(50); + await new Promise(resolve => setTimeout(resolve, 50)); if (counter === max) return Promise.reject("Video size not expected : " + video.videoWidth + " " + video.videoHeight); diff --git a/LayoutTests/imported/w3c/resources/resource-files.json b/LayoutTests/imported/w3c/resources/resource-files.json index b6bfb30fa555..8c7163c5b674 100644 --- a/LayoutTests/imported/w3c/resources/resource-files.json +++ b/LayoutTests/imported/w3c/resources/resource-files.json @@ -4345,6 +4345,8 @@ "web-platform-tests/css/css-view-transitions/capture-with-offscreen-child-translated-ref.html", "web-platform-tests/css/css-view-transitions/capture-with-visibility-hidden-child-ref.html", "web-platform-tests/css/css-view-transitions/capture-with-visibility-mixed-descendants-ref.html", + "web-platform-tests/css/css-view-transitions/class-specificity-ref.html", + "web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html", "web-platform-tests/css/css-view-transitions/content-object-fit-fill-ref.html", "web-platform-tests/css/css-view-transitions/content-object-fit-none-ref.html", "web-platform-tests/css/css-view-transitions/content-smaller-than-box-size-ref.html", @@ -4395,6 +4397,7 @@ "web-platform-tests/css/css-view-transitions/massive-element-right-and-left-of-viewport-partially-onscreen-ref.html", "web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-offscreen-ref.html", "web-platform-tests/css/css-view-transitions/massive-element-right-of-viewport-partially-onscreen-ref.html", + "web-platform-tests/css/css-view-transitions/modify-style-via-cssom-ref.html", "web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations-ref.html", "web-platform-tests/css/css-view-transitions/named-element-with-fix-pos-child-ref.html", "web-platform-tests/css/css-view-transitions/new-and-old-sizes-match-ref.html", @@ -4436,6 +4439,7 @@ "web-platform-tests/css/css-view-transitions/old-content-object-view-box-overflow-ref.html", "web-platform-tests/css/css-view-transitions/old-root-vertical-writing-mode-ref.html", "web-platform-tests/css/css-view-transitions/pseudo-rendering-invalidation-ref.html", + "web-platform-tests/css/css-view-transitions/pseudo-with-classes-ref.html", "web-platform-tests/css/css-view-transitions/root-captured-as-different-tag-ref.html", "web-platform-tests/css/css-view-transitions/root-scrollbar-with-fixed-background-ref.html", "web-platform-tests/css/css-view-transitions/root-style-change-during-animation-ref.html", diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt index 465c9089d8fa..77db1d0652f7 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label-expected.txt @@ -57,10 +57,6 @@ HTML table/caption table caption label a b c 1 2 3 -SVG title - - - PASS html: input[type=button] PASS html: input[type=image] @@ -107,8 +103,4 @@ FAIL html: fieldset > legend assert_equals:

    expected "fieldset legend label" but got "" PASS html: table > caption -PASS svg: circle > title -PASS svg: rect > title -PASS svg: polygon > title -PASS svg: g > title diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label.html b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label.html index aea9e011c445..b07566a56d4c 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label.html +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_host_language_label.html @@ -16,7 +16,7 @@

    AccName: Host Language Label Tests

    HTML input with value, alt, etc.

    - + @@ -117,10 +117,10 @@

    HTML select

    HTML img/picture

    -image label +image label - picture label + picture label @@ -140,27 +140,8 @@

    HTML table/caption

    -

    SVG title

    - - - circle label - - - - rect label - - - polygon label - -
    - - - group label - - - -
    - + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label-expected.txt index 2b8eaa8dad3b..179e31a69ab8 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label-expected.txt @@ -1,6 +1,286 @@ +AccName: Label Tests + Tests the #comp_label portions of the AccName Name Computation algorithm. +Elements with roles that support aria-label use + +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +x +HTML elements that support aria-label + +x +x +x +x +x +x +x +x +x +x +x +x +x +x + x -PASS label valid on group +x + +x + +x + +x + + +x +x + +x +x +x + +x x +x x +x x + +x +Undefined aria-label tests + + +Name computation precedence tests + +x x x x label label x +x + +x +Empty/whitespace aria-label tests + + x my button +x +x my button +x +my button my button my button my button + +PASS label valid on div with alert role +PASS label valid on div with alertdialog role +PASS label valid on div with application role +PASS label valid on div with article role +PASS label valid on div with associationlist role +PASS label valid on div with associationlistitemkey role +PASS label valid on div with associationlistitemvalue role +PASS label valid on div with banner role +PASS label valid on div with blockquote role +PASS label valid on div with button role +PASS label valid on div with cell role +PASS label valid on div with checkbox role +PASS label valid on div with columnheader role +PASS label valid on div with combobox role +PASS label valid on div with complementary role +PASS label valid on div with contentinfo role +PASS label valid on div with dialog role +PASS label valid on div with directory role +PASS label valid on div with document role +PASS label valid on div with feed role +PASS label valid on div with figure role +PASS label valid on div with form role +PASS label valid on div with grid role +PASS label valid on div with gridcell role +PASS label valid on div with group role +PASS label valid on div with heading role +PASS label valid on div with img role +PASS label valid on div with link role +PASS label valid on div with list role +PASS label valid on div with listbox role +PASS label valid on div with listitem role +PASS label valid on div with log role +PASS label valid on div with main role +PASS label valid on div with marquee role +PASS label valid on div with math role +PASS label valid on div with menu role +PASS label valid on div with menubar role +PASS label valid on div with menuitem role +PASS label valid on div with menuitemcheckbox role +PASS label valid on div with menuitemradio role +PASS label valid on div with meter role +PASS label valid on div with navigation role +PASS label valid on div with note role +PASS label valid on div with option role +PASS label valid on div with progressbar role +PASS label valid on div with radio role +PASS label valid on div with radiogroup role +PASS label valid on div with region role +PASS label valid on div with row role +PASS label valid on div with rowgroup role +PASS label valid on div with rowheader role +PASS label valid on div with scrollbar role +PASS label valid on div with search role +PASS label valid on div with searchbox role +PASS label valid on div with separator role +PASS label valid on div with slider role +PASS label valid on div with spinbutton role +PASS label valid on div with status role +PASS label valid on div with switch role +PASS label valid on div with tab role +PASS label valid on div with table role +PASS label valid on div with tablist role +PASS label valid on div with tabpanel role +PASS label valid on div with textbox role +PASS label valid on div with timer role +PASS label valid on div with toolbar role +PASS label valid on div with tooltip role +PASS label valid on div with tree role +PASS label valid on div with treegrid role +PASS label valid on div with treeitem role +PASS label valid on link element +PASS label valid on article element +PASS label valid on aside element +PASS label valid on blockquote element +PASS label valid on button element +PASS label valid on dd element +PASS label valid on dl element +PASS label valid on dt element +PASS label valid on footer element +PASS label valid on fieldset element +PASS label valid on figure element +PASS label valid on form element +PASS label valid on header element +PASS label valid on h1 element +PASS label valid on h2 element +PASS label valid on h3 element +PASS label valid on h4 element +PASS label valid on h5 element +PASS label valid on h6 element +PASS label valid on hr element +PASS label valid on img element +PASS label valid on input type checkbox element +PASS label valid on input type radio element +PASS label valid on input type search element +PASS label valid on input type text element +PASS label valid on listitem element +PASS label valid on main element +PASS label valid on math element +PASS label valid on meter element +PASS label valid on nav element +PASS label valid on list (ordered) element +PASS label valid on section element +PASS label valid on select element +FAIL label valid on option element assert_equals: expected "label" but got "" +PASS label valid on table element +PASS label valid on thead element +PASS label valid on th element with the scope of col +PASS label valid on th (scope row) element +PASS label valid on tbody element +PASS label valid on tr element +PASS label valid on td element +PASS label valid on tfoot element +PASS label valid on textarea element +PASS label valid on list (unordered) element +FAIL aria-label undefined on img w/ alt assert_equals: alt expected "alt" but got "undefined" +FAIL aria-label undefined on img w/o alt assert_equals: expected "" but got "undefined" +FAIL aria-label undefined on img w/ empty alt assert_equals: expected "" but got "undefined" +FAIL aria-label undefined on img w/o alt but w/ title assert_equals: expected "title" but got "undefined" +FAIL aria-label undefined on img w/ empty alt but w/ title assert_equals: expected "title" but got "undefined" +FAIL button's hidden referenced name (display:none) supercedes aria-label assert_equals: expected "label" but got "foo" +PASS button's hidden referenced name (visibility:hidden) supercedes aria-label +FAIL button's hidden referenced name (visibility:hidden) with hidden aria-labelledby traversal falls back to aria-label assert_equals: expected "foo" but got "label" +PASS link's aria-labelledby name supercedes aria-label +PASS img's aria-label supercedes alt attribute +PASS svg's aria-label supercedes title tag +PASS input with label for association is superceded by aria-label +PASS button name from contents is superceded by aria-label +PASS h1 text is superceded by aria-label +PASS button with title is superceded by aria-label +PASS textarea's name with trailing whitespace in aria-label is valid +PASS link's name with leading whitespace in aria-label is valid +PASS button with blank braille pattern has name as such (not treated as whitespace per Unicode standard) +PASS div with role alert and carriage return in aria-label is valid +PASS link's name with tab in aria-label is valid +PASS button with leading form feed control character in aria-label is valid +PASS nav with trailing nbsp char aria-label is valid (nbsp is preserved in name) +PASS button with leading nbsp char in aria-label is valid (and uses aria-label) +PASS button with empty aria-label does not use aria-label as name +FAIL textarea with tab character as aria-label does not use aria-label as name assert_equals: expected "title" but got "" +FAIL button with carriage return as aria-label does not use aria-label as name assert_equals: expected "my button" but got "" +FAIL button with space characters as aria-label does not use aria-label as name assert_equals: expected "my button" but got "" diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label.html b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label.html index 0c057862b3bf..8b569ba6fff7 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label.html +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_label.html @@ -11,11 +11,234 @@ +

    AccName: Label Tests

    Tests the #comp_label portions of the AccName Name Computation algorithm.

    -
    x
    + - + + +

    Elements with roles that support aria-label use

    + + + +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    + + + +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    + + + +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    + + + +
    x
    +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    +
    x
    +
    x
    + + +
    x
    +
    x
    +
    x
    + +

    HTML elements that support aria-label

    + + +x +
    x
    + +
    x
    + +
    x
    +
    x
    +
    x
    + +
    x
    +
    x
    +
    x
    +
    x
    +

    x

    +

    x

    +

    x

    +

    x

    +
    x
    +
    x
    +
    + + + + + +
  • x
  • +
    x
    +x +x + +
      x
    +
    x
    + + + + + + + + + + + + + + + + + + + + + +
    xx
    xx
    xx
    + + + +

    Undefined aria-label tests

    +alt + + + + + +

    Name computation precedence tests

    + + + + + + + + + + +x +label + + + + +alt + + + + circle + + + + + + + + + + +

    x

    + + + + + + +

    Empty/whitespace aria-label tests

    + + + +x + + +x + + + + + + + + + + + + + + + + +

    Tests hidden node name computation as part of the #comp_labelledby portion of the AccName Name Computation algorithm.

    + + + +

    Testing with display:none

    + + + + + + + + + + foo + + + + + + + + + foo + + + + + + + +

    Testing with visibility:hidden

    + + + + + + + + + + foo + + + + + + + + + foo + + + + + + + +

    Testing with visibility:collapse

    + + + + foo + bar + + + + + foo + + bar + baz + + + + + + foo + + bar + baz + + + + + + foo + bar + baz + + + + + foo + bar + baz + + + + + foo + bar + baz + + +

    Testing with aria-hidden

    + + + + + + + + + + foo + + + + + + +

    Testing with hidden attribute

    + + + + + + + + + + foo + + + + + + + + + foo + + + + + + + \ No newline at end of file diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt index e00304081505..dad0e86e7481 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content-expected.txt @@ -81,6 +81,12 @@ label label +Empty alternative text for CSS content in pseudo-elements when applied to primitive appearance form controls + + + + + simple w/ for each child one two three @@ -191,6 +197,8 @@ PASS link name from fallback content with ::before and ::after PASS button name from fallback content mixing attr() and strings with ::before and ::after PASS heading name from fallback content mixing attr() and strings with ::before and ::after PASS link name from fallback content mixing attr() and strings with ::before and ::after +PASS primitive radio input with ::before containing empty alternative text +PASS primitive radio input with ::before containing empty alternative text for an image PASS button name from content for each child PASS heading name from content for each child PASS link name from content for each child @@ -210,7 +218,7 @@ FAIL heading name from content for each child including two nested links using a link2 - image + image link3 @@ -222,14 +230,14 @@ FAIL heading with link referencing image using aria-labelledby, that in turn ref link - image + image expected "image link" but got "link link" FAIL heading with link referencing image using aria-labelledby, that in turn references itself and another element via aria-labelledby assert_equals:

    link - image + image

    expected "image link" but got "image image link" FAIL button name from content for each child (no space, inline) assert_equals: expected "onetwothree" but got "one two three" FAIL heading name from content for each child (no space, inline) assert_equals:

    onetwothree

    expected "onetwothree" but got "one two three" diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html index 78d4467c1be6..3504658ea461 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_name_from_content.html @@ -49,6 +49,12 @@ content: " after "; /* [sic] leading and trailing space */ content: " after " / " alt-after "; /* Override the previous line for engines that support the Alternative Text syntax. */ } + .fallback-before-empty::before { + content: "before" / ""; + } + .fallback-before-image-empty::before { + content: "before " url(/images/blue.png) / ""; + } .fallback-before-mixed::before { content: " before "; /* [sic] leading and trailing space */ content: " before " / " start " attr(data-alt-text-before) " end "; /* Override the previous line for engines that support the Alternative Text syntax. */ @@ -145,6 +151,10 @@

    label

    +

    Empty alternative text for CSS content in pseudo-elements when applied to primitive appearance form controls

    +

    +

    +

    simple w/ for each child


    one two three

    @@ -152,16 +162,16 @@

    one two three
    -

    one two three

    -one two three
    +
    +

    one two three

    +one two three

    simple for each child with extra nesting containing image

    -
    -

    one two three four

    -one two three four
    +
    +

    one two three four

    +one two three four

    heading with nested button with nested image

    @@ -169,7 +179,7 @@

    + image button heading @@ -180,7 +190,7 @@

    link - image + image link heading @@ -191,7 +201,7 @@

    ignored link text - ignored image alt + ignored image alt ignored link text heading @@ -202,7 +212,7 @@

    ignored link text - image + image ignored link text heading @@ -215,7 +225,7 @@

    link2 - image + image link3 @@ -229,7 +239,7 @@

    @@ -239,7 +249,7 @@

    link - image + image

    diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt index 9a90947844bb..0524023b9486 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_text_node-expected.txt @@ -121,11 +121,11 @@ PASS div[role=heading] with text node, with extra non-breaking space PASS button with text node, with extra non-breaking space PASS heading with text node, with extra non-breaking space PASS link with text node, with extra non-breaking space -PASS span[role=button] with text node, with leading/trailing non-breaking space -PASS div[role=heading] with text node, with leading/trailing non-breaking space -PASS button with text node, with leading/trailing non-breaking space -PASS heading with text node, with leading/trailing non-breaking space -PASS link with text node, with leading/trailing non-breaking space +FAIL span[role=button] with text node, with leading/trailing non-breaking space assert_equals:  button label  expected "button label" but got " button label " +FAIL div[role=heading] with text node, with leading/trailing non-breaking space assert_equals:
     heading label 
    expected "heading label" but got " heading label " +FAIL button with text node, with leading/trailing non-breaking space assert_equals: expected "button label" but got " button label " +FAIL heading with text node, with leading/trailing non-breaking space assert_equals:

     heading label 

    expected "heading label" but got " heading label " +FAIL link with text node, with leading/trailing non-breaking space assert_equals:  link label  expected "link label" but got " link label " PASS span[role=button] with text node, with mixed space and non-breaking space PASS div[role=heading] with text node, with mixed space and non-breaking space PASS button with text node, with mixed space and non-breaking space diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt index d1af8e8ac129..013bba5cfe19 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip-expected.txt @@ -1,28 +1,33 @@ Tests the #comp_tooltip portions of the AccName Name Computation algorithm. - content -content - button WPT CTRL + OPT -summary + contents +contents + contents WPT CTRL + OPT +contents PASS link with img with tooltip label -FAIL link with text with tooltip label assert_equals: content expected "label" but got "content" +PASS link with text with tooltip label and no contents +PASS link with text with tooltip label and contents PASS div with text with tooltip label PASS img with tooltip label without alt PASS img with tooltip label with empty alt PASS img with tooltip label with alt PASS img with tooltip label without title -PASS textarea with placeholder and tooltip label -PASS text input with placeholder and tooltip label -PASS email input with placeholder and tooltip label -PASS password input with placeholder and tooltip label +PASS select with tooltip label +PASS button with tooltip label PASS checkbox input with tooltip label PASS radio input with tooltip label -FAIL button with tooltip label assert_equals: expected "label" but got "button" +PASS text input with placeholder and tooltip label +PASS password input with placeholder and tooltip label +PASS number input with placeholder and tooltip label +PASS search input with placeholder and tooltip label +PASS tel input with placeholder and tooltip label +PASS email input with placeholder and tooltip label +PASS url input with placeholder and tooltip label +PASS textarea with placeholder and tooltip label PASS abbr with tooltip label PASS kbd with tooltip label -PASS select with tooltip label -PASS summary with tooltip label +FAIL summary with tooltip label and contents assert_equals: contents expected "contents" but got "title" PASS iframe with tooltip label diff --git a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html index bcb17d3418ae..deaabefd93ac 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html +++ b/LayoutTests/imported/w3c/web-platform-tests/accname/name/comp_tooltip.html @@ -13,37 +13,54 @@

    Tests the #comp_tooltip portions of the AccName Name Computation algorithm.

    - -content -
    content
    - - -broken -broken - - - - - - - - -WPT -CTRL + OPT + + +contents +
    contents
    + + +alt +alt - + + + + + + + + + + + + + + + + + + + +WPT +CTRL + OPT + + +
    - summary + contents details
    - + + + + + + +
    + + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction-expected.html new file mode 100644 index 000000000000..b8d994ee0596 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction-expected.html @@ -0,0 +1,9 @@ + + +Verify contain:inline-size effect on grid flex child + + + +
    + +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction.html new file mode 100644 index 000000000000..4d98ddb1f39c --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-flex-fraction.html @@ -0,0 +1,24 @@ + + +Verify contain:inline-size effect on grid flex child + + + + + +
    +
    + +
    +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-queries-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-queries-expected.txt index f0b5bbe5f55c..3f571b4a9f6f 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-queries-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-queries-expected.txt @@ -67,7 +67,7 @@ PASS Match registered custom property with px. PASS Match registered custom property with px via initial keyword. PASS Match registered custom property with em in query. PASS Match registered custom property with em in computed value. -FAIL Match registered custom property with cqi unit. assert_equals: expected "rgb(0, 128, 0)" but got "rgb(0, 0, 0)" +PASS Match registered custom property with cqi unit. PASS Match registered custom property with initial value. PASS Match registered custom property with initial value via initial keyword. PASS Should only match exact string for numbers in non-registered custom properties diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-query-change-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-query-change-expected.txt index 9ce38b6ac37b..d3e9bd7124f9 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-query-change-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-property-style-query-change-expected.txt @@ -3,6 +3,6 @@ PASS Initially no queries match. PASS Target child PASS Target grandchild PASS Initially no queries for registered property match. -FAIL Registered property query child assert_equals: expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" -FAIL Registered property query grandchild assert_equals: expected "rgb(0, 128, 0)" but got "rgb(255, 0, 0)" +PASS Registered property query child +PASS Registered property query grandchild diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label-expected.txt new file mode 100644 index 000000000000..79e0073d5a2e --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label-expected.txt @@ -0,0 +1,212 @@ +Testing accessibility of display: contents + +Verifies accessibility behavior of the contents keyword for the CSS display property + +Accname + +hidden label visible to all users label x x x x + label x label label label +Accessibility roles + +x x x + x +x x +x x +x x +x x +x x +x x +x + +x +x +x + x x + x + x x x x x x x x x + x + x + x + x + x + x + x + x x x + x + x +y +x +y +x +y +x +y +x +y +x +y +x +y +x +y +x +y +x x +x x +x +x +x +x +x x +x x +x +x +x +x x +x x +x +x + +PASS tr with display: contents, within table with display: flex, has row role +PASS tr with display: contents, within table with role=table with display: flex, has row role +PASS tr with display: contents, within table with role=grid with display: flex, has row role +PASS ul with display: contents, as child of div with display: grid, has list role +PASS header with display: contents has banner role +PASS main with display: contents has main role +PASS footer with display: contents has contentinfo role +PASS search with display: contents has search role +PASS div with role banner and display: contents has banner role +PASS div with role main and display: contents has main role +PASS div with role contentinfo and display: contents has contentinfo role +PASS ul with role list and display: contents (child li has display: contents) has list role +PASS ul with role list and display: contents has list role +PASS ol with role list and display: contents has list role (child li has display: contents) +PASS ol with role list and display: contents has list role +PASS div with list role and display: contents has list role +PASS div with list role and display: contents has list role (child div with listitem role has display: contents) +PASS table with role table and display: contents has table role +PASS tr in table with role table and display: contents has row role +PASS div with role table with display: contents has table role +PASS div with role rowgroup in div with role table, both with display: contents, has rowgroup role +PASS div with role grid with display: contents has grid role +PASS div with role rowgroup in div with role grid, both with display: contents, has rowgroup role +PASS table with role treegrid and display: contents has treegrid role +PASS div with role treegrid and display: contents has treegrid role +PASS ul with role tree and display: contents has tree role +PASS Label: button with display: contents is labelled via referenced hidden span +PASS Label: link with display: contents is labelled via aria-labelledby +PASS Label: nav with display: contents is labelled via aria-labelledby +PASS Label: button with display: contents is labelled via aria-label +PASS Label: div with role group with display: contents is labelled via aria-label +PASS Label: button with display: contents is labelled via label for/id association +PASS Label: g element with display: contents, as child of svg, is labelled via title element +PASS Label: link with display: contents is labelled via name from contents +PASS Label: button with display: contents is labelled via name from contents +PASS Label: h3 with display: contents is labelled via name from contents +PASS Label: button with display: contents has button role +PASS Label: button with explicit button role and display: contents has button role +PASS Label: div with button role and display: contents has button role +PASS Label: div with button role, tabindex=0 and display: contents has button role +FAIL Label: th as child of tr with display: contents, within table with display: flex, has columnheader role assert_equals: x expected "x" but got "" +FAIL Label: td as child of tr with display: contents, within table with display: flex, has cell role assert_equals: x expected "x" but got "" +FAIL Label: th as child of tr with display: contents, within table with role=table with display: flex, has columnheader role assert_equals: x expected "x" but got "" +FAIL Label: td as child of tr with display: contents, within table with role=table with display: flex, has cell role assert_equals: x expected "x" but got "" +FAIL Label: th as child of tr with display: contents, within table with role=grid with display: flex, has columnheader role assert_equals: x expected "x" but got "" +FAIL Label: td (no explicit role) as child of tr with display: contents, within table with role=grid with display: flex, has gridcell role assert_equals: x expected "x" but got "" +FAIL Label: listitem within ul with display: contents, as child of div with display: grid, has listitem role assert_equals:
  • x
  • expected "x" but got "" +PASS Label: h3 with display: contents has heading role +FAIL Label: div with heading role, aria-level=3 and display: contents has heading role assert_equals:
    x
    expected "x" but got "x x x x" +FAIL Label: span with heading role, aria-level=1 and display: contents has heading role assert_equals: x expected "x" but got "x x x x" +FAIL Label: nav with display: contents and aria-label has navigation role assert_equals: expected (object) null but got (string) "label" +FAIL Label: aside with display: contents and aria-label has complementary role assert_equals: expected (object) null but got (string) "label" +PASS Label: form with display: contents has form role +PASS Label: section with aria-label and display: contents has region role +FAIL Label: div with role navigation, aria-label and display: contents has navigation role assert_equals: expected (object) null but got (string) "label" +FAIL Label: div with role complementary, aria-label and display: contents has complementary role assert_equals: expected (object) null but got (string) "label" +PASS Label: div with role form, aria-label and display: contents has form role +FAIL Label: div with role search and display: contents has search role assert_equals: expected (object) null but got (string) "label" +PASS Label: div with role region, aria-label and display: contents has region role +PASS Label: link with display: contents has link role +PASS Label: link with explicit link role and display: contents has link role +FAIL Label: div with link role and display: contents has link role assert_equals:
    x
    expected "x" but got "x x" +FAIL Label: div with link role, tabindex=0 and display: contents has link role assert_equals:
    x
    expected "x" but got "x x" +FAIL Label: li as child of ul with role list, both with display: contents, has listitem role assert_equals:
  • x
  • expected "x" but got "" +FAIL Label: li, as child of ul with role list and display: contents, has listitem role assert_equals:
  • y
  • expected "y" but got "" +FAIL Label: li with display: contents, as child of ul with role list, has listitem role assert_equals:
  • y
  • expected "y" but got "" +FAIL Label: li as child of ol with role list, both with display: contents, has listitem role assert_equals:
  • x
  • expected "x" but got "" +FAIL Label: li, as child of ol with role list and display: contents, has listitem role assert_equals:
  • y
  • expected "y" but got "" +FAIL Label: li with display: contents, as child of ol with role list, has listitem role assert_equals:
  • y
  • expected "y" but got "" +FAIL Label: div with listitem role, as child of div with display: contents, has listitem role assert_equals:
    x
    expected "x" but got "" +FAIL Label: div with listitem role (as child of div with list role), both with display: contents, has listitem role assert_equals:
    y
    expected "y" but got "" +FAIL Label: div with listitem role with display: contents, as child of div with list role, has listitem role assert_equals:
    y
    expected "y" but got "" +FAIL Label: td within tr both with display: contents, in table with role table and display: contents, has columnheader role assert_equals: x expected "x" but got "" +FAIL Label: td within tr in table with role table, all with display: contents, has cell role assert_equals: x expected "x" but got "" +FAIL Label: div with role columnheader with display: contents, in div with role rowgroup within div with table role both with display: contents, has columnheader role assert_equals:
    x
    expected "x" but got "" +FAIL Label: th within table with role grid, both with display: contents, has columnheader role assert_equals: x expected "x" but got "" +FAIL Label: td within table with role grid, both with display: contents, has gridcell role assert_equals: x expected "x" but got "" +FAIL Label: div with role columnheader with display: contents, in div with role rowgroup within div with grid role both with display: contents, has rowgroup role assert_equals:
    x
    expected "x" but got "" +FAIL Label: div with gridcell role and display: contents, within div with role row contained in a div with role grid both with display: contents, has gridcell role assert_equals:
    x
    expected "x" but got "" +PASS Label: li with role treeitem and display: contents, within ul with role tree and display: contents, has treeitem role +PASS Label: li with role treeitem and display: contents, within ul with role=group (within ul with role tree and display: contents), has treeitem role +PASS Role: button with display: contents is labelled via referenced hidden span +PASS Role: link with display: contents is labelled via aria-labelledby +PASS Role: nav with display: contents is labelled via aria-labelledby +PASS Role: button with display: contents is labelled via aria-label +PASS Role: div with role group with display: contents is labelled via aria-label +PASS Role: button with display: contents is labelled via label for/id association +FAIL Role: g element with display: contents, as child of svg, is labelled via title element assert_equals: + group label + + + expected "group" but got "" +PASS Role: link with display: contents is labelled via name from contents +PASS Role: button with display: contents is labelled via name from contents +PASS Role: h3 with display: contents is labelled via name from contents +PASS Role: button with display: contents has button role +PASS Role: button with explicit button role and display: contents has button role +PASS Role: div with button role and display: contents has button role +PASS Role: div with button role, tabindex=0 and display: contents has button role +FAIL Role: th as child of tr with display: contents, within table with display: flex, has columnheader role assert_equals: x expected "columnheader" but got "" +FAIL Role: td as child of tr with display: contents, within table with display: flex, has cell role assert_equals: x expected "cell" but got "" +FAIL Role: th as child of tr with display: contents, within table with role=table with display: flex, has columnheader role assert_equals: x expected "columnheader" but got "" +FAIL Role: td as child of tr with display: contents, within table with role=table with display: flex, has cell role assert_equals: x expected "cell" but got "" +FAIL Role: th as child of tr with display: contents, within table with role=grid with display: flex, has columnheader role assert_equals: x expected "columnheader" but got "" +FAIL Role: td (no explicit role) as child of tr with display: contents, within table with role=grid with display: flex, has gridcell role assert_equals: x expected "gridcell" but got "" +PASS Role: listitem within ul with display: contents, as child of div with display: grid, has listitem role +PASS Role: h3 with display: contents has heading role +PASS Role: div with heading role, aria-level=3 and display: contents has heading role +PASS Role: span with heading role, aria-level=1 and display: contents has heading role +PASS Role: nav with display: contents and aria-label has navigation role +PASS Role: aside with display: contents and aria-label has complementary role +PASS Role: form with display: contents has form role +PASS Role: section with aria-label and display: contents has region role +PASS Role: div with role navigation, aria-label and display: contents has navigation role +PASS Role: div with role complementary, aria-label and display: contents has complementary role +PASS Role: div with role form, aria-label and display: contents has form role +PASS Role: div with role search and display: contents has search role +PASS Role: div with role region, aria-label and display: contents has region role +PASS Role: link with display: contents has link role +PASS Role: link with explicit link role and display: contents has link role +PASS Role: div with link role and display: contents has link role +PASS Role: div with link role, tabindex=0 and display: contents has link role +PASS Role: li as child of ul with role list, both with display: contents, has listitem role +PASS Role: li, as child of ul with role list and display: contents, has listitem role +PASS Role: li with display: contents, as child of ul with role list, has listitem role +PASS Role: li as child of ol with role list, both with display: contents, has listitem role +PASS Role: li, as child of ol with role list and display: contents, has listitem role +PASS Role: li with display: contents, as child of ol with role list, has listitem role +PASS Role: div with listitem role, as child of div with display: contents, has listitem role +PASS Role: div with listitem role (as child of div with list role), both with display: contents, has listitem role +PASS Role: div with listitem role with display: contents, as child of div with list role, has listitem role +PASS Role: td within tr both with display: contents, in table with role table and display: contents, has columnheader role +PASS Role: td within tr in table with role table, all with display: contents, has cell role +PASS Role: div with role columnheader with display: contents, in div with role rowgroup within div with table role both with display: contents, has columnheader role +PASS Role: th within table with role grid, both with display: contents, has columnheader role +FAIL Role: td within table with role grid, both with display: contents, has gridcell role assert_equals: x expected "gridcell" but got "cell" +PASS Role: div with role columnheader with display: contents, in div with role rowgroup within div with grid role both with display: contents, has rowgroup role +PASS Role: div with gridcell role and display: contents, within div with role row contained in a div with role grid both with display: contents, has gridcell role +PASS Role: li with role treeitem and display: contents, within ul with role tree and display: contents, has treeitem role +PASS Role: li with role treeitem and display: contents, within ul with role=group (within ul with role tree and display: contents), has treeitem role +PASS div with display: contents has generic role +PASS span with display: contents has generic role + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label.html new file mode 100644 index 000000000000..4a06d0ff5bf2 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label.html @@ -0,0 +1,302 @@ + + + + Testing accessibility of display: contents + + + + + + + + + + + + +

    Testing accessibility of display: contents

    + +

    Verifies accessibility behavior of the contents keyword for the CSS display property

    + +

    Accname

    + + + + label + x + + + +
    x
    + + + + + + + + group label + + + + + + label + +

    label

    + +

    Accessibility roles

    + + + +
    x
    +
    x
    + + + + + + + + + + + + + + + +
    xx
    xx
    + + + + + + + + + + + + + + +
    xx
    xx
    + + + + + + + + + + + + + + +
    xx
    xx
    + + +
    +

    x

    +
      +
    • x
    • +
    • x
    • +
    +
    + + +
    x
    + x + + +

    x

    +
    x
    + x + + +
    x
    + + +
    x
    +
    x
    +
    x
    + x +
    + + + + +
    x
    + +
    x
    + +
    x
    + + + x + x +
    x
    +
    x
    + + +
      +
    • x
    • +
    • y
    • +
    + +
      +
    • x
    • +
    • y
    • +
    + +
      +
    • x
    • +
    • y
    • +
    + +
      +
    1. x
    2. +
    3. y
    4. +
    + +
      +
    1. x
    2. +
    3. y
    4. +
    + +
      +
    1. x
    2. +
    3. y
    4. +
    + +
    +
    x
    +
    y
    +
    + +
    +
    x
    +
    y
    +
    + +
    +
    x
    +
    y
    +
    + + + + + + + + + + + + + + + + + +
    xx
    xx
    + +
    +
    +
    +
    x
    +
    x
    +
    +
    +
    +
    +
    x
    +
    x
    +
    +
    +
    + + + + + + + + + + + + + + +
    xx
    xx
    + +
    +
    +
    +
    x
    +
    x
    +
    +
    +
    +
    +
    +
    x
    +
    +
    +
    + + + + + + + + + + + + + + +
    xx
    xx
    + +
    +
    + +
      +
    • + x +
        + +
      +
    • +
    + + + + + \ No newline at end of file diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/w3c-import.log new file mode 100644 index 000000000000..15bf1f357d99 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/w3c-import.log @@ -0,0 +1,17 @@ +The tests in this directory were imported from the W3C repository. +Do NOT modify these tests directly in WebKit. +Instead, create a pull request on the WPT github: + https://github.com/web-platform-tests/wpt + +Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport + +Do NOT modify or remove this file. + +------------------------------------------------------------------------ +Properties requiring vendor prefixes: +None +Property values requiring vendor prefixes: +None +------------------------------------------------------------------------ +List of files: +/LayoutTests/imported/w3c/web-platform-tests/css/css-display/accessibility/display-contents-role-and-label.html diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-expected.html new file mode 100644 index 000000000000..28d57bc19c77 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-expected.html @@ -0,0 +1,47 @@ + + + + + + + + +Reference: Test changing used color-scheme updates gradient with color-scheme dependent color stops. + + + +

    Test system color

    +
    +

    Test system color in color-mix()

    +
    +

    Test light-dark()

    +
    +

    Test light-dark() in color-mix()

    +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-ref.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-ref.html new file mode 100644 index 000000000000..28d57bc19c77 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops-ref.html @@ -0,0 +1,47 @@ + + + + + + + + +Reference: Test changing used color-scheme updates gradient with color-scheme dependent color stops. + + + +

    Test system color

    +
    +

    Test system color in color-mix()

    +
    +

    Test light-dark()

    +
    +

    Test light-dark() in color-mix()

    +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops.html new file mode 100644 index 000000000000..d0d41f46fe03 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-images/gradient/color-scheme-dependent-color-stops.html @@ -0,0 +1,61 @@ + + + + + + + + +Test changing used color-scheme updates gradient with color-scheme dependent color stops. + + + + +

    Test system color

    +
    +

    Test system color in color-mix()

    +
    +

    Test light-dark()

    +
    +

    Test light-dark() in color-mix()

    +
    + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo-expected.txt new file mode 100644 index 000000000000..02c65c25399c --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo-expected.txt @@ -0,0 +1,3 @@ + +PASS Only snap to visible areas in the case where taking the closest snap point of each axis does not snap to a visible area + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo.html new file mode 100644 index 000000000000..0a5db6d03344 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-scroll-snap/snap-to-visible-areas-both-pseudo.html @@ -0,0 +1,93 @@ + + + Snap to a visible area only even when there is a closer snap point for an area + that is closer but not visible (using both axes snap type), where the relevant + snap areas are pseudo-elements + + + + + +
    +
    +
    +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt index 8da5e4afdab9..dc5733426bb9 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006-expected.txt @@ -13,6 +13,8 @@ PASS Lack of cis:auto during box creation removes last remembered size PASS Last remembered size can be removed synchronously PASS Disconnected element can briefly keep last remembered size PASS Disconnected element ends up losing last remembered size +PASS Disconnected element ends up losing last remembered size, parent removes all children +PASS Disconnected element ends up losing last remembered size, the parent node is removed PASS Disconnected element ends up losing last remembered size even if size was 0x0 PASS Last remembered size survives becoming inline PASS Last remembered size can be set to 0x0 after losing display:inline diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html index 422b730c2e86..ff1c30135ae2 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-sizing/contain-intrinsic-size/auto-006.html @@ -352,6 +352,46 @@ checkSize(1, 2, "Size containment with no last remembered size"); }, "Disconnected element ends up losing last remembered size"); +promise_test(async function () { + this.add_cleanup(cleanup); + target.classList.add("cis-auto"); + contents.classList.add("size-100-50"); + checkSize(100, 50, "Sizing normally"); + + await nextRendering(); + target.classList.add("skip-contents"); + contents.classList.remove("size-100-50"); + contents.classList.add("size-75-25"); + checkSize(100, 50, "Using last remembered size"); + + parent.innerHTML = ""; + checkSize(0, 0, "No box"); + + await nextRendering(); + parent.appendChild(target); + checkSize(1, 2, "Size containment with no last remembered size"); +}, "Disconnected element ends up losing last remembered size, parent removes all children"); + +promise_test(async function () { + this.add_cleanup(cleanup); + target.classList.add("cis-auto"); + contents.classList.add("size-100-50"); + checkSize(100, 50, "Sizing normally"); + + await nextRendering(); + target.classList.add("skip-contents"); + contents.classList.remove("size-100-50"); + contents.classList.add("size-75-25"); + checkSize(100, 50, "Using last remembered size"); + + parent.remove(); + checkSize(0, 0, "No box"); + + await nextRendering(); + document.body.appendChild(parent); + checkSize(1, 2, "Size containment with no last remembered size"); +}, "Disconnected element ends up losing last remembered size, the parent node is removed"); + promise_test(async function() { this.add_cleanup(cleanup); target.classList.add("cis-auto"); diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html index 24ab886025ae..b2f44a722c56 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/3d-transform-incoming.html @@ -4,7 +4,7 @@ - + +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity-ref.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity-ref.html new file mode 100644 index 000000000000..5c882ada040e --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity-ref.html @@ -0,0 +1,17 @@ + +View transitions: class specificity (ref) + + + +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity.html new file mode 100644 index 000000000000..55de2ec3884c --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/class-specificity.html @@ -0,0 +1,54 @@ + + +View transitions: class specificity + + + + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-expected.html new file mode 100644 index 000000000000..67d55eedf487 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-expected.html @@ -0,0 +1,29 @@ + + +View transitions: clip-path larger than element bounds on child of a named element (ref) + + + + +
    +
    +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html new file mode 100644 index 000000000000..67d55eedf487 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element-ref.html @@ -0,0 +1,29 @@ + + +View transitions: clip-path larger than element bounds on child of a named element (ref) + + + + +
    +
    +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element.html new file mode 100644 index 000000000000..62e55b599135 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/clip-path-larger-than-border-box-on-child-of-named-element.html @@ -0,0 +1,63 @@ + + +View transitions: clip-path larger than element bounds on child of a named element + + + + + + + +
    +
    +
    + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/content-with-transform-new-image.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/content-with-transform-new-image.html index 9baf9563d19c..7050e3974708 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/content-with-transform-new-image.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/content-with-transform-new-image.html @@ -4,7 +4,7 @@ - + + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition.sub.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition.sub.html index 93a5cbed66eb..7f52e88d038e 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition.sub.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/iframe-transition.sub.html @@ -6,7 +6,7 @@ - + +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom-ref.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom-ref.html new file mode 100644 index 000000000000..dd93e0b498c3 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom-ref.html @@ -0,0 +1,16 @@ + +View transitions: Modify style via CSSOM (ref) + + + +
    diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom.html new file mode 100644 index 000000000000..6f026607bc5c --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/modify-style-via-cssom.html @@ -0,0 +1,53 @@ + + +View transitions: Modify style via CSSOM + + + + + +
    + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations.html index e166b3c9dfe6..3a02adfdfdec 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/multiline-span-with-overflowing-text-and-box-decorations.html @@ -4,7 +4,7 @@ - + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match.html index 78efa9d82fa7..95b25019ece8 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/new-and-old-sizes-match.html @@ -4,7 +4,7 @@ - + + + + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-old-image.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-old-image.html index 7f6f79ba445b..5cbeffc546b0 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-old-image.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/object-view-box-old-image.html @@ -5,7 +5,7 @@ - + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-entry.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-entry.html new file mode 100644 index 000000000000..44f95dccbf41 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-entry.html @@ -0,0 +1,54 @@ + + +View transition classes: entry animation should consider view-transition-class from new state + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit.html new file mode 100644 index 000000000000..c687461f18ea --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-exit.html @@ -0,0 +1,54 @@ + + +View transition classes: exit animation should consider view-transition-class from old state + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident.html new file mode 100644 index 000000000000..1418a90bc455 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-ident.html @@ -0,0 +1,41 @@ + + +View transition classes: selector should match ident.class + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard.html new file mode 100644 index 000000000000..53eaacfe799b --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple-wildcard.html @@ -0,0 +1,41 @@ + + +View transition classes: selector should match with wildcard and multiple classes + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple.html new file mode 100644 index 000000000000..1ab69340b4be --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-multiple.html @@ -0,0 +1,41 @@ + + +View transition classes: selector should match with multiple classes + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard.html new file mode 100644 index 000000000000..13490d58786b --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-match-wildard.html @@ -0,0 +1,41 @@ + + +View transition classes: selector should match with wildcard + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident.html new file mode 100644 index 000000000000..97db64fca200 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident.html @@ -0,0 +1,46 @@ + + +View transition classes: selector should not match different ident + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial.html new file mode 100644 index 000000000000..9d9838036bc7 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial.html @@ -0,0 +1,45 @@ + + +View transition classes: selector should not match if only some classes match + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard.html new file mode 100644 index 000000000000..722e41304550 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard.html @@ -0,0 +1,46 @@ + + +View transition classes: selector should not match if only some classes match (with *) + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes.html new file mode 100644 index 000000000000..d7ca0a049361 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-multiple-vt-classes.html @@ -0,0 +1,41 @@ + + +View transition classes: selector should match when view-transition-class has multiple idents + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without.html new file mode 100644 index 000000000000..5aedc33b3c10 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-new-with-class-old-without.html @@ -0,0 +1,46 @@ + + +View transition classes: view-transition-class should apply if applied only in new state + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without.html new file mode 100644 index 000000000000..6c153253e00a --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without.html @@ -0,0 +1,51 @@ + + +View transition classes: view-transition-class should not apply if applied only in old state + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-ref.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-ref.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-ref.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group.html new file mode 100644 index 000000000000..3e4dbb303c61 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-group.html @@ -0,0 +1,37 @@ + + +View transition classes: group selectors should respect classes + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair-expected.html new file mode 100644 index 000000000000..89b3a8a78efd --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair-expected.html @@ -0,0 +1,15 @@ + + +View transitions: reference expectation + + +
    + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair.html new file mode 100644 index 000000000000..8f0f2ef2a974 --- /dev/null +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-view-transition-image-pair.html @@ -0,0 +1,37 @@ + + +View transition classes: group selectors should respect classes + + + + + + + +
    + + diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/root-captured-as-different-tag.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/root-captured-as-different-tag.html index 4264db81699c..bdadc689b229 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/root-captured-as-different-tag.html +++ b/LayoutTests/imported/w3c/web-platform-tests/css/css-view-transitions/root-captured-as-different-tag.html @@ -4,7 +4,7 @@ - + + + +

    Tests tree and related roles.

    + +
      +
    • + x +
        +
      • x
      • +
      • x
      • +
      +
    • +
    • x
    • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    xxx
    xxx
    + + + + + + + + \ No newline at end of file diff --git a/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/w3c-import.log index 664c7024068f..3b293f3e49f7 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/w3c-import.log +++ b/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/w3c-import.log @@ -17,14 +17,20 @@ List of files: /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/ReadMe.md /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/abstract-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/basic.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/button-roles.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/contextual-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/fallback-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/form-roles.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/generic-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/grid-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/invalid-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/list-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/listbox-roles.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/menu-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/region-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/role_none_conflict_resolution.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/synonym-roles.html /LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/tab-roles.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/table-roles.html +/LayoutTests/imported/w3c/web-platform-tests/wai-aria/role/tree-roles.html diff --git a/LayoutTests/imported/w3c/web-platform-tests/wai-aria/scripts/aria-utils.js b/LayoutTests/imported/w3c/web-platform-tests/wai-aria/scripts/aria-utils.js index feb71b839845..ec53464c18fd 100644 --- a/LayoutTests/imported/w3c/web-platform-tests/wai-aria/scripts/aria-utils.js +++ b/LayoutTests/imported/w3c/web-platform-tests/wai-aria/scripts/aria-utils.js @@ -38,7 +38,7 @@ const AriaUtils = { AriaUtils.verifyRolesBySelector(".ex") */ - verifyRolesBySelector: function(selector) { + verifyRolesBySelector: function(selector, roleTestNamePrefix) { const els = document.querySelectorAll(selector); if (!els.length) { throw `Selector passed in verifyRolesBySelector("${selector}") should match at least one element.`; @@ -46,6 +46,9 @@ const AriaUtils = { for (const el of els) { let role = el.getAttribute("data-expectedrole"); let testName = el.getAttribute("data-testname") || role; // data-testname optional if role is unique per test file + if (typeof roleTestNamePrefix !== "undefined") { + testName = roleTestNamePrefix + testName; + } promise_test(async t => { const expectedRole = el.getAttribute("data-expectedrole"); const computedRole = await test_driver.get_computed_role(el); @@ -105,12 +108,12 @@ const AriaUtils = { AriaUtils.verifyGenericRolesBySelector(".ex-generic"); This helper function is equivalant to AriaUtils.verifyRoleOrVariantRolesBySelector(".ex-generic", ["generic", "", "none"]); - See various issues and discussions linked from https://github.com/web-platform-tests/interop-2023-accessibility-testing/issues/48 + See various issues and discussions linked from https://github.com/web-platform-tests/interop-accessibility/issues/48 */ verifyGenericRolesBySelector: function(selector) { // ARIA WG determined implementation variants "none" (Chromium), and the empty string "" (WebKit), are sufficiently equivalent to "generic" for WPT test verification of HTML-AAM. - // See various discussions linked from https://github.com/web-platform-tests/interop-2023-accessibility-testing/issues/48 + // See various discussions linked from https://github.com/web-platform-tests/interop-accessibility/issues/48 this.verifyRoleOrVariantRolesBySelector(selector, ["generic", "", "none"]); }, @@ -127,7 +130,7 @@ const AriaUtils = { AriaUtils.verifyLabelsBySelector(".ex") */ - verifyLabelsBySelector: function(selector) { + verifyLabelsBySelector: function(selector, labelTestNamePrefix) { const els = document.querySelectorAll(selector); if (!els.length) { throw `Selector passed in verifyLabelsBySelector("${selector}") should match at least one element.`; @@ -135,16 +138,59 @@ const AriaUtils = { for (const el of els) { let label = el.getAttribute("data-expectedlabel"); let testName = el.getAttribute("data-testname") || label; // data-testname optional if label is unique per test file + if (typeof labelTestNamePrefix !== "undefined") { + testName = labelTestNamePrefix + testName; + } promise_test(async t => { const expectedLabel = el.getAttribute("data-expectedlabel"); let computedLabel = await test_driver.get_computed_label(el); - // Todo: Remove whitespace normalization after https://github.com/w3c/accname/issues/192 is addressed. Change prior line back to `const`, too. - computedLabel = computedLabel.trim() + assert_not_equals(computedLabel, null, `get_computed_label(el) shouldn't return null for ${el.outerHTML}`); + + // See: + // - https://github.com/w3c/accname/pull/165 + // - https://github.com/w3c/accname/issues/192 + // - https://github.com/w3c/accname/issues/208 + // + // AccName references HTML's definition of ASCII Whitespace + // https://infra.spec.whatwg.org/#ascii-whitespace + // which matches tab (\t), newline (\n), formfeed (\f), return (\r), and regular space (\u0020). + // but it does NOT match non-breaking space (\xA0,\u00A0) and others matched by \s + const asciiWhitespace = /[\t\n\f\r\u0020]+/g; + computedLabel = computedLabel.replace(asciiWhitespace, '\u0020').replace(/^\u0020|\u0020$/g, ''); + assert_equals(computedLabel, expectedLabel, el.outerHTML); }, `${testName}`); } }, + /* + Tests computed LABEL and ROLE of all elements matching selector using existing + verifyLabelsBySelector(), verifyRolesBySelector() functions and passes a test name prefix + to ensure uniqueness. + + Ex:
    + + AriaUtils.verifyRolesAndLabelsBySelector(".ex-role-and-label") + + */ + verifyRolesAndLabelsBySelector: function(selector) { + let labelTestNamePrefix = "Label: "; + let roleTestNamePrefix = "Role: "; + const els = document.querySelectorAll(selector); + if (!els.length) { + throw `Selector passed in verifyRolesAndLabelsBySelector("${selector}") should match at least one element.`; + } + for (const el of els) { + el.classList.add("ex-label-only"); + el.classList.add("ex-role-only"); + } + this.verifyLabelsBySelector(".ex-label-only", labelTestNamePrefix); + this.verifyRolesBySelector(".ex-role-only", roleTestNamePrefix); + }, }; diff --git a/LayoutTests/interaction-region/content-hint-expected.txt b/LayoutTests/interaction-region/content-hint-expected.txt new file mode 100644 index 000000000000..4b861c7bc013 --- /dev/null +++ b/LayoutTests/interaction-region/content-hint-expected.txt @@ -0,0 +1,54 @@ +(GraphicsLayer + (anchor 0.00 0.00) + (bounds 1600.00 2092.00) + (children 1 + (GraphicsLayer + (bounds 1600.00 2092.00) + (contentsOpaque 1) + (drawsContent 1) + (backgroundColor #FFFFFF) + (event region + (rect (0,0) width=1600 height=2092) + + (interaction regions [ + (interaction (0,41) width=522.50 height=318) + (cornerRadius 8.00), + (interaction (52.50,41) width=418 height=313.50) + (content hint photo), + (interaction (538.50,0) width=523 height=400) + (content hint photo), + (interaction (1077.50,0) width=522.50 height=400), + (interaction (0,416) width=522.50 height=400), + (interaction (578.50,416) width=443 height=400) + (cornerRadius 8.00), + (interaction (623,416) width=354 height=265.50) + (content hint photo), + (interaction (1113.50,471) width=450.50 height=294) + (content hint photo) + (clipPath move to (48,0), add line to (48,0), add line to (402,0), add line to (402,0), add line to (402,265.50), add line to (402,265.50), add line to (48,265.50), add line to (48,265.50), close subpath), + (interaction (1113.50,737) width=450.50 height=28) + (cornerRadius 8.00), + (interaction (1296.84,737) width=83.63 height=28) + (cornerRadius 8.00), + (interaction (0,832) width=522.50 height=400) + (cornerRadius 8.00), + (interaction (1288.50,992.50) width=100 height=79) + (cornerRadius 8.00)]) + ) + (children 1 + (GraphicsLayer + (position 623.50 888.00) + (bounds 352.50 288.00) + (event region + (rect (0,0) width=353 height=288) + + (interaction regions [ + (interaction (0.50,0) width=352 height=288) + (content hint photo)]) + ) + ) + ) + ) + ) +) + diff --git a/LayoutTests/interaction-region/content-hint.html b/LayoutTests/interaction-region/content-hint.html new file mode 100644 index 000000000000..53daea70a80f --- /dev/null +++ b/LayoutTests/interaction-region/content-hint.html @@ -0,0 +1,118 @@ + + + + + + + +
    +
    + + apple logo + +
    +
    +
    +
    +
    +
    + + butterfly + +
    +
    +
    + + + apple logo + +
    apple logo
    +
    +
    +
    +
    + + + apple logo + +
    apple logo
    +
    +
    +
    + + butterfly + +
    +
    + +
    +
    + + apple logo + +
    +
    +
    
    +
    +
    +
    diff --git a/LayoutTests/interaction-region/wrapped-inline-link-expected.txt b/LayoutTests/interaction-region/wrapped-inline-link-expected.txt
    index c0d596262de9..4c4d1833abcb 100644
    --- a/LayoutTests/interaction-region/wrapped-inline-link-expected.txt
    +++ b/LayoutTests/interaction-region/wrapped-inline-link-expected.txt
    @@ -20,7 +20,7 @@ Line
     
           (interaction regions [
             (interaction (-4,-4) width=37.32 height=87)
    -        (clipPath move to (0,8), add line to (0,8), add curve to (0,3.58) (3.58,0) (8,0), add line to (29.32,0), add line to (29.32,0), add curve to (33.74,0) (37.32,3.58) (37.32,8), add line to (37.32,16.50), add line to (37.32,20), add line to (37.32,23.50), add line to (37.32,27), add line to (37.32,36.50), add line to (37.32,40), add line to (37.32,43.50), add line to (37.32,47), add line to (37.32,56.50), add line to (37.32,60), add line to (37.32,63.50), add line to (37.32,67), add line to (37.32,79), add line to (37.32,79), add curve to (37.32,83.42) (33.74,87) (29.32,87), add line to (8,87), add line to (8,87), add curve to (3.58,87) (0,83.42) (0,79), add line to (0,70.50), add line to (0,67), add line to (0,63.50), add line to (0,60), add line to (0,50.50), add line to (0,47), add line to (0,43.50), add line to (0,40), add line to (0,30.50), add line to (0,27), add line to (0,23.50), add line to (0,20), close subpath),
    +        (cornerRadius 8.00),
             (interaction (6,82) width=106.20 height=63)
             (clipPath move to (0,6), add line to (0,6), add curve to (0,2.69) (2.69,0) (6,0), add line to (59.34,0), add line to (59.34,0), add curve to (62.65,0) (65.34,2.69) (65.34,6), add line to (65.34,6), add line to (65.34,6), add curve to (65.34,9.31) (68.02,12) (71.34,12), add line to (98.20,12), add line to (98.20,12), add curve to (102.61,12) (106.20,15.58) (106.20,20), add line to (106.20,31), add line to (106.20,31), add curve to (106.20,35.42) (102.61,39) (98.20,39), add line to (76.66,39), add line to (76.66,39), add curve to (73.35,39) (70.66,41.69) (70.66,45), add line to (70.66,45), add line to (70.66,45), add curve to (70.66,48.31) (67.98,51) (64.66,51), add line to (43.32,51), add line to (43.32,51), add curve to (40.01,51) (37.32,53.69) (37.32,57), add line to (37.32,57), add line to (37.32,57), add curve to (37.32,60.31) (34.63,63) (31.32,63), add line to (6,63), add line to (6,63), add curve to (2.69,63) (0,60.31) (0,57), add line to (0,57), add line to (0,51), add line to (0,40.50), add line to (0,39), add line to (0,37.50), add line to (0,36), add line to (0,28.50), add line to (0,27), add line to (0,25.50), add line to (0,24), add line to (0,18), add line to (0,12), close subpath)])
           )
    diff --git a/LayoutTests/ipc/send-ignored-network-message-expected.txt b/LayoutTests/ipc/send-ignored-network-message-expected.txt
    new file mode 100644
    index 000000000000..7d8d0891e259
    --- /dev/null
    +++ b/LayoutTests/ipc/send-ignored-network-message-expected.txt
    @@ -0,0 +1 @@
    +This test should not crash
    diff --git a/LayoutTests/ipc/send-ignored-network-message.html b/LayoutTests/ipc/send-ignored-network-message.html
    new file mode 100644
    index 000000000000..c70857962760
    --- /dev/null
    +++ b/LayoutTests/ipc/send-ignored-network-message.html
    @@ -0,0 +1,10 @@
    +
    +
    +
    This test should not crash
    diff --git a/LayoutTests/loader/stateobjects/pushstate-size-iframe-expected.txt b/LayoutTests/loader/stateobjects/pushstate-size-iframe-expected.txt index 534974037b82..53684b9bf8e2 100644 --- a/LayoutTests/loader/stateobjects/pushstate-size-iframe-expected.txt +++ b/LayoutTests/loader/stateobjects/pushstate-size-iframe-expected.txt @@ -5,40 +5,9 @@ Parent frame successfully added item: 1 times Parent frame successfully added item: 2 times Parent frame successfully added item: 3 times Parent frame successfully added item: 4 times -Parent frame successfully added item: 5 times -Parent frame successfully added item: 6 times -Parent frame successfully added item: 7 times -Parent frame successfully added item: 8 times -Parent frame successfully added item: 9 times -Parent frame successfully added item: 10 times - - --------- -Frame: '' --------- iFrame successfully added item: 1 times iFrame successfully added item: 2 times iFrame successfully added item: 3 times iFrame successfully added item: 4 times -iFrame successfully added item: 5 times -iFrame successfully added item: 6 times -iFrame successfully added item: 7 times -iFrame successfully added item: 8 times -iFrame successfully added item: 9 times -iFrame successfully added item: 10 times -iFrame successfully added item: 11 times -iFrame successfully added item: 12 times -iFrame successfully added item: 13 times -iFrame successfully added item: 14 times -iFrame successfully added item: 15 times -iFrame successfully added item: 16 times -iFrame successfully added item: 17 times -iFrame successfully added item: 18 times -iFrame successfully added item: 19 times -iFrame successfully added item: 20 times -iFrame successfully added item: 21 times -iFrame successfully added item: 22 times -iFrame successfully added item: 23 times -iFrame successfully added item: 24 times Expected exception: QuotaExceededError: Attempt to store more data than allowed using history.pushState() diff --git a/LayoutTests/loader/stateobjects/pushstate-size-iframe.html b/LayoutTests/loader/stateobjects/pushstate-size-iframe.html index 1fa639b56cbc..562e32c0c770 100644 --- a/LayoutTests/loader/stateobjects/pushstate-size-iframe.html +++ b/LayoutTests/loader/stateobjects/pushstate-size-iframe.html @@ -2,16 +2,20 @@ if (window.testRunner) { testRunner.dumpAsText(); - testRunner.dumpChildFramesAsText(); testRunner.waitUntilDone(); } +if (window.internals) { + // Decrease the state object total limit from 64MB to 4MB to speed up the test. + internals.setHistoryTotalStateObjectPayloadLimitOverride(4 * 1024 * 1024); +} + function log(msg) { document.getElementById("logger").innerHTML += msg + "
    "; } var object = "aaaaaaaaaa"; -for (var i = 0; i < 16; ++i) +for (var i = 0; i < 14; ++i) object += object; function click() @@ -42,7 +46,7 @@ log("Parent frame successfully added item: " + count + " times"); ++count; - if (count > 10) { + if (count > 4) { openFrame(); return; } diff --git a/LayoutTests/loader/stateobjects/resources/pushstate-iframe.html b/LayoutTests/loader/stateobjects/resources/pushstate-iframe.html index ea4febdfbe9c..16b7ad00a663 100644 --- a/LayoutTests/loader/stateobjects/resources/pushstate-iframe.html +++ b/LayoutTests/loader/stateobjects/resources/pushstate-iframe.html @@ -1,43 +1,27 @@ - -
    - diff --git a/LayoutTests/media/media-source/live-rewind-seek-and-evict.html b/LayoutTests/media/media-source/live-rewind-seek-and-evict.html index 0ad29770ce1b..53fa61a6e8d0 100644 --- a/LayoutTests/media/media-source/live-rewind-seek-and-evict.html +++ b/LayoutTests/media/media-source/live-rewind-seek-and-evict.html @@ -59,7 +59,7 @@ testExpected('isNaN(source.duration)', true, '=='); // This should allow bufering up to 177 (empirically tested). - internals.settings.setMaximumSourceBufferSize(3000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 3000); exception = await appendPtsRange(120, 176); diff --git a/LayoutTests/media/media-source/media-managedmse-noresumeafterpause-expected.txt b/LayoutTests/media/media-source/media-managedmse-noresumeafterpause-expected.txt new file mode 100644 index 000000000000..a7f5c0311629 --- /dev/null +++ b/LayoutTests/media/media-source/media-managedmse-noresumeafterpause-expected.txt @@ -0,0 +1,20 @@ + +RUN(source = new ManagedMediaSource()) +RUN(video.src = URL.createObjectURL(source)) +EVENT(sourceopen) +RUN(sourceBuffer = source.addSourceBuffer(loader.type())) +RUN(sourceBuffer.appendBuffer(loader.initSegment())) +EVENT(update) +RUN(sourceBuffer.appendBuffer(loader.mediaSegment(0))) +EVENT(update) +RUN(sourceBuffer.appendBuffer(loader.mediaSegment(2))) +EVENT(update) +RUN(video.play()) +EVENT(playing) +EVENT(waiting) +EXPECTED (video.currentTime >= '1') OK +RUN(video.pause()) +RUN(sourceBuffer.appendBuffer(loader.mediaSegment(1))) +EXPECTED (video.currentTime == currentTimeWhenStalling == 'true') OK +END OF TEST + diff --git a/LayoutTests/media/media-source/media-managedmse-noresumeafterpause.html b/LayoutTests/media/media-source/media-managedmse-noresumeafterpause.html new file mode 100644 index 000000000000..779016936349 --- /dev/null +++ b/LayoutTests/media/media-source/media-managedmse-noresumeafterpause.html @@ -0,0 +1,62 @@ + + + + MSE playback doesn't resume when pause is called following a stall. + + + + + + + + + diff --git a/LayoutTests/media/media-source/media-source-append-before-last-range-no-quota-exceeded.html b/LayoutTests/media/media-source/media-source-append-before-last-range-no-quota-exceeded.html index 6cdec0149be4..19493eb582b6 100644 --- a/LayoutTests/media/media-source/media-source-append-before-last-range-no-quota-exceeded.html +++ b/LayoutTests/media/media-source/media-source-append-before-last-range-no-quota-exceeded.html @@ -61,7 +61,7 @@ testExpected('video.currentTime', 120, '=='); // This should allow bufering up to 175 (empirically tested). - internals.settings.setMaximumSourceBufferSize(4000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 4000); // Append data from 120..176. The SourceBuffer will be filled after 175, so the last iteration should throw QuotaExceededError. exception = await appendPtsRange(120, 176); diff --git a/LayoutTests/media/media-source/media-source-append-buffer-full-evict-prior-to-end.html b/LayoutTests/media/media-source/media-source-append-buffer-full-evict-prior-to-end.html index 2982c0e86118..ce7d61240345 100644 --- a/LayoutTests/media/media-source/media-source-append-buffer-full-evict-prior-to-end.html +++ b/LayoutTests/media/media-source/media-source-append-buffer-full-evict-prior-to-end.html @@ -77,7 +77,7 @@ await waitFor(sourceBuffer, 'updateend'); waitFor(sourceBuffer, 'error'); - internals.settings.setMaximumSourceBufferSize(500); + await internals.setMaximumSourceBufferSize(sourceBuffer, 500); video.currentTime = 18; testExpected('video.currentTime', 18, '=='); @@ -87,7 +87,7 @@ testExpected('bufferedRanges()', '[ 10...15 ]', '=='); endTest(); - }); + }); diff --git a/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart.html b/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart.html index 1cb699a2598a..0db7d0eebc6a 100644 --- a/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart.html +++ b/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error-onstart.html @@ -39,7 +39,7 @@ sourceBuffer = source.addSourceBuffer("video/mock; codecs=mock"); initSegment = makeAInit(350, [makeATrack(1, 'mock', TRACK_KIND.VIDEO)]); // Set a buffer size that is less than the init segment length. - internals.settings.setMaximumSourceBufferSize(30); + await internals.setMaximumSourceBufferSize(sourceBuffer, 30); exception = await appendBuffer(initSegment); waitFor(sourceBuffer, 'error'); testExpected('exception', 'QuotaExceededError: The quota has been exceeded.', '=='); diff --git a/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error.html b/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error.html index 8023272d3992..ae621b9921ae 100644 --- a/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error.html +++ b/LayoutTests/media/media-source/media-source-append-buffer-full-quota-exceeded-error.html @@ -66,7 +66,7 @@ await waitFor(sourceBuffer, 'updateend'); waitFor(sourceBuffer, 'error'); - internals.settings.setMaximumSourceBufferSize(1000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 1000); exception = await appendPtsRange(0, 12); testExpected('exception', 'QuotaExceededError: The quota has been exceeded.', '!='); @@ -75,7 +75,7 @@ testExpected('exception', 'QuotaExceededError: The quota has been exceeded.', '=='); // To exercise eviction ahead of current time we must add over 30s of data. - internals.settings.setMaximumSourceBufferSize(3000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 3000); // Ensure that small gaps that would be ignored during playback are also ignored by eviction. // We use a gap of 2/1000 as gaps of 1/1000th are removed and 2002/24000 is the maximum gap ignored during playback. @@ -86,7 +86,7 @@ // Check that appendBuffer removed all the small gaps in the data less than the threshold. testExpected('sourceBuffer.buffered.length', '1', '=='); - internals.settings.setMaximumSourceBufferSize(1500); + await internals.setMaximumSourceBufferSize(sourceBuffer, 1500); // Ensure that if current time is close enough to the buffered data that the nearest range isn't evicted. sourceBuffer.remove(0, Infinity); await waitFor(sourceBuffer, 'updateend'); @@ -96,7 +96,7 @@ testExpected('exception', 'QuotaExceededError: The quota has been exceeded.', '=='); testExpected('sourceBuffer.buffered.length', '1', '=='); - internals.settings.setMaximumSourceBufferSize(4000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 4000); // Ensure that small gaps that would be ignored during playback are also ignored by eviction. // We use a gap of 2000/24000 which is less than the 2002/24000 gap ignored during playback. // Gaps are removed during append, so we remove data to create a gap <= 2000/24000. diff --git a/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap-expected.txt b/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap-expected.txt new file mode 100644 index 000000000000..29979992c157 --- /dev/null +++ b/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap-expected.txt @@ -0,0 +1,42 @@ + +RUN(video.src = URL.createObjectURL(source)) +EVENT(sourceopen) +RUN(init = makeAInit(100, [makeATrack(1, 'mock', TRACK_KIND.VIDEO)])) +RUN(sourceBuffer.appendBuffer(init)) +EVENT(loadedmetadata) +EVENT(update) +RUN(sample = makeASample(0, 0, 10, 1, 1, SAMPLE_FLAG.SYNC, 1)) +RUN(sourceBuffer.appendBuffer(sample)) +EVENT(loadeddata) +EVENT(canplay) +EVENT(canplaythrough) +EVENT(update) +EXPECTED (video.readyState == '4') OK +EXPECTED (sourceBuffer.buffered.length == '1') OK +EXPECTED (sourceBuffer.buffered.end(0) == '10') OK +RUN(sample = makeASample(11, 11, 10, 1, 1, SAMPLE_FLAG.SYNC, 1)) +RUN(sourceBuffer.appendBuffer(sample)) +EVENT(update) +EXPECTED (sourceBuffer.buffered.length == '2') OK +EXPECTED (sourceBuffer.buffered.end(1) == '21') OK +RUN(video.currentTime = 9) +EVENT(seeked) +EXPECTED (video.readyState == '3') OK +RUN(sample = makeASample(10, 10, 1, 1, 1, SAMPLE_FLAG.SYNC, 1)) +RUN(sourceBuffer.appendBuffer(sample)) +EVENT(canplaythrough) +EVENT(update) +EXPECTED (sourceBuffer.buffered.length == '1') OK +EXPECTED (sourceBuffer.buffered.end(0) == '21') OK +EXPECTED (video.readyState == '4') OK +RUN(video.currentTime = 11) +EVENT(seeked) +EXPECTED (video.readyState == '4') OK +RUN(video.currentTime = 20) +EVENT(seeked) +EXPECTED (video.readyState == '3') OK +RUN(video.currentTime = 21) +EVENT(seeked) +EXPECTED (video.readyState == '2') OK +END OF TEST + diff --git a/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap.html b/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap.html new file mode 100644 index 000000000000..3dce2c1e5ab4 --- /dev/null +++ b/LayoutTests/media/media-source/media-source-canplaythrough-withfuturegap.html @@ -0,0 +1,92 @@ + + + + mock-media-source + + + + + + + + diff --git a/LayoutTests/media/media-source/media-source-evict-codedframe-after-seek.html b/LayoutTests/media/media-source/media-source-evict-codedframe-after-seek.html index 395d223c6821..7b4ace555feb 100644 --- a/LayoutTests/media/media-source/media-source-evict-codedframe-after-seek.html +++ b/LayoutTests/media/media-source/media-source-evict-codedframe-after-seek.html @@ -58,7 +58,7 @@ await waitFor(sourceBuffer, 'updateend'); waitFor(sourceBuffer, 'error'); - internals.settings.setMaximumSourceBufferSize(3200); + await internals.setMaximumSourceBufferSize(sourceBuffer, 3200); exception = await appendPtsRange(0, 11); testExpected('exception', 'QuotaExceededError: The quota has been exceeded.', '!='); diff --git a/LayoutTests/media/media-source/media-source-evict-codedframe-large-currenttime.html b/LayoutTests/media/media-source/media-source-evict-codedframe-large-currenttime.html index c251678b4191..a914862075bb 100644 --- a/LayoutTests/media/media-source/media-source-evict-codedframe-large-currenttime.html +++ b/LayoutTests/media/media-source/media-source-evict-codedframe-large-currenttime.html @@ -44,7 +44,7 @@ var firstPts = 0 + offset; var lastPts = 55 + offset; - internals.settings.setMaximumSourceBufferSize(4000); + await internals.setMaximumSourceBufferSize(sourceBuffer, 4000); for (var pts = firstPts; pts <= lastPts; pts++) { sourceBuffer.appendBuffer(makeASample(pts, pts, 1, 1, 1, SAMPLE_FLAG.SYNC, 1)); diff --git a/LayoutTests/media/media-source/media-source-monitor-playing-event.html b/LayoutTests/media/media-source/media-source-monitor-playing-event.html index 884e40a147ad..3dde9b9185ca 100644 --- a/LayoutTests/media/media-source/media-source-monitor-playing-event.html +++ b/LayoutTests/media/media-source/media-source-monitor-playing-event.html @@ -83,7 +83,7 @@ sample = makeASample(1, 1, 12, 1, 1, SAMPLE_FLAG.SYNC, 1); // This append changes the ready state to HAVE_ENOUGH_DATA and fires the playing event. run('sourceBuffer.appendBuffer(sample)'); - await Promise.all([waitFor(mediaElement, 'playing'), waitFor(sourceBuffer, 'updateend')]); + await Promise.all([waitFor(mediaElement, 'playing'), waitFor(mediaElement, 'canplaythrough', true), waitFor(sourceBuffer, 'updateend')]); consoleWrite('video.readyState : ' + readyStateString[video.readyState]); endTest(); diff --git a/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort-expected.txt b/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort-expected.txt index 8d11373c7c15..5e385f6497a4 100644 --- a/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort-expected.txt +++ b/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort-expected.txt @@ -7,9 +7,18 @@ RUN(sourceBuffer = source.addSourceBuffer(loader.type())) RUN(sourceBuffer.abort()) RUN(sourceBuffer.appendBuffer(loader.initSegment())) EVENT(update) +EXPECTED (video.readyState == '1') OK Append a media segment. RUN(sourceBuffer.appendBuffer(loader.mediaSegment(0))) EVENT(update) +EVENT(loadeddata) +EVENT(canplay) +EXPECTED (video.readyState == '3') OK +EXPECTED (sourceBuffer.buffered.length == '1') OK +EXPECTED (sourceBuffer.buffered.end(0) >= '1.9') OK +RUN(source.endOfStream()) +EVENT(sourceended) EVENT(canplaythrough) +EXPECTED (video.readyState == '4') OK END OF TEST diff --git a/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort.html b/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort.html index 1e9b66bf2ba2..fa3bfe9c5b5e 100644 --- a/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort.html +++ b/LayoutTests/media/media-source/media-source-webm-append-buffer-after-abort.html @@ -34,14 +34,28 @@ run('sourceBuffer.appendBuffer(loader.initSegment())'); await waitFor(sourceBuffer, 'update'); + testExpected('video.readyState', video.HAVE_METADATA); consoleWrite('Append a media segment.') run('sourceBuffer.appendBuffer(loader.mediaSegment(0))'); - await waitFor(sourceBuffer, 'update'); - failTestIn(2000); - await waitFor(video, 'canplaythrough'); + await Promise.all([ + waitFor(video, 'loadeddata'), + waitFor(video, 'canplay'), + waitFor(sourceBuffer, 'update'), + ]); + testExpected('video.readyState', video.HAVE_FUTURE_DATA); + testExpected('sourceBuffer.buffered.length', 1); + testExpected('sourceBuffer.buffered.end(0)', 1.9, '>='); + run('source.endOfStream()'); + await Promise.all([ + waitFor(source, 'sourceended'), + waitFor(video, 'canplaythrough'), + testExpectedEventuallySilent('video.readyState', video.HAVE_ENOUGH_DATA) + ]); + testExpected('video.readyState', video.HAVE_ENOUGH_DATA); + endTest(); } catch (e) { failTest(`Caught exception: "${e}"`); diff --git a/LayoutTests/media/mediacapabilities/vp9-hw.html b/LayoutTests/media/mediacapabilities/vp9-hw.html index db617f8e41e5..bc0bdbf60dfb 100644 --- a/LayoutTests/media/mediacapabilities/vp9-hw.html +++ b/LayoutTests/media/mediacapabilities/vp9-hw.html @@ -20,7 +20,7 @@ if (!result.supported) return; - if (window.internals && internals.isHardwareVP9DecoderExpected()) + if (window.internals && window.testRunner && testRunner.isWebKit2 && internals.isHardwareVP9DecoderExpected()) assert_true(result.powerEfficient); }, "VP9 powerEfficient for webrtc with hardware VP9 if any"); diff --git a/LayoutTests/media/now-playing-webaudio-expected.txt b/LayoutTests/media/now-playing-webaudio-expected.txt new file mode 100644 index 000000000000..1e84f1ab2542 --- /dev/null +++ b/LayoutTests/media/now-playing-webaudio-expected.txt @@ -0,0 +1,4 @@ + +PASS AudioContext as the now playing info source +PASS HTMLMediaElement will become the now playing info source over playing AudioContext + diff --git a/LayoutTests/media/now-playing-webaudio.html b/LayoutTests/media/now-playing-webaudio.html new file mode 100644 index 000000000000..9c627f3a2f43 --- /dev/null +++ b/LayoutTests/media/now-playing-webaudio.html @@ -0,0 +1,104 @@ + + + + + Testing basic video exchange from offerer to receiver + + + + + + + diff --git a/LayoutTests/media/track/captions-webvtt/inline.vtt b/LayoutTests/media/track/captions-webvtt/inline.vtt new file mode 100644 index 000000000000..642fa2d9e767 --- /dev/null +++ b/LayoutTests/media/track/captions-webvtt/inline.vtt @@ -0,0 +1,4 @@ +WEBVTT + +00:00:00.000 --> 00:00:05.000 align:left +ibuhidden diff --git a/LayoutTests/media/track/media-element-enqueue-event-crash-expected.txt b/LayoutTests/media/track/media-element-enqueue-event-crash-expected.txt index 8fbc05103b0b..f6446ce6b4d6 100644 --- a/LayoutTests/media/track/media-element-enqueue-event-crash-expected.txt +++ b/LayoutTests/media/track/media-element-enqueue-event-crash-expected.txt @@ -1,4 +1,3 @@ -Tests that appending events for dispatching doesn't crash -** No crash. Pass ** +PASS Tests that appending events for dispatching doesn't crash. diff --git a/LayoutTests/media/track/media-element-enqueue-event-crash.html b/LayoutTests/media/track/media-element-enqueue-event-crash.html index f9f428dff54e..6d758b5d4aea 100644 --- a/LayoutTests/media/track/media-element-enqueue-event-crash.html +++ b/LayoutTests/media/track/media-element-enqueue-event-crash.html @@ -1,60 +1,42 @@ - - - - - - - - - -

    Tests that appending events for dispatching doesn't crash

    - - - +Tests that appending events for dispatching doesn't crash. + + + + + diff --git a/LayoutTests/media/track/webvtt-inline-expected.txt b/LayoutTests/media/track/webvtt-inline-expected.txt new file mode 100644 index 000000000000..c9e59ea03ffd --- /dev/null +++ b/LayoutTests/media/track/webvtt-inline-expected.txt @@ -0,0 +1,14 @@ + +EVENT(canplay) +EVENT(addtrack) +EXPECTED (video.textTracks.length == '1') OK +RUN(video.textTracks[0].mode = 'showing') +RUN(video.currentTime = 1) +EVENT(seeked) +EXPECTED (window.internals.shadowRoot(video).querySelector('i') != 'null') OK +EXPECTED (getComputedStyle(i).fontStyle == 'italic') OK +EXPECTED (getComputedStyle(b).fontWeight == '700') OK +EXPECTED (getComputedStyle(u).textDecoration == 'underline') OK +EXPECTED (getComputedStyle(c).display == 'none') OK +END OF TEST + diff --git a/LayoutTests/media/track/webvtt-inline.html b/LayoutTests/media/track/webvtt-inline.html new file mode 100644 index 000000000000..f57fb57c28d5 --- /dev/null +++ b/LayoutTests/media/track/webvtt-inline.html @@ -0,0 +1,42 @@ + + + + WebVTTRubyText elements should appear above WebVTTRuby elements + + + + + + + + + diff --git a/LayoutTests/media/video-test.js b/LayoutTests/media/video-test.js index db644d1cf1d6..cf9bacc69e90 100644 --- a/LayoutTests/media/video-test.js +++ b/LayoutTests/media/video-test.js @@ -112,12 +112,17 @@ function sleepFor(duration) { }); } +function testExpectedEventuallySilent(testFuncString, expected, comparison, timeout) +{ + return testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected, comparison, timeout, null, true); +} + function testExpectedEventually(testFuncString, expected, comparison, timeout) { - return testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected, comparison, timeout, null); + return testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected, comparison, timeout, null, false); } -function testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected, comparison, timeout, work) +function testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected, comparison, timeout, work, silent = false) { return new Promise(async resolve => { var success; @@ -129,7 +134,8 @@ function testExpectedEventuallyWhileRunningBetweenTests(testFuncString, expected try { ({success, observed} = compare(testFuncString, expected, comparison)); if (success) { - reportExpected(success, testFuncString, comparison, expected, observed); + if (!silent) + reportExpected(success, testFuncString, comparison, expected, observed); resolve(); return; } diff --git a/LayoutTests/media/webaudio-background-playback-expected.txt b/LayoutTests/media/webaudio-background-playback-expected.txt index 5808e9037df2..e286836725de 100644 --- a/LayoutTests/media/webaudio-background-playback-expected.txt +++ b/LayoutTests/media/webaudio-background-playback-expected.txt @@ -1,3 +1,6 @@ PASS Ensure WebAudio stops playing in the background when the 'BackgroundProcessPlaybackRestricted' restriction is set +PASS Ensure WebAudio does not stop playing in the background when the 'BackgroundProcessPlaybackRestricted' restriction is set and audioSession type is playback +PASS Ensure WebAudio does not stop playing in the background when the 'BackgroundProcessPlaybackRestricted' restriction is set and audioSession type is play-and-record +PASS Ensure WebAudio stops playing in the background when the 'BackgroundProcessPlaybackRestricted' restriction is set and audioSession type is back to default diff --git a/LayoutTests/media/webaudio-background-playback.html b/LayoutTests/media/webaudio-background-playback.html index a9b8751a3dc4..ba525b5338da 100644 --- a/LayoutTests/media/webaudio-background-playback.html +++ b/LayoutTests/media/webaudio-background-playback.html @@ -10,7 +10,8 @@ - \ No newline at end of file + diff --git a/LayoutTests/overlay-region/overlay-element-expected.txt b/LayoutTests/overlay-region/overlay-element-expected.txt new file mode 100644 index 000000000000..69725abaa81a --- /dev/null +++ b/LayoutTests/overlay-region/overlay-element-expected.txt @@ -0,0 +1,97 @@ + +(UIView tree root view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKScrollView] + (scrolling behavior 2) + (overlay region [x: 0 y: 0 width: 800 height: 600]) + (layer bounds [x: 0 y: 2000 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKContentView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 7013]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 0 height: 0])) + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKTransformView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (layer position [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400])))))))))))))))) + (view [class: _UILayerHostView] + (layer bounds [x: 0 y: 0 width: 0 height: 0])))) + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (layer anchorPoint [x: 0 y: 0])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 791 y: 791]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 32 height: 116]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 96]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 90]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 28]) + (layer position [x: 6 y: 6])))))))) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 116 height: 32]) + (layer position [x: 400 y: 400])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 96 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 5.999999999999995 height: 90]) + (layer position [x: 48 y: 48])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 90 height: 6]) + (layer position [x: 48 y: 48])))))))))))) diff --git a/LayoutTests/overlay-region/overlay-element-overflow-expected.txt b/LayoutTests/overlay-region/overlay-element-overflow-expected.txt new file mode 100644 index 000000000000..6a3e6032a8c5 --- /dev/null +++ b/LayoutTests/overlay-region/overlay-element-overflow-expected.txt @@ -0,0 +1,155 @@ + +(UIView tree root view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKScrollView] + (scrolling behavior 0) + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKContentView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 0 height: 0])) + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (scrolling behavior 2) + (overlay region [x: 0 y: 0 width: 800 height: 600]) + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 7000]) + (layer anchorPoint [x: 0 y: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 0 height: 0])))) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 791 y: 791]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 32 height: 116]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 96]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 90]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 28]) + (layer position [x: 6 y: 6])))))))) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 116 height: 32]) + (layer position [x: 400 y: 400])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 96 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 5.999999999999995 height: 90]) + (layer position [x: 48 y: 48])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 90 height: 6]) + (layer position [x: 48 y: 48])))))))))))) + (view [class: WKTransformView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (subviews + (view [class: WKCompositingView] + (layer bounds [x: 0 y: 0 width: 800 height: 600]) + (layer position [x: 400 y: 400])))))))))))))))) + (view [class: _UILayerHostView] + (layer bounds [x: 0 y: 0 width: 0 height: 0])))) + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 0 height: 0]) + (layer anchorPoint [x: 0 y: 0])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 791 y: 791]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 32 height: 116]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 600]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 12 height: 96]) + (layer position [x: 6 y: 6]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 90]) + (layer position [x: 6 y: 6])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 6 height: 90]) + (layer position [x: 6 y: 6])))))))) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (layer zPosition 1000) + (subviews + (view [class: UIView] + (layer bounds [x: 0 y: 0 width: 116 height: 32]) + (layer position [x: 400 y: 400])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 800 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 96 height: 12]) + (layer position [x: 400 y: 400]) + (subviews + (view [class: ] + (layer bounds [x: 0 y: 0 width: 5.999999999999995 height: 90]) + (layer position [x: 48 y: 48])) + (view [class: ] + (layer bounds [x: 0 y: 0 width: 90 height: 6]) + (layer position [x: 48 y: 48])))))))))))) diff --git a/LayoutTests/overlay-region/overlay-element-overflow.html b/LayoutTests/overlay-region/overlay-element-overflow.html new file mode 100644 index 000000000000..d825f63e2a3d --- /dev/null +++ b/LayoutTests/overlay-region/overlay-element-overflow.html @@ -0,0 +1,91 @@ + + + + + + + + +
    +
    +

    This is a fixed overlay

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    
    +
    +
    +
    +
    diff --git a/LayoutTests/overlay-region/overlay-element.html b/LayoutTests/overlay-region/overlay-element.html
    new file mode 100644
    index 000000000000..571dbc5a2c5c
    --- /dev/null
    +++ b/LayoutTests/overlay-region/overlay-element.html
    @@ -0,0 +1,86 @@
    + 
    +
    +
    +    
    +    
    +    
    +
    +
    +
    +
    +

    This is a fixed overlay

    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    
    +
    +
    +
    +
    diff --git a/LayoutTests/platform/glib/TestExpectations b/LayoutTests/platform/glib/TestExpectations
    index befea692ce60..3e6cdd6bfba9 100644
    --- a/LayoutTests/platform/glib/TestExpectations
    +++ b/LayoutTests/platform/glib/TestExpectations
    @@ -270,6 +270,8 @@ media/mediacapabilities/mediacapabilities-types.html [ Pass ]
     media/video-controller-currentTime-rate.html [ Pass ]
     webaudio/codec-tests/aac/vbr-128kbps-44khz.html [ Pass ]
     webaudio/codec-tests/mp3/128kbps-44khz.html [ Pass ]
    +media/now-playing-webaudio.html [ Failure ]
    +media/webaudio-background-playback.html [ Failure ]
     
     # uiController.simulateRotationLikeSafari() is not implemented on glib ports.
     fast/screen-orientation/orientation-in-resize-event.html [ Skip ]
    @@ -486,6 +488,10 @@ accessibility/display-contents/end-text-marker.html [ Skip ]
     # Need to implement AccessibilityUIElement::insertText.
     accessibility/insert-text-into-password-field.html [ Skip ]
     
    +# Missing AccessibilityUIElement::brailleLabel and AccessibilityUIElement::brailleRoleDescription implementations.
    +accessibility/aria-braillelabel.html [ Skip ]
    +accessibility/aria-brailleroledescription.html [ Skip ]
    +
     # Need to implement AccessibilityUIElement::hasDocumentRoleAncestor(), AccessibilityUIElement::hasWebApplicationAncestor(),
     # AccessibilityUIElement::isInDescriptionListDetail(), AccessibilityUIElement::isInDescriptionListTerm(), and
     # AccessibilityUIElement::isInCell().
    @@ -529,6 +535,7 @@ accessibility/table-search-traversal.html [ Skip ]
     accessibility/tree-update-with-dirty-layout.html [ Skip ]
     accessibility/dynamically-changing-iframe-remains-accessible.html [ Skip ]
     accessibility/ignore-modals-without-any-content.html [ Skip ]
    +accessibility/iframe-tree-update-with-dirty-layout.html [ Skip ]
     accessibility/iframe-with-role.html [ Skip ]
     
     accessibility/editable-webpage-focused-ui-element.html [ Skip ]
    @@ -543,9 +550,8 @@ accessibility/display-contents/tree-and-treeitems.html [ Skip ]
     
     webkit.org/b/212805 accessibility/svg-text.html [ Failure ]
     
    -webkit.org/b/251544 accessibility/datetime/input-date-field-labels-and-value-changes.html [ Skip ]
    -accessibility/datetime/input-time-field-labels-and-value-changes.html [ Skip ]
    -accessibility/datetime/input-time-label-value.html [ Skip ]
    +# AX support for datetime input elements needs to be completed in glib platforms.
    +accessibility/datetime [ Skip ]
     
     # Added in r263823. Both tests are timing out.
     webkit.org/b/213874 accessibility/keyevents-for-increment-actions-with-node-removal.html [ Skip ]
    @@ -628,6 +634,12 @@ http/tests/accessibility/focus-text-field-in-iframe.html [ Skip ]
     # Times out due to missing AccessibilityUIElement::linkedUIElementAtIndex() implementation.
     accessibility/combobox-linked-listbox-destroyed.html [ Skip ]
     
    +# Fails due to missing AccessibilityUIElement::indexInTable() implementation.
    +accessibility/table-insert-second-thead.html [ Skip ]
    +
    +# Fails due to missing AccessibilityUIElement::columns() implementation.
    +accessibility/dynamic-table-row-column-indices.html [ Skip ]
    +
     #////////////////////////////////////////////////////////////////////////////////////////
     # End of Accessibility-related bugs
     #////////////////////////////////////////////////////////////////////////////////////////
    @@ -1059,6 +1071,7 @@ webkit.org/b/213699 http/wpt/mediarecorder/MediaRecorder-AV-audio-video-dataavai
     
     webkit.org/b/218317 media/media-source/media-source-trackid-change.html [ Failure ]
     webkit.org/b/238201 media/media-source/media-mp4-hevc-bframes.html [ Failure ]
    +webkit.org/b/270622 media/media-source/media-managedmse-noresumeafterpause.html [ Timeout ]
     
     # GStreamer (< 1.24) doesn't set the track's id to the container's value.
     webkit.org/b/265919 media/track/media-audio-track.html [ Failure ]
    @@ -1451,8 +1464,6 @@ webkit.org/b/212202 css3/scroll-snap/scroll-snap-wheel-event.html [ Skip ]
     css3/scroll-snap/scroll-snap-discrete-wheel-event-in-mainframe.html [ Skip ]
     css3/scroll-snap/scroll-snap-discrete-wheel-events-with-layout.html [ Skip ]
     
    -fast/visual-viewport/client-coordinates-relative-to-layout-viewport.html [ Failure ]
    -
     #////////////////////////////////////////////////////////////////////////////////////////
     # End of Scrolling-related bugs
     #////////////////////////////////////////////////////////////////////////////////////////
    @@ -1769,6 +1780,7 @@ webkit.org/b/215945 webanimations/accelerated-css-animation-with-easing.html [ I
     
     webkit.org/b/216539 webanimations/accelerated-animation-easing-and-direction-update.html [ ImageOnlyFailure ]
     
    +webkit.org/b/221021 webanimations/accelerated-animation-immediate-prevetion-direction-reverse.html [ Skip ]
     webkit.org/b/221021 webanimations/combining-transform-animations-with-different-acceleration-capabilities-2.html [ Skip ]
     webkit.org/b/221021 webanimations/combining-transform-animations-with-different-acceleration-capabilities-3.html [ Skip ]
     webkit.org/b/221021 webanimations/combining-transform-animations-with-different-acceleration-capabilities-4.html [ Skip ]
    @@ -2616,6 +2628,9 @@ http/wpt/credential-management/ [ Skip ]
     http/wpt/webauthn/ [ Skip ]
     imported/w3c/web-platform-tests/credential-management/ [ Skip ]
     
    +# Digital Crendentials API
    +http/wpt/identity/ [ Skip ]
    +
     # WebGL2
     webkit.org/b/166536 fast/canvas/webgl/webgl-transformed-varying-name-crash.html [ Skip ]
     webkit.org/b/166536 fast/canvas/webgl/shader-mix-with-bool.html [ Skip ]
    @@ -2694,6 +2709,7 @@ webanimations/frame-rate/document-timeline-maximum-frame-rate.html [ Skip ]
     webanimations/transform-animation-with-delay-yields-accelerated-animation.html [ Skip ]
     webanimations/partly-accelerated-transition-by-removing-property.html [ Skip ]
     webanimations/accelerated-animations-and-composite.html [ Skip ]
    +webanimations/accelerated-animations-and-implicit-keyframes.html [ Skip ]
     
     # OT-SVG is not implemented on GTK/WPE
     fast/text/otsvg-canvas.html [ ImageOnlyFailure ]
    @@ -3023,7 +3039,6 @@ webkit.org/b/258150 fast/inline/partial-inline-layout-text-append-only-simple.ht
     webkit.org/b/258152 fast/lists/overlapping-nested-list-markers.html [ ImageOnlyFailure ]
     webkit.org/b/168551 http/tests/misc/slow-loading-animated-image.html [ ImageOnlyFailure ]
     webkit.org/b/168719 fast/css/paint-order-shadow.html [ ImageOnlyFailure ]
    -webkit.org/b/169909 fast/block/lineboxcontain/block-with-ideographs.xhtml [ Failure ]
     webkit.org/b/169909 fast/css-generated-content/initial-letter-pagination-sunken.html [ ImageOnlyFailure ]
     webkit.org/b/169909 fast/css-generated-content/initial-letter-pagination-sunken-rl.html [ ImageOnlyFailure ]
     webkit.org/b/169910 fast/multicol/simple-line-layout-line-index-after-strut.html [ ImageOnlyFailure ]
    @@ -3348,8 +3363,6 @@ media/video-remote-control-playpause.html [ Skip ]
     # Failure Pass Crash Timeout
     webkit.org/b/207062 webkit.org/b/244776 imported/w3c/web-platform-tests/media-source/mediasource-replay.html [ Skip ]
     
    -webkit.org/b/229738 fast/text/whitespace/tab-character-basics.html [ Failure ]
    -
     webkit.org/b/255101 imported/w3c/web-platform-tests/css/css-backgrounds/background-clip-content-box-002.html [ ImageOnlyFailure ]
     webkit.org/b/255101 imported/w3c/web-platform-tests/css/css-backgrounds/border-image-repeat-space-8.html [ ImageOnlyFailure Pass ]
     webkit.org/b/255101 imported/w3c/web-platform-tests/css/css-backgrounds/border-image-repeat-space-9.html [ ImageOnlyFailure Pass ]
    @@ -3370,7 +3383,6 @@ webkit.org/b/232386 css3/filters/filters-on-svg-root.html [ ImageOnlyFailure ]
     webkit.org/b/232386 editing/deleting/delete-block-contents-004.html [ Failure ]
     webkit.org/b/232386 editing/deleting/move-nodes-001.html [ Failure ]
     webkit.org/b/232386 editing/selection/doubleclick-japanese-text.html [ Failure ]
    -webkit.org/b/232386 fast/backgrounds/background-inherit-color-bug.html [ Failure ]
     webkit.org/b/232386 fast/block/float/031.html [ Failure ]
     webkit.org/b/232386 fast/block/float/033.html [ Failure ]
     webkit.org/b/232386 fast/block/float/clear-element-too-wide-for-containing-block.html [ Failure ]
    @@ -3416,12 +3428,7 @@ webkit.org/b/232386 fast/forms/select-reset-multiple-selections-4-single-selecti
     webkit.org/b/232386 fast/frames/frame-name-reset.html [ Failure ]
     webkit.org/b/232386 fast/frames/invalid-frameset-compute-edge.html [ ImageOnlyFailure ]
     webkit.org/b/232386 fast/html/crash-style-first-letter.html [ Failure ]
    -webkit.org/b/232386 fast/inline/inline-box-background-long-image.html [ Failure ]
    -webkit.org/b/232386 fast/inline/inline-box-background-repeat-x.html [ Failure ]
    -webkit.org/b/232386 fast/inline/inline-box-background-repeat-y.html [ Failure ]
    -webkit.org/b/232386 fast/inline/inline-box-background.html [ Failure ]
     webkit.org/b/232386 fast/inline/line-break-loose-with-inline-box-boundary.html [ ImageOnlyFailure ]
    -webkit.org/b/232386 fast/inline/vertical-align-text-bottom.html [ Failure ]
     webkit.org/b/232386 fast/multicol/float-adjacent-to-overflow-block.html [ ImageOnlyFailure ]
     webkit.org/b/232386 fast/overflow/dynamic-hidden.html [ Failure ]
     webkit.org/b/232386 fast/parser/changing-attrbutes-crash.html [ Failure ]
    @@ -3464,15 +3471,11 @@ webkit.org/b/232386 svg/custom/use-animation-in-fill.html [ Failure ]
     webkit.org/b/232386 svg/custom/use-multiple-on-nested-disallowed-font.html [ Failure ]
     webkit.org/b/232386 svg/custom/xlink-prefix-in-attributes.html [ Failure ]
     webkit.org/b/232386 svg/filters/reparent-animated-filter-target.html [ Failure ]
    -webkit.org/b/232386 svg/text/append-text-node-to-tspan.html [ Failure ]
    -webkit.org/b/232386 svg/text/modify-text-node-in-tspan.html [ Failure ]
    -webkit.org/b/232386 svg/text/remove-tspan-from-text.html [ Failure ]
     webkit.org/b/232386 svg/text/scaling-font-with-geometric-precision.html [ Failure ]
     webkit.org/b/232386 svg/text/text-rect-precision.html [ Failure ]
     webkit.org/b/232386 svg/text/text-viewbox-rescale.html [ Failure ]
     webkit.org/b/232386 tables/hittesting/filltable-outline.html [ Failure ]
     webkit.org/b/232386 tables/hittesting/filltable-stress.html [ Failure ]
    -webkit.org/b/232386 tables/mozilla/bugs/bug157890.html [ Failure ]
     webkit.org/b/232386 tables/mozilla/bugs/bug222846.html [ Failure ]
     webkit.org/b/232386 tables/mozilla_expected_failures/bugs/bug104898.html [ Failure ]
     webkit.org/b/232386 fast/dom/gc-11.html [ Timeout ]
    @@ -3519,8 +3522,6 @@ webkit.org/b/237108 http/tests/websocket/tests/hybi/imported/blink/permessage-de
     webkit.org/b/237108 http/tests/websocket/tests/hybi/simple-wss.html [ Failure ]
     
     webkit.org/b/236298 fast/text/combining-character-sequence-vertical.html [ ImageOnlyFailure ]
    -webkit.org/b/236298 fast/text/simple-line-layout-with-justified-punctuation.html [ ImageOnlyFailure ]
    -webkit.org/b/236298 fast/text/simple-lines-text-transform.html [ ImageOnlyFailure ]
     webkit.org/b/236298 fast/text/strikethrough-int.html [ ImageOnlyFailure ]
     
     http/tests/webgpu/webgpu/api/operation/memory_sync/buffer/multiple_buffers.html [ Skip ]
    @@ -3878,6 +3879,11 @@ imported/w3c/web-platform-tests/css/css-view-transitions/fragmented-at-start-ign
     imported/w3c/web-platform-tests/css/css-view-transitions/massive-element-below-viewport-partially-onscreen-new.html [ ImageOnlyFailure ]
     imported/w3c/web-platform-tests/css/css-view-transitions/offscreen-element-modified-before-coming-onscreen.html [ ImageOnlyFailure ]
     imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-rendering-invalidation.html [ ImageOnlyFailure ]
    +imported/w3c/web-platform-tests/css/css-view-transitions/fractional-translation-from-transform.html [ ImageOnlyFailure ]
    +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-ident.html [ ImageOnlyFailure ]
    +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-partial.html [ ImageOnlyFailure ]
    +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-mismatch-wildcard.html [ ImageOnlyFailure ]
    +imported/w3c/web-platform-tests/css/css-view-transitions/pseudo-with-classes-old-with-class-new-without.html [ ImageOnlyFailure ]
     
     # End: Common failures between GTK and WPE.
     
    diff --git a/LayoutTests/platform/glib/accessibility/dynamic-text-expected.txt b/LayoutTests/platform/glib/accessibility/dynamic-text-expected.txt
    new file mode 100644
    index 000000000000..cf229719d4e7
    --- /dev/null
    +++ b/LayoutTests/platform/glib/accessibility/dynamic-text-expected.txt
    @@ -0,0 +1,29 @@
    +This test ensures we update the accessibility tree when static text changes.
    +
    +#button text alternatives:
    +	AXTitle: Initial button text
    +	AXDescription:
    +
    +PASS: accessibilityController.accessibleElementById('label').stringValue.includes('Initial label text') === true
    +#checkbox text alternatives:
    +	AXTitle: Initial label text
    +	AXDescription:
    +
    +PASS: accessibilityController.accessibleElementById('textarea').stringValue.includes('Initial textarea text') === true
    +
    +#button text alternatives:
    +	AXTitle: Changed button text
    +	AXDescription:
    +
    +PASS: webarea.childAtIndex(0).stringValue.includes('Changed static text') === true
    +PASS: accessibilityController.accessibleElementById('label').stringValue.includes('Changed label text') === true
    +#checkbox text alternatives:
    +	AXTitle: Changed label text
    +	AXDescription:
    +
    +PASS: accessibilityController.accessibleElementById('textarea').stringValue.includes('Changed textarea text') === true
    +
    +PASS successfullyParsed is true
    +
    +TEST COMPLETE
    +Changed static textChanged button text Changed label text
    diff --git a/LayoutTests/platform/glib/accessibility/focus-new-element-expected.txt b/LayoutTests/platform/glib/accessibility/focus-new-element-expected.txt
    new file mode 100644
    index 000000000000..701609c3aad9
    --- /dev/null
    +++ b/LayoutTests/platform/glib/accessibility/focus-new-element-expected.txt
    @@ -0,0 +1,15 @@
    +This test ensures that the accessiblity tree properly handles focus for an element who has not yet attached a renderer.
    +
    +PASS: axButton && axButton.isValid === true
    +	AXTitle: BUTTON
    +	AXDescription:
    +PASS: axText.includes('BUTTON') === true
    +PASS: axButton && axButton.isValid === true
    +	AXTitle: BUTTON
    +	AXDescription:
    +PASS: axText.includes('BUTTON') === true
    +
    +PASS successfullyParsed is true
    +
    +TEST COMPLETE
    +TEST
    diff --git a/LayoutTests/platform/glib/css1/basic/containment-expected.txt b/LayoutTests/platform/glib/css1/basic/containment-expected.txt
    index cba5ddc0c810..d097df26bcce 100644
    --- a/LayoutTests/platform/glib/css1/basic/containment-expected.txt
    +++ b/LayoutTests/platform/glib/css1/basic/containment-expected.txt
    @@ -31,7 +31,7 @@ layer at (0,0) size 785x961
           RenderBlock {P} at (0,215) size 769x18
             RenderText {#text} at (0,0) size 404x17
               text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (404,3) size 96x15
               RenderText {#text} at (404,3) size 96x15
                 text run at (404,3) width 96: "linktest.css"
             RenderText {#text} at (500,0) size 254x17
    @@ -39,15 +39,15 @@ layer at (0,0) size 785x961
           RenderBlock {P} at (0,249) size 769x36
             RenderText {#text} at (0,0) size 442x17
               text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
    -        RenderInline {CODE} at (0,0) size 105x15
    +        RenderInline {CODE} at (441,3) size 105x15
               RenderText {#text} at (441,3) size 105x15
                 text run at (441,3) width 105: "linktest2.css"
             RenderText {#text} at (545,0) size 9x17
               text run at (545,0) width 9: ", "
    -        RenderInline {STRONG} at (0,0) size 42x17
    +        RenderInline {STRONG} at (553,0) size 42x17
               RenderText {#text} at (553,0) size 42x17
                 text run at (553,0) width 42: "unless"
    -        RenderText {#text} at (594,0) size 741x35
    +        RenderText {#text} at (0,0) size 741x35
               text run at (594,0) width 147: " the external style sheet"
               text run at (0,18) width 325: "\"Alternate SS\" has been selected via the user agent."
           RenderBlock {UL} at (0,301) size 769x54 [color=#FF0000]
    @@ -55,7 +55,7 @@ layer at (0,0) size 785x961
               RenderListMarker at (-17,0) size 7x17: bullet
               RenderText {#text} at (0,0) size 390x17
                 text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
    -          RenderInline {CODE} at (0,0) size 208x15
    +          RenderInline {CODE} at (390,3) size 208x15
                 RenderText {#text} at (390,3) size 208x15
                   text run at (390,3) width 208: "@import url(imptest1.css);"
               RenderText {#text} at (598,0) size 9x17
    @@ -64,7 +64,7 @@ layer at (0,0) size 785x961
               RenderListMarker at (-17,0) size 7x17: bullet
               RenderText {#text} at (0,0) size 395x17
                 text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
    -          RenderInline {CODE} at (0,0) size 184x15
    +          RenderInline {CODE} at (395,3) size 184x15
                 RenderText {#text} at (395,3) size 184x15
                   text run at (395,3) width 184: "@import \"imptest1a.css\""
               RenderText {#text} at (579,0) size 9x17
    @@ -73,7 +73,7 @@ layer at (0,0) size 785x961
               RenderListMarker at (-17,0) size 7x17: bullet
               RenderText {#text} at (0,0) size 393x17
                 text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
    -          RenderInline {CODE} at (0,0) size 168x15
    +          RenderInline {CODE} at (393,3) size 168x15
                 RenderText {#text} at (393,3) size 168x15
                   text run at (393,3) width 168: "STYLE=\"color: green;\""
               RenderText {#text} at (561,0) size 9x17
    @@ -98,12 +98,12 @@ layer at (0,0) size 785x961
             RenderText {#text} at (0,0) size 697x17
               text run at (0,0) width 197: "This sentence should be black. "
               text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
    -        RenderInline {TT} at (0,0) size 96x15
    +        RenderInline {TT} at (0,21) size 96x15
               RenderText {#text} at (0,21) size 96x15
                 text run at (0,21) width 96: "imptest2.css"
             RenderText {#text} at (96,18) size 33x17
               text run at (96,18) width 33: " (see "
    -        RenderInline {A} at (0,0) size 68x17 [color=#0000FF]
    +        RenderInline {A} at (129,18) size 68x17 [color=#0000FF]
               RenderText {#text} at (129,18) size 68x17
                 text run at (129,18) width 68: "section 3.0"
             RenderText {#text} at (197,18) size 275x17
    @@ -115,35 +115,35 @@ layer at (0,0) size 785x961
             RenderTableSection {TBODY} at (1,1) size 767x382
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x356
                 RenderTableCell {TD} at (0,191) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,169) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x356 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
                     RenderText {#text} at (0,0) size 404x17
                       text run at (0,0) width 404: "This sentence should be underlined due to the linked style sheet "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (404,3) size 96x15
                       RenderText {#text} at (404,3) size 96x15
                         text run at (404,3) width 96: "linktest.css"
    -                RenderText {#text} at (500,0) size 708x35
    +                RenderText {#text} at (0,0) size 708x35
                       text run at (500,0) width 208: ", the reference to which is shown"
                       text run at (0,18) width 42: "above."
                   RenderBlock {P} at (4,56) size 747x36
                     RenderText {#text} at (0,0) size 442x17
                       text run at (0,0) width 442: "This sentence should NOT be underlined due to the linked style sheet "
    -                RenderInline {CODE} at (0,0) size 105x15
    +                RenderInline {CODE} at (441,3) size 105x15
                       RenderText {#text} at (441,3) size 105x15
                         text run at (441,3) width 105: "linktest2.css"
                     RenderText {#text} at (545,0) size 9x17
                       text run at (545,0) width 9: ", "
    -                RenderInline {STRONG} at (0,0) size 42x17
    +                RenderInline {STRONG} at (553,0) size 42x17
                       RenderText {#text} at (553,0) size 42x17
                         text run at (553,0) width 42: "unless"
    -                RenderText {#text} at (594,0) size 741x35
    +                RenderText {#text} at (0,0) size 741x35
                       text run at (594,0) width 147: " the external style sheet"
                       text run at (0,18) width 325: "\"Alternate SS\" has been selected via the user agent."
                   RenderBlock {UL} at (4,108) size 747x54 [color=#FF0000]
    @@ -151,7 +151,7 @@ layer at (0,0) size 785x961
                       RenderListMarker at (-17,0) size 7x17: bullet
                       RenderText {#text} at (0,0) size 390x17
                         text run at (0,0) width 390: "This sentence should be green due to an imported style sheet ["
    -                  RenderInline {CODE} at (0,0) size 208x15
    +                  RenderInline {CODE} at (390,3) size 208x15
                         RenderText {#text} at (390,3) size 208x15
                           text run at (390,3) width 208: "@import url(imptest1.css);"
                       RenderText {#text} at (598,0) size 9x17
    @@ -160,7 +160,7 @@ layer at (0,0) size 785x961
                       RenderListMarker at (-17,0) size 7x17: bullet
                       RenderText {#text} at (0,0) size 395x17
                         text run at (0,0) width 395: "This sentence should be purple due to an imported style sheet ["
    -                  RenderInline {CODE} at (0,0) size 184x15
    +                  RenderInline {CODE} at (395,3) size 184x15
                         RenderText {#text} at (395,3) size 184x15
                           text run at (395,3) width 184: "@import \"imptest1a.css\""
                       RenderText {#text} at (579,0) size 9x17
    @@ -169,7 +169,7 @@ layer at (0,0) size 785x961
                       RenderListMarker at (-17,0) size 7x17: bullet
                       RenderText {#text} at (0,0) size 393x17
                         text run at (0,0) width 393: "This sentence should be green thanks to the STYLE attribute ["
    -                  RenderInline {CODE} at (0,0) size 168x15
    +                  RenderInline {CODE} at (393,3) size 168x15
                         RenderText {#text} at (393,3) size 168x15
                           text run at (393,3) width 168: "STYLE=\"color: green;\""
                       RenderText {#text} at (561,0) size 9x17
    @@ -194,12 +194,12 @@ layer at (0,0) size 785x961
                     RenderText {#text} at (0,0) size 697x17
                       text run at (0,0) width 197: "This sentence should be black. "
                       text run at (197,0) width 500: "If it is red, then the browser has inappropriately imported the styles from the file"
    -                RenderInline {TT} at (0,0) size 96x15
    +                RenderInline {TT} at (0,21) size 96x15
                       RenderText {#text} at (0,21) size 96x15
                         text run at (0,21) width 96: "imptest2.css"
                     RenderText {#text} at (96,18) size 33x17
                       text run at (96,18) width 33: " (see "
    -                RenderInline {A} at (0,0) size 68x17 [color=#0000FF]
    +                RenderInline {A} at (129,18) size 68x17 [color=#0000FF]
                       RenderText {#text} at (129,18) size 68x17
                         text run at (129,18) width 68: "section 3.0"
                     RenderText {#text} at (197,18) size 275x17
    diff --git a/LayoutTests/platform/glib/css1/basic/contextual_selectors-expected.txt b/LayoutTests/platform/glib/css1/basic/contextual_selectors-expected.txt
    index c23d916a4591..42a45b93a771 100644
    --- a/LayoutTests/platform/glib/css1/basic/contextual_selectors-expected.txt
    +++ b/LayoutTests/platform/glib/css1/basic/contextual_selectors-expected.txt
    @@ -21,7 +21,7 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,159) size 784x18 [color=#000080]
             RenderText {#text} at (0,0) size 559x17
               text run at (0,0) width 559: "This sentence should be normal for its section, except for the last word, which should be "
    -        RenderInline {EM} at (0,0) size 36x17 [color=#008000]
    +        RenderInline {EM} at (559,0) size 36x17 [color=#008000]
               RenderText {#text} at (559,0) size 36x17
                 text run at (559,0) width 36: "green"
             RenderText {#text} at (594,0) size 5x17
    @@ -45,12 +45,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 720x154
               RenderTableRow {TR} at (0,0) size 720x26
                 RenderTableCell {TD} at (0,0) size 720x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 720x128
                 RenderTableCell {TD} at (0,77) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,55) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 708x128 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 700x18 [color=#800080]
    @@ -59,7 +59,7 @@ layer at (0,0) size 800x600
                   RenderBlock {P} at (4,38) size 700x18 [color=#800080]
                     RenderText {#text} at (0,0) size 623x17
                       text run at (0,0) width 623: "This sentence should be normal for its section, except for the last word, which should be "
    -                RenderInline {EM} at (0,0) size 41x17 [color=#008000]
    +                RenderInline {EM} at (623,0) size 41x17 [color=#008000]
                       RenderText {#text} at (623,0) size 41x17
                         text run at (623,0) width 41: "green"
                     RenderText {#text} at (664,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/basic/grouping-expected.txt b/LayoutTests/platform/glib/css1/basic/grouping-expected.txt
    index fefe18c1b314..e39bd1df572a 100644
    --- a/LayoutTests/platform/glib/css1/basic/grouping-expected.txt
    +++ b/LayoutTests/platform/glib/css1/basic/grouping-expected.txt
    @@ -24,12 +24,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 214x120
               RenderTableRow {TR} at (0,0) size 214x26
                 RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 214x94
                 RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,38) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 202x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 194x18 [color=#008000]
    diff --git a/LayoutTests/platform/glib/css1/basic/id_as_selector-expected.txt b/LayoutTests/platform/glib/css1/basic/id_as_selector-expected.txt
    index 2ea8074809e1..39a0b2e844b9 100644
    --- a/LayoutTests/platform/glib/css1/basic/id_as_selector-expected.txt
    +++ b/LayoutTests/platform/glib/css1/basic/id_as_selector-expected.txt
    @@ -32,7 +32,7 @@ layer at (0,0) size 785x627
           RenderBlock {P} at (0,253) size 769x18 [color=#0000FF]
             RenderText {#text} at (0,0) size 200x17
               text run at (0,0) width 200: "This paragraph should be blue ["
    -        RenderInline {TT} at (0,0) size 64x15
    +        RenderInline {TT} at (200,3) size 64x15
               RenderText {#text} at (200,3) size 64x15
                 text run at (200,3) width 64: "ID=\"two\""
             RenderText {#text} at (264,0) size 9x17
    @@ -54,12 +54,12 @@ layer at (0,0) size 785x627
             RenderTableSection {TBODY} at (1,1) size 420x229
               RenderTableRow {TR} at (0,0) size 420x26
                 RenderTableCell {TD} at (0,0) size 420x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 420x203
                 RenderTableCell {TD} at (0,114) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,92) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 408x203 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 400x18 [color=#008000]
    @@ -71,7 +71,7 @@ layer at (0,0) size 785x627
                   RenderBlock {P} at (4,72) size 400x18 [color=#0000FF]
                     RenderText {#text} at (0,0) size 200x17
                       text run at (0,0) width 200: "This paragraph should be blue ["
    -                RenderInline {TT} at (0,0) size 72x15
    +                RenderInline {TT} at (200,3) size 72x15
                       RenderText {#text} at (200,3) size 72x15
                         text run at (200,3) width 72: "ID=\"five\""
                     RenderText {#text} at (272,0) size 9x17
    diff --git a/LayoutTests/platform/glib/css1/basic/inheritance-expected.txt b/LayoutTests/platform/glib/css1/basic/inheritance-expected.txt
    index 832325c87531..4fbe687e5388 100644
    --- a/LayoutTests/platform/glib/css1/basic/inheritance-expected.txt
    +++ b/LayoutTests/platform/glib/css1/basic/inheritance-expected.txt
    @@ -25,12 +25,12 @@ layer at (0,0) size 785x730
           RenderBlock {H3} at (0,172) size 769x23 [color=#0000FF]
             RenderText {#text} at (0,0) size 210x21
               text run at (0,0) width 210: "This sentence should show "
    -        RenderInline {STRONG} at (0,0) size 33x21
    +        RenderInline {STRONG} at (210,0) size 33x21
               RenderText {#text} at (210,0) size 33x21
                 text run at (210,0) width 33: "blue"
             RenderText {#text} at (243,0) size 39x21
               text run at (243,0) width 39: " and "
    -        RenderInline {EM} at (0,0) size 48x21 [color=#800080]
    +        RenderInline {EM} at (282,0) size 48x21 [color=#800080]
               RenderText {#text} at (282,0) size 48x21
                 text run at (282,0) width 48: "purple"
             RenderText {#text} at (330,0) size 5x21
    @@ -38,7 +38,7 @@ layer at (0,0) size 785x730
           RenderBlock {H3} at (0,213) size 769x23 [color=#0000FF]
             RenderText {#text} at (0,0) size 188x21
               text run at (0,0) width 188: "This sentence should be "
    -        RenderInline {SPAN} at (0,0) size 32x21
    +        RenderInline {SPAN} at (188,0) size 32x21
               RenderText {#text} at (188,0) size 32x21
                 text run at (188,0) width 32: "blue"
             RenderText {#text} at (220,0) size 97x21
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x730
           RenderBlock {P} at (0,254) size 769x19
             RenderText {#text} at (0,0) size 226x17
               text run at (0,0) width 226: "This should be green except for the "
    -        RenderInline {EM} at (0,0) size 117x17 [color=#800080]
    +        RenderInline {EM} at (226,0) size 117x17 [color=#800080]
               RenderText {#text} at (226,0) size 117x17
                 text run at (226,0) width 117: "emphasized words"
             RenderText {#text} at (342,0) size 161x17
    @@ -57,22 +57,22 @@ layer at (0,0) size 785x730
           RenderBlock {P} at (0,331) size 769x19
             RenderText {#text} at (0,0) size 293x17
               text run at (0,0) width 293: "This sentence should be underlined, including "
    -        RenderInline {TT} at (0,0) size 72x15
    +        RenderInline {TT} at (293,3) size 72x15
               RenderText {#text} at (293,3) size 72x15
                 text run at (293,3) width 72: "this part"
             RenderText {#text} at (365,0) size 8x17
               text run at (365,0) width 8: ", "
    -        RenderInline {I} at (0,0) size 52x17
    +        RenderInline {I} at (373,0) size 52x17
               RenderText {#text} at (373,0) size 52x17
                 text run at (373,0) width 52: "this part"
             RenderText {#text} at (425,0) size 8x17
               text run at (425,0) width 8: ", "
    -        RenderInline {EM} at (0,0) size 52x17 [color=#800080]
    +        RenderInline {EM} at (433,0) size 52x17 [color=#800080]
               RenderText {#text} at (433,0) size 52x17
                 text run at (433,0) width 52: "this part"
             RenderText {#text} at (485,0) size 35x17
               text run at (485,0) width 35: ", and "
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (520,0) size 57x17
               RenderText {#text} at (520,0) size 57x17
                 text run at (520,0) width 57: "this part"
             RenderText {#text} at (577,0) size 4x17
    @@ -80,7 +80,7 @@ layer at (0,0) size 785x730
           RenderBlock {P} at (0,365) size 769x19 [color=#000080]
             RenderText {#text} at (0,0) size 436x17
               text run at (0,0) width 436: "This sentence should also be underlined, as well as dark blue (navy), "
    -        RenderInline {TT} at (0,0) size 152x15
    +        RenderInline {TT} at (436,3) size 152x15
               RenderText {#text} at (436,3) size 152x15
                 text run at (436,3) width 152: "including this part"
             RenderText {#text} at (588,0) size 4x17
    @@ -88,12 +88,12 @@ layer at (0,0) size 785x730
           RenderBlock {P} at (0,399) size 769x19 [color=#800080]
             RenderText {#text} at (0,0) size 266x17
               text run at (0,0) width 266: "This sentence should be purple, including "
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (266,0) size 57x17
               RenderText {#text} at (266,0) size 57x17
                 text run at (266,0) width 57: "this part"
             RenderText {#text} at (323,0) size 31x17
               text run at (323,0) width 31: " and "
    -        RenderInline {SPAN} at (0,0) size 173x17
    +        RenderInline {SPAN} at (354,0) size 173x17
               RenderText {#text} at (354,0) size 173x17
                 text run at (354,0) width 173: "this part (which is spanned)"
             RenderText {#text} at (527,0) size 4x17
    @@ -102,23 +102,23 @@ layer at (0,0) size 785x730
             RenderTableSection {TBODY} at (1,1) size 612x279
               RenderTableRow {TR} at (0,0) size 612x26
                 RenderTableCell {TD} at (0,0) size 612x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 612x253
                 RenderTableCell {TD} at (0,139) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,117) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 600x253 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {H3} at (4,4) size 592x22 [color=#0000FF]
                     RenderText {#text} at (0,0) size 210x21
                       text run at (0,0) width 210: "This sentence should show "
    -                RenderInline {STRONG} at (0,0) size 33x21
    +                RenderInline {STRONG} at (210,0) size 33x21
                       RenderText {#text} at (210,0) size 33x21
                         text run at (210,0) width 33: "blue"
                     RenderText {#text} at (243,0) size 39x21
                       text run at (243,0) width 39: " and "
    -                RenderInline {EM} at (0,0) size 48x21 [color=#800080]
    +                RenderInline {EM} at (282,0) size 48x21 [color=#800080]
                       RenderText {#text} at (282,0) size 48x21
                         text run at (282,0) width 48: "purple"
                     RenderText {#text} at (330,0) size 5x21
    @@ -126,7 +126,7 @@ layer at (0,0) size 785x730
                   RenderBlock {H3} at (4,44) size 592x23 [color=#0000FF]
                     RenderText {#text} at (0,0) size 188x21
                       text run at (0,0) width 188: "This sentence should be "
    -                RenderInline {SPAN} at (0,0) size 32x21
    +                RenderInline {SPAN} at (188,0) size 32x21
                       RenderText {#text} at (188,0) size 32x21
                         text run at (188,0) width 32: "blue"
                     RenderText {#text} at (220,0) size 97x21
    @@ -134,7 +134,7 @@ layer at (0,0) size 785x730
                   RenderBlock {P} at (4,85) size 592x19
                     RenderText {#text} at (0,0) size 226x17
                       text run at (0,0) width 226: "This should be green except for the "
    -                RenderInline {EM} at (0,0) size 117x17 [color=#800080]
    +                RenderInline {EM} at (226,0) size 117x17 [color=#800080]
                       RenderText {#text} at (226,0) size 117x17
                         text run at (226,0) width 117: "emphasized words"
                     RenderText {#text} at (342,0) size 161x17
    @@ -145,22 +145,22 @@ layer at (0,0) size 785x730
                   RenderBlock {P} at (4,162) size 592x19
                     RenderText {#text} at (0,0) size 293x17
                       text run at (0,0) width 293: "This sentence should be underlined, including "
    -                RenderInline {TT} at (0,0) size 72x15
    +                RenderInline {TT} at (293,3) size 72x15
                       RenderText {#text} at (293,3) size 72x15
                         text run at (293,3) width 72: "this part"
                     RenderText {#text} at (365,0) size 8x17
                       text run at (365,0) width 8: ", "
    -                RenderInline {I} at (0,0) size 52x17
    +                RenderInline {I} at (373,0) size 52x17
                       RenderText {#text} at (373,0) size 52x17
                         text run at (373,0) width 52: "this part"
                     RenderText {#text} at (425,0) size 8x17
                       text run at (425,0) width 8: ", "
    -                RenderInline {EM} at (0,0) size 52x17 [color=#800080]
    +                RenderInline {EM} at (433,0) size 52x17 [color=#800080]
                       RenderText {#text} at (433,0) size 52x17
                         text run at (433,0) width 52: "this part"
                     RenderText {#text} at (485,0) size 35x17
                       text run at (485,0) width 35: ", and "
    -                RenderInline {STRONG} at (0,0) size 57x17
    +                RenderInline {STRONG} at (520,0) size 57x17
                       RenderText {#text} at (520,0) size 57x17
                         text run at (520,0) width 57: "this part"
                     RenderText {#text} at (577,0) size 4x17
    @@ -168,7 +168,7 @@ layer at (0,0) size 785x730
                   RenderBlock {P} at (4,196) size 592x19 [color=#000080]
                     RenderText {#text} at (0,0) size 436x17
                       text run at (0,0) width 436: "This sentence should also be underlined, as well as dark blue (navy), "
    -                RenderInline {TT} at (0,0) size 152x15
    +                RenderInline {TT} at (436,3) size 152x15
                       RenderText {#text} at (436,3) size 152x15
                         text run at (436,3) width 152: "including this part"
                     RenderText {#text} at (588,0) size 4x17
    @@ -176,12 +176,12 @@ layer at (0,0) size 785x730
                   RenderBlock {P} at (4,230) size 592x19 [color=#800080]
                     RenderText {#text} at (0,0) size 266x17
                       text run at (0,0) width 266: "This sentence should be purple, including "
    -                RenderInline {STRONG} at (0,0) size 57x17
    +                RenderInline {STRONG} at (266,0) size 57x17
                       RenderText {#text} at (266,0) size 57x17
                         text run at (266,0) width 57: "this part"
                     RenderText {#text} at (323,0) size 31x17
                       text run at (323,0) width 31: " and "
    -                RenderInline {SPAN} at (0,0) size 173x17
    +                RenderInline {SPAN} at (354,0) size 173x17
                       RenderText {#text} at (354,0) size 173x17
                         text run at (354,0) width 173: "this part (which is spanned)"
                     RenderText {#text} at (527,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border-expected.txt
    index 9f48fc66b20e..707593eca280 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border-expected.txt
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x1396
           RenderBlock {P} at (0,436) size 769x18
             RenderText {#text} at (0,0) size 348x17
               text run at (0,0) width 348: "This paragraph should have no border around it, as the "
    -        RenderInline {TT} at (0,0) size 96x15
    +        RenderInline {TT} at (348,3) size 96x15
               RenderText {#text} at (348,3) size 96x15
                 text run at (348,3) width 96: "border-style"
             RenderText {#text} at (444,0) size 322x17
    @@ -54,22 +54,22 @@ layer at (0,0) size 785x1396
           RenderBlock {P} at (0,470) size 769x42 [border: (3px double #800000)]
             RenderText {#text} at (3,3) size 535x17
               text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (538,6) size 96x15
               RenderText {#text} at (538,6) size 96x15
                 text run at (538,6) width 96: "border-width"
    -        RenderText {#text} at (634,3) size 746x35
    +        RenderText {#text} at (3,3) size 746x35
               text run at (634,3) width 115: " was not explicitly"
               text run at (3,21) width 21: "set."
           RenderBlock {P} at (0,528) size 769x18
             RenderText {#text} at (0,0) size 621x17
               text run at (0,0) width 621: "This paragraph should have no border around it, as its declaration is invalid and should be ignored."
           RenderBlock {P} at (0,562) size 769x19
    -        RenderInline {A} at (0,0) size 25x17
    +        RenderInline {A} at (0,1) size 25x17
               RenderText {#text} at (0,1) size 25x17
                 text run at (0,1) width 25: "The"
             RenderText {#text} at (25,1) size 715x17
               text run at (25,1) width 715: " following image is also an anchor which points to a target on this page, but it should not have a border around it: "
    -        RenderInline {A} at (0,0) size 16x17 [color=#0000FF]
    +        RenderInline {A} at (739,1) size 16x17 [color=#0000FF]
               RenderImage {IMG} at (739,0) size 16x15
             RenderText {#text} at (754,1) size 5x17
               text run at (754,1) width 5: "."
    @@ -83,7 +83,7 @@ layer at (0,0) size 785x1396
                     text run at (3,21) width 175: "second half of the test page."
               RenderTableRow {TR} at (0,52) size 767x54
                 RenderTableCell {TD} at (5,67) size 195x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (3,3) size 53x17
    +              RenderText {#text} at (3,18) size 53x17
                     text run at (3,3) width 53: "Cell one"
                 RenderTableCell {TD} at (204,52) size 559x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (3,3) size 552x18
    @@ -102,12 +102,12 @@ layer at (0,0) size 785x1396
             RenderTableSection {TBODY} at (1,1) size 767x618
               RenderTableRow {TR} at (0,0) size 767x28
                 RenderTableCell {TD} at (0,0) size 767x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (5,5) size 161x17
                     RenderText {#text} at (5,5) size 161x17
                       text run at (5,5) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,28) size 767x590
                 RenderTableCell {TD} at (0,309) size 14x28 [bgcolor=#C0C0C0] [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (5,5) size 4x17
    +              RenderText {#text} at (5,286) size 4x17
                     text run at (5,5) width 4: " "
                 RenderTableCell {TD} at (14,28) size 753x590 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (5,5) size 743x36
    @@ -130,19 +130,19 @@ layer at (0,0) size 785x1396
                   RenderBlock {P} at (5,241) size 743x36
                     RenderText {#text} at (0,0) size 348x17
                       text run at (0,0) width 348: "This paragraph should have no border around it, as the "
    -                RenderInline {TT} at (0,0) size 96x15
    +                RenderInline {TT} at (348,3) size 96x15
                       RenderText {#text} at (348,3) size 96x15
                         text run at (348,3) width 96: "border-style"
    -                RenderText {#text} at (444,0) size 732x35
    +                RenderText {#text} at (0,0) size 732x35
                       text run at (444,0) width 288: " was not set, and it should not be offset in any"
                       text run at (0,18) width 30: "way."
                   RenderBlock {P} at (5,293) size 743x42 [border: (3px double #800000)]
                     RenderText {#text} at (3,3) size 535x17
                       text run at (3,3) width 535: "This paragraph should have a medium maroon double border around it, even though "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (538,6) size 96x15
                       RenderText {#text} at (538,6) size 96x15
                         text run at (538,6) width 96: "border-width"
    -                RenderText {#text} at (634,3) size 684x35
    +                RenderText {#text} at (3,3) size 684x35
                       text run at (634,3) width 53: " was not"
                       text run at (3,21) width 83: "explicitly set."
                   RenderBlock {P} at (5,351) size 743x18
    @@ -154,7 +154,7 @@ layer at (0,0) size 785x1396
                         text run at (0,0) width 25: "The"
                     RenderText {#text} at (25,0) size 711x17
                       text run at (25,0) width 711: " following image is also an anchor which points to a target on this page, but it should not have a border around it:"
    -                RenderInline {A} at (0,0) size 15x17 [color=#0000FF]
    +                RenderInline {A} at (0,19) size 15x17 [color=#0000FF]
                       RenderImage {IMG} at (0,18) size 15x15
                     RenderText {#text} at (15,19) size 4x17
                       text run at (15,19) width 4: "."
    @@ -168,7 +168,7 @@ layer at (0,0) size 785x1396
                             text run at (3,21) width 175: "second half of the test page."
                       RenderTableRow {TR} at (0,52) size 741x54
                         RenderTableCell {TD} at (5,67) size 188x24 [border: (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -                      RenderText {#text} at (3,3) size 53x17
    +                      RenderText {#text} at (3,18) size 53x17
                             text run at (3,3) width 53: "Cell one"
                         RenderTableCell {TD} at (197,52) size 540x54 [border: (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                           RenderBlock (anonymous) at (3,3) size 533x18
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_bottom-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_bottom-expected.txt
    index a6716bca0454..8d81508a220c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_bottom-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_bottom-expected.txt
    @@ -37,7 +37,7 @@ layer at (0,0) size 785x995
                     text run at (2,20) width 198: "the second half of the test page."
               RenderTableRow {TR} at (0,51) size 767x52
                 RenderTableCell {TD} at (5,65) size 194x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (2,1) size 53x19
    +              RenderText {#text} at (2,16) size 53x18
                     text run at (2,2) width 53: "Cell one"
                 RenderTableCell {TD} at (203,51) size 560x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (2,2) size 555x18
    @@ -77,7 +77,7 @@ layer at (0,0) size 785x995
               RenderText {#text} at (0,0) size 722x35
                 text run at (0,0) width 722: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means that"
                 text run at (0,18) width 104: "it should appear "
    -          RenderInline {EM} at (0,0) size 50x17
    +          RenderInline {EM} at (104,18) size 50x17
                 RenderText {#text} at (104,18) size 50x17
                   text run at (104,18) width 50: "beneath"
               RenderText {#text} at (154,18) size 390x17
    @@ -86,12 +86,12 @@ layer at (0,0) size 785x995
             RenderTableSection {TBODY} at (1,1) size 767x444
               RenderTableRow {TR} at (0,0) size 767x27
                 RenderTableCell {TD} at (0,0) size 767x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,27) size 767x417
                 RenderTableCell {TD} at (0,222) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,199) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,27) size 755x417 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    @@ -115,7 +115,7 @@ layer at (0,0) size 785x995
                             text run at (2,20) width 214: "in the second half of the test page."
                       RenderTableRow {TR} at (0,51) size 745x52
                         RenderTableCell {TD} at (5,65) size 188x24 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -                      RenderText {#text} at (2,1) size 53x19
    +                      RenderText {#text} at (2,16) size 53x18
                             text run at (2,2) width 53: "Cell one"
                         RenderTableCell {TD} at (197,51) size 544x52 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                           RenderBlock (anonymous) at (2,2) size 539x18
    @@ -155,7 +155,7 @@ layer at (0,0) size 785x995
                       RenderText {#text} at (0,0) size 695x35
                         text run at (0,0) width 695: "Each list item in this list should have a medium-width black border at its bottom, which for the first item means"
                         text run at (0,18) width 131: "that it should appear "
    -                  RenderInline {EM} at (0,0) size 50x17
    +                  RenderInline {EM} at (131,18) size 50x17
                         RenderText {#text} at (131,18) size 50x17
                           text run at (131,18) width 50: "beneath"
                       RenderText {#text} at (181,18) size 390x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_bottom_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_bottom_inline-expected.txt
    index 1272d595e590..0f4131a7d6d2 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_bottom_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_bottom_inline-expected.txt
    @@ -16,43 +16,43 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 666x17
               text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
    -        RenderInline {SPAN} at (0,0) size 58x27 [border: none (10px double #800080) none]
    +        RenderInline {SPAN} at (665,0) size 58x27 [border: none (10px double #800080) none]
               RenderText {#text} at (665,0) size 58x17
                 text run at (665,0) width 58: "class one"
    -        RenderText {#text} at (722,0) size 770x35
    +        RenderText {#text} at (0,0) size 770x35
               text run at (722,0) width 48: ", which"
               text run at (0,18) width 362: "should have a 10-pixel purple double bottom border; and "
    -        RenderInline {SPAN} at (0,0) size 58x18 [border: none (1px solid #800080) none]
    +        RenderInline {SPAN} at (362,18) size 58x18 [border: none (1px solid #800080) none]
               RenderText {#text} at (362,18) size 58x17
                 text run at (362,18) width 58: "class two"
    -        RenderText {#text} at (420,18) size 761x35
    +        RenderText {#text} at (0,18) size 761x35
               text run at (420,18) width 341: ", which should have a thin solid purple bottom border."
               text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
           RenderTable {TABLE} at (0,180) size 784x90 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 666x17
                       text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
    -                RenderInline {SPAN} at (0,0) size 58x27 [border: none (10px double #800080) none]
    +                RenderInline {SPAN} at (665,0) size 58x27 [border: none (10px double #800080) none]
                       RenderText {#text} at (665,0) size 58x17
                         text run at (665,0) width 58: "class one"
    -                RenderText {#text} at (722,0) size 727x35
    +                RenderText {#text} at (0,0) size 727x35
                       text run at (722,0) width 5: ","
                       text run at (0,18) width 405: "which should have a 10-pixel purple double bottom border; and "
    -                RenderInline {SPAN} at (0,0) size 58x18 [border: none (1px solid #800080) none]
    +                RenderInline {SPAN} at (405,18) size 58x18 [border: none (1px solid #800080) none]
                       RenderText {#text} at (405,18) size 58x17
                         text run at (405,18) width 58: "class two"
    -                RenderText {#text} at (463,18) size 755x35
    +                RenderText {#text} at (0,18) size 755x35
                       text run at (463,18) width 292: ", which should have a thin solid purple bottom"
                       text run at (0,36) width 49: "border. "
                       text run at (48,36) width 430: "The line-height of the parent element should not change on any line."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_bottom_width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_bottom_width-expected.txt
    index 13ae97cb5aae..3c6796247bef 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_bottom_width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_bottom_width-expected.txt
    @@ -23,7 +23,7 @@ layer at (0,0) size 785x877
           RenderBlock {P} at (0,155) size 769x18
             RenderText {#text} at (0,0) size 157x17
               text run at (0,0) width 157: "(These will only work if "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (157,3) size 96x15
               RenderText {#text} at (157,3) size 96x15
                 text run at (157,3) width 96: "border-style"
             RenderText {#text} at (253,0) size 89x17
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x877
           RenderBlock {P} at (0,430) size 769x18
             RenderText {#text} at (0,0) size 537x17
               text run at (0,0) width 537: "This element should have no border and no extra \"padding\" on its bottom side, as no "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (537,3) size 96x15
               RenderText {#text} at (537,3) size 96x15
                 text run at (537,3) width 96: "border-style"
             RenderText {#text} at (633,0) size 54x17
    @@ -58,18 +58,18 @@ layer at (0,0) size 785x877
             RenderTableSection {TBODY} at (1,1) size 707x361
               RenderTableRow {TR} at (0,0) size 707x26
                 RenderTableCell {TD} at (0,0) size 707x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 707x335
                 RenderTableCell {TD} at (0,180) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,158) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 695x335 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 687x18
                     RenderText {#text} at (0,0) size 157x17
                       text run at (0,0) width 157: "(These will only work if "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (157,3) size 96x15
                       RenderText {#text} at (157,3) size 96x15
                         text run at (157,3) width 96: "border-style"
                     RenderText {#text} at (253,0) size 89x17
    @@ -92,7 +92,7 @@ layer at (0,0) size 785x877
                   RenderBlock {P} at (4,279) size 687x18
                     RenderText {#text} at (0,0) size 537x17
                       text run at (0,0) width 537: "This element should have no border and no extra \"padding\" on its bottom side, as no "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (537,3) size 96x15
                       RenderText {#text} at (537,3) size 96x15
                         text run at (537,3) width 96: "border-style"
                     RenderText {#text} at (633,0) size 54x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_bottom_width_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_bottom_width_inline-expected.txt
    index dd36632bdab9..80d1ccc978da 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_bottom_width_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_bottom_width_inline-expected.txt
    @@ -17,71 +17,71 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
             RenderText {#text} at (3,3) size 172x17
               text run at (3,3) width 172: "This element has a class of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (175,6) size 24x15
               RenderText {#text} at (175,6) size 24x15
                 text run at (175,6) width 24: "one"
             RenderText {#text} at (199,3) size 162x17
               text run at (199,3) width 8: ". "
               text run at (207,3) width 154: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 174x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (360,0) size 174x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (363,3) size 144x17
                 text run at (363,3) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (506,6) size 25x15
                 RenderText {#text} at (506,6) size 25x15
                   text run at (506,6) width 25: "two"
    -        RenderText {#text} at (533,3) size 767x53
    +        RenderText {#text} at (3,3) size 767x53
               text run at (533,3) width 221: ", which should result in a thin solid"
               text run at (3,21) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
               text run at (719,21) width 51: "There is"
               text run at (3,39) width 48: "also an "
    -        RenderInline {SPAN} at (0,0) size 183x17
    +        RenderInline {SPAN} at (51,39) size 183x17
               RenderText {#text} at (51,39) size 143x17
                 text run at (51,39) width 143: "inline element of class "
    -          RenderInline {TT} at (0,0) size 40x15
    +          RenderInline {TT} at (194,42) size 40x15
                 RenderText {#text} at (194,42) size 40x15
                   text run at (194,42) width 40: "three"
    -        RenderText {#text} at (234,39) size 770x35
    +        RenderText {#text} at (3,39) size 770x35
               text run at (234,39) width 539: ", which should have no bottom border width or visible border because no border style"
               text run at (3,57) width 50: "was set."
           RenderTable {TABLE} at (0,226) size 784x136 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x134
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x108
                 RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,45) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x100 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
                     RenderText {#text} at (3,3) size 172x17
                       text run at (3,3) width 172: "This element has a class of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (175,6) size 24x15
                       RenderText {#text} at (175,6) size 24x15
                         text run at (175,6) width 24: "one"
                     RenderText {#text} at (199,3) size 162x17
                       text run at (199,3) width 8: ". "
                       text run at (207,3) width 154: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 174x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +                RenderInline {SPAN} at (360,0) size 174x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                       RenderText {#text} at (363,3) size 144x17
                         text run at (363,3) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (506,6) size 25x15
                         RenderText {#text} at (506,6) size 25x15
                           text run at (506,6) width 25: "two"
    -                RenderText {#text} at (533,3) size 753x53
    +                RenderText {#text} at (3,3) size 753x53
                       text run at (533,3) width 221: ", which should result in a thin solid"
                       text run at (3,21) width 716: "border on the bottom side of each box in the inline element (and the UA's default border on the other three sides). "
                       text run at (719,21) width 37: "There"
                       text run at (3,39) width 62: "is also an "
    -                RenderInline {SPAN} at (0,0) size 183x17
    +                RenderInline {SPAN} at (65,39) size 183x17
                       RenderText {#text} at (65,39) size 143x17
                         text run at (65,39) width 143: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 40x15
    +                  RenderInline {TT} at (208,42) size 40x15
                         RenderText {#text} at (208,42) size 40x15
                           text run at (208,42) width 40: "three"
    -                RenderText {#text} at (248,39) size 751x35
    +                RenderText {#text} at (3,39) size 751x35
                       text run at (248,39) width 506: ", which should have no bottom border width or visible border because no border"
                       text run at (3,57) width 83: "style was set."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_color-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_color-expected.txt
    index 5005a6cf4d3c..ed434c5e0856 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_color-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_color-expected.txt
    @@ -28,12 +28,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x156
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x130
                 RenderTableCell {TD} at (0,78) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,56) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x130 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x24 [border: (3px solid #800080)]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_color_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_color_inline-expected.txt
    index 45224ead990a..953287036076 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_color_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_color_inline-expected.txt
    @@ -17,21 +17,21 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x72 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 677x17
               text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
    -        RenderInline {SPAN} at (0,0) size 64x23 [border: (3px solid #800080)]
    +        RenderInline {SPAN} at (676,-3) size 64x23 [border: (3px solid #800080)]
               RenderText {#text} at (679,0) size 58x17
                 text run at (679,0) width 58: "class one"
             RenderText {#text} at (739,0) size 9x17
               text run at (739,0) width 9: ", "
    -        RenderInline {SPAN} at (0,0) size 781x41 [border: (3px solid #800080)]
    -          RenderText {#text} at (750,0) size 781x35
    +        RenderInline {SPAN} at (0,-3) size 781x41 [border: (3px solid #800080)]
    +          RenderText {#text} at (0,0) size 781x35
                 text run at (750,0) width 31: "class"
                 text run at (0,18) width 24: "two"
             RenderText {#text} at (27,18) size 35x17
               text run at (27,18) width 35: ", and "
    -        RenderInline {SPAN} at (0,0) size 71x23 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
    +        RenderInline {SPAN} at (62,15) size 71x23 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
               RenderText {#text} at (65,18) size 65x17
                 text run at (65,18) width 65: "class three"
    -        RenderText {#text} at (133,18) size 764x53
    +        RenderText {#text} at (0,18) size 764x53
               text run at (133,18) width 8: ". "
               text run at (141,18) width 623: "The effect for each inline element should be to have a purple medium-width solid border in the first"
               text run at (0,36) width 569: "and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
    @@ -41,31 +41,31 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x106
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x80
                 RenderTableCell {TD} at (0,53) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,31) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x80 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x72 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 677x17
                       text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
    -                RenderInline {SPAN} at (0,0) size 64x23 [border: (3px solid #800080)]
    +                RenderInline {SPAN} at (676,-3) size 64x23 [border: (3px solid #800080)]
                       RenderText {#text} at (679,0) size 58x17
                         text run at (679,0) width 58: "class one"
                     RenderText {#text} at (739,0) size 5x17
                       text run at (739,0) width 5: ","
    -                RenderInline {SPAN} at (0,0) size 64x23 [border: (3px solid #800080)]
    +                RenderInline {SPAN} at (0,15) size 64x23 [border: (3px solid #800080)]
                       RenderText {#text} at (3,18) size 58x17
                         text run at (3,18) width 58: "class two"
                     RenderText {#text} at (64,18) size 35x17
                       text run at (64,18) width 35: ", and "
    -                RenderInline {SPAN} at (0,0) size 71x23 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
    +                RenderInline {SPAN} at (99,15) size 71x23 [border: (3px solid #800080) (3px solid #008000) (3px solid #0000FF) (3px solid #FFFF00)]
                       RenderText {#text} at (102,18) size 65x17
                         text run at (102,18) width 65: "class three"
    -                RenderText {#text} at (170,18) size 756x53
    +                RenderText {#text} at (0,18) size 756x53
                       text run at (170,18) width 8: ". "
                       text run at (178,18) width 572: "The effect for each inline element should be to have a purple medium-width solid border in"
                       text run at (0,36) width 620: "the first and second cases, and a purple-green-blue-yellow medium-width solid border in the third. "
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_inline-expected.txt
    index 253bdbeb46cd..a7ceb82b614a 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_inline-expected.txt
    @@ -16,43 +16,43 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 677x17
               text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
    -        RenderInline {SPAN} at (0,0) size 78x37 [border: (10px outset #008080)]
    +        RenderInline {SPAN} at (676,-10) size 78x37 [border: (10px outset #008080)]
               RenderText {#text} at (686,0) size 58x17
                 text run at (686,0) width 58: "class one"
    -        RenderText {#text} at (753,0) size 758x35
    +        RenderText {#text} at (0,0) size 758x35
               text run at (753,0) width 5: ","
               text run at (0,18) width 353: "which should result in a 10-pixel outset teal border; and "
    -        RenderInline {SPAN} at (0,0) size 78x37 [border: (10px inset #808000)]
    +        RenderInline {SPAN} at (353,8) size 78x37 [border: (10px inset #808000)]
               RenderText {#text} at (363,18) size 58x17
                 text run at (363,18) width 58: "class two"
    -        RenderText {#text} at (431,18) size 762x35
    +        RenderText {#text} at (0,18) size 762x35
               text run at (431,18) width 331: ", which should result in a 10-pixel inset olive border."
               text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
           RenderTable {TABLE} at (0,180) size 784x90 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 677x17
                       text run at (0,0) width 677: "This is an unstyled element, save for the background color, and containing inline elements with a classes of "
    -                RenderInline {SPAN} at (0,0) size 78x37 [border: (10px outset #008080)]
    +                RenderInline {SPAN} at (676,-10) size 78x37 [border: (10px outset #008080)]
                       RenderText {#text} at (686,0) size 58x17
                         text run at (686,0) width 58: "class one"
    -                RenderText {#text} at (753,0) size 758x35
    +                RenderText {#text} at (0,0) size 758x35
                       text run at (753,0) width 5: ","
                       text run at (0,18) width 353: "which should result in a 10-pixel outset teal border; and "
    -                RenderInline {SPAN} at (0,0) size 78x37 [border: (10px inset #808000)]
    +                RenderInline {SPAN} at (353,8) size 78x37 [border: (10px inset #808000)]
                       RenderText {#text} at (363,18) size 58x17
                         text run at (363,18) width 58: "class two"
    -                RenderText {#text} at (431,18) size 762x35
    +                RenderText {#text} at (0,18) size 762x35
                       text run at (431,18) width 331: ", which should result in a 10-pixel inset olive border."
                       text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_left-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_left-expected.txt
    index a45d043221f7..468d2a42b058 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_left-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_left-expected.txt
    @@ -43,7 +43,7 @@ layer at (0,0) size 785x1028
                     text run at (3,20) width 175: "second half of the test page."
               RenderTableRow {TR} at (0,50) size 767x50
                 RenderTableCell {TD} at (5,64) size 194x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (3,2) size 53x17
    +              RenderText {#text} at (3,16) size 53x17
                     text run at (3,2) width 53: "Cell one"
                 RenderTableCell {TD} at (203,50) size 560x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (3,2) size 554x18
    @@ -89,12 +89,12 @@ layer at (0,0) size 785x1028
             RenderTableSection {TBODY} at (1,1) size 767x437
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (5,4) size 161x17
                     RenderText {#text} at (5,4) size 161x17
                       text run at (5,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x411
                 RenderTableCell {TD} at (0,218) size 13x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (5,3) size 4x19
    +              RenderText {#text} at (5,196) size 4x18
                     text run at (5,4) width 4: " "
                 RenderTableCell {TD} at (13,26) size 754x411 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (25,4) size 725x36
    @@ -118,7 +118,7 @@ layer at (0,0) size 785x1028
                             text run at (3,20) width 198: "the second half of the test page."
                       RenderTableRow {TR} at (0,50) size 743x50
                         RenderTableCell {TD} at (5,64) size 188x22 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=0 rs=1 cs=1]
    -                      RenderText {#text} at (3,2) size 53x17
    +                      RenderText {#text} at (3,16) size 53x17
                             text run at (3,2) width 53: "Cell one"
                         RenderTableCell {TD} at (197,50) size 542x50 [border: (1px inset #808080) (2px solid #008000)] [r=1 c=1 rs=1 cs=1]
                           RenderBlock (anonymous) at (3,2) size 536x18
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_left_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_left_inline-expected.txt
    index ec63d60f7381..3888764da6cb 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_left_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_left_inline-expected.txt
    @@ -18,15 +18,15 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (20,125) size 764x54 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 760x17
               text run at (0,0) width 760: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with classes of"
    -        RenderInline {SPAN} at (0,0) size 67x17 [border: none (10px double #800080)]
    +        RenderInline {SPAN} at (0,18) size 67x17 [border: none (10px double #800080)]
               RenderText {#text} at (10,18) size 57x17
                 text run at (10,18) width 57: "class one"
             RenderText {#text} at (67,18) size 389x17
               text run at (67,18) width 389: ", which should have a 10-pixel purple double left border; and "
    -        RenderInline {SPAN} at (0,0) size 59x17 [border: none (1px solid #800080)]
    +        RenderInline {SPAN} at (456,18) size 59x17 [border: none (1px solid #800080)]
               RenderText {#text} at (457,18) size 58x17
                 text run at (457,18) width 58: "class two"
    -        RenderText {#text} at (515,18) size 759x35
    +        RenderText {#text} at (0,18) size 759x35
               text run at (515,18) width 244: ", which should have a thin solid purple"
               text run at (0,36) width 73: "left border. "
               text run at (72,36) width 430: "The line-height of the parent element should not change on any line."
    @@ -34,27 +34,27 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (24,4) size 742x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 696x35
                       text run at (0,0) width 696: "This paragraph has a background color of silver and a 20-pixel left margin, and it contains inline elements with"
                       text run at (0,18) width 64: "classes of "
    -                RenderInline {SPAN} at (0,0) size 67x17 [border: none (10px double #800080)]
    +                RenderInline {SPAN} at (64,18) size 67x17 [border: none (10px double #800080)]
                       RenderText {#text} at (74,18) size 57x17
                         text run at (74,18) width 57: "class one"
                     RenderText {#text} at (131,18) size 389x17
                       text run at (131,18) width 389: ", which should have a 10-pixel purple double left border; and "
    -                RenderInline {SPAN} at (0,0) size 59x17 [border: none (1px solid #800080)]
    +                RenderInline {SPAN} at (520,18) size 59x17 [border: none (1px solid #800080)]
                       RenderText {#text} at (521,18) size 58x17
                         text run at (521,18) width 58: "class two"
    -                RenderText {#text} at (579,18) size 717x35
    +                RenderText {#text} at (0,18) size 717x35
                       text run at (579,18) width 138: ", which should have a"
                       text run at (0,36) width 179: "thin solid purple left border. "
                       text run at (178,36) width 430: "The line-height of the parent element should not change on any line."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_left_width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_left_width-expected.txt
    index 71b00d7cbe63..a09bdee521f9 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_left_width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_left_width-expected.txt
    @@ -23,7 +23,7 @@ layer at (0,0) size 785x823
           RenderBlock {P} at (0,155) size 769x18
             RenderText {#text} at (0,0) size 157x17
               text run at (0,0) width 157: "(These will only work if "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (157,3) size 96x15
               RenderText {#text} at (157,3) size 96x15
                 text run at (157,3) width 96: "border-style"
             RenderText {#text} at (253,0) size 89x17
    @@ -48,7 +48,7 @@ layer at (0,0) size 785x823
           RenderBlock {P} at (0,419) size 769x18
             RenderText {#text} at (0,0) size 513x17
               text run at (0,0) width 513: "This element should have no border and no extra \"padding\" on its left side, as no "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (513,3) size 96x15
               RenderText {#text} at (513,3) size 96x15
                 text run at (513,3) width 96: "border-style"
             RenderText {#text} at (609,0) size 54x17
    @@ -57,18 +57,18 @@ layer at (0,0) size 785x823
             RenderTableSection {TBODY} at (1,1) size 767x352
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x326
                 RenderTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,154) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x326 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
                     RenderText {#text} at (0,0) size 157x17
                       text run at (0,0) width 157: "(These will only work if "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (157,3) size 96x15
                       RenderText {#text} at (157,3) size 96x15
                         text run at (157,3) width 96: "border-style"
                     RenderText {#text} at (253,0) size 89x17
    @@ -95,7 +95,7 @@ layer at (0,0) size 785x823
                   RenderBlock {P} at (4,304) size 747x18
                     RenderText {#text} at (0,0) size 513x17
                       text run at (0,0) width 513: "This element should have no border and no extra \"padding\" on its left side, as no "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (513,3) size 96x15
                       RenderText {#text} at (513,3) size 96x15
                         text run at (513,3) width 96: "border-style"
                     RenderText {#text} at (609,0) size 54x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_left_width_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_left_width_inline-expected.txt
    index 179c4b0219da..1c9492f4bed9 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_left_width_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_left_width_inline-expected.txt
    @@ -17,81 +17,81 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000)]
             RenderText {#text} at (25,3) size 172x17
               text run at (25,3) width 172: "This element has a class of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (197,6) size 24x15
               RenderText {#text} at (197,6) size 24x15
                 text run at (197,6) width 24: "one"
             RenderText {#text} at (221,3) size 162x17
               text run at (221,3) width 8: ". "
               text run at (229,3) width 154: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 172x23 [border: (3px solid #000000) (1px solid #000000)]
    +        RenderInline {SPAN} at (382,0) size 172x23 [border: (3px solid #000000) (1px solid #000000)]
               RenderText {#text} at (383,3) size 144x17
                 text run at (383,3) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (526,6) size 25x15
                 RenderText {#text} at (526,6) size 25x15
                   text run at (526,6) width 25: "two"
    -        RenderText {#text} at (553,3) size 749x35
    +        RenderText {#text} at (25,3) size 749x35
               text run at (553,3) width 221: ", which should result in a thin solid"
               text run at (25,21) width 181: "border on the left side of the "
    -        RenderInline {STRONG} at (0,0) size 27x17
    +        RenderInline {STRONG} at (206,21) size 27x17
               RenderText {#text} at (206,21) size 27x17
                 text run at (206,21) width 27: "first"
    -        RenderText {#text} at (233,21) size 750x35
    +        RenderText {#text} at (25,21) size 750x35
               text run at (233,21) width 505: " box in the inline element (and the UA's default border on the other three sides). "
               text run at (738,21) width 37: "There"
               text run at (25,39) width 62: "is also an "
    -        RenderInline {SPAN} at (0,0) size 183x17
    +        RenderInline {SPAN} at (87,39) size 183x17
               RenderText {#text} at (87,39) size 143x17
                 text run at (87,39) width 143: "inline element of class "
    -          RenderInline {TT} at (0,0) size 40x15
    +          RenderInline {TT} at (230,42) size 40x15
                 RenderText {#text} at (230,42) size 40x15
                   text run at (230,42) width 40: "three"
    -        RenderText {#text} at (270,39) size 727x35
    +        RenderText {#text} at (25,39) size 727x35
               text run at (270,39) width 482: ", which should have no left border width or visible border because no border"
               text run at (25,57) width 83: "style was set."
           RenderTable {TABLE} at (0,204) size 784x114 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x112
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x86
                 RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,34) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000)]
                     RenderText {#text} at (25,3) size 172x17
                       text run at (25,3) width 172: "This element has a class of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (197,6) size 24x15
                       RenderText {#text} at (197,6) size 24x15
                         text run at (197,6) width 24: "one"
                     RenderText {#text} at (221,3) size 162x17
                       text run at (221,3) width 8: ". "
                       text run at (229,3) width 154: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 172x23 [border: (3px solid #000000) (1px solid #000000)]
    +                RenderInline {SPAN} at (382,0) size 172x23 [border: (3px solid #000000) (1px solid #000000)]
                       RenderText {#text} at (383,3) size 144x17
                         text run at (383,3) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (526,6) size 25x15
                         RenderText {#text} at (526,6) size 25x15
                           text run at (526,6) width 25: "two"
    -                RenderText {#text} at (553,3) size 715x35
    +                RenderText {#text} at (25,3) size 715x35
                       text run at (553,3) width 187: ", which should result in a thin"
                       text run at (25,21) width 215: "solid border on the left side of the "
    -                RenderInline {STRONG} at (0,0) size 27x17
    +                RenderInline {STRONG} at (240,21) size 27x17
                       RenderText {#text} at (240,21) size 27x17
                         text run at (240,21) width 27: "first"
    -                RenderText {#text} at (267,21) size 699x35
    +                RenderText {#text} at (25,21) size 699x35
                       text run at (267,21) width 457: " box in the inline element (and the UA's default border on the other three"
                       text run at (25,39) width 44: "sides). "
                       text run at (69,39) width 103: "There is also an "
    -                RenderInline {SPAN} at (0,0) size 183x17
    +                RenderInline {SPAN} at (172,39) size 183x17
                       RenderText {#text} at (172,39) size 143x17
                         text run at (172,39) width 143: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 40x15
    +                  RenderInline {TT} at (315,42) size 40x15
                         RenderText {#text} at (315,42) size 40x15
                           text run at (315,42) width 40: "three"
    -                RenderText {#text} at (355,39) size 693x35
    +                RenderText {#text} at (25,39) size 693x35
                       text run at (355,39) width 363: ", which should have no left border width or visible border"
                       text run at (25,57) width 202: "because no border style was set."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_right-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_right-expected.txt
    index eb7df7f43cf0..9b4a50a67fb0 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_right-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_right-expected.txt
    @@ -19,15 +19,15 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 752x35
               text run at (0,0) width 752: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with classes"
               text run at (0,18) width 17: "of "
    -        RenderInline {SPAN} at (0,0) size 67x17 [border: none (10px double #800080) none]
    +        RenderInline {SPAN} at (17,18) size 67x17 [border: none (10px double #800080) none]
               RenderText {#text} at (17,18) size 57x17
                 text run at (17,18) width 57: "class one"
             RenderText {#text} at (84,18) size 398x17
               text run at (84,18) width 398: ", which should have a 10-pixel purple double right border; and "
    -        RenderInline {SPAN} at (0,0) size 59x17 [border: none (1px solid #800080) none]
    +        RenderInline {SPAN} at (482,18) size 59x17 [border: none (1px solid #800080) none]
               RenderText {#text} at (482,18) size 58x17
                 text run at (482,18) width 58: "class two"
    -        RenderText {#text} at (541,18) size 741x35
    +        RenderText {#text} at (0,18) size 741x35
               text run at (541,18) width 200: ", which should have a thin solid"
               text run at (0,36) width 126: "purple right border. "
               text run at (125,36) width 430: "The line-height of the parent element should not change on any line."
    @@ -35,27 +35,27 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 742x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 705x35
                       text run at (0,0) width 705: "This paragraph has a background color of silver and a 20-pixel right margin, and it contains inline elements with"
                       text run at (0,18) width 64: "classes of "
    -                RenderInline {SPAN} at (0,0) size 67x17 [border: none (10px double #800080) none]
    +                RenderInline {SPAN} at (64,18) size 67x17 [border: none (10px double #800080) none]
                       RenderText {#text} at (64,18) size 57x17
                         text run at (64,18) width 57: "class one"
                     RenderText {#text} at (131,18) size 398x17
                       text run at (131,18) width 398: ", which should have a 10-pixel purple double right border; and "
    -                RenderInline {SPAN} at (0,0) size 59x17 [border: none (1px solid #800080) none]
    +                RenderInline {SPAN} at (529,18) size 59x17 [border: none (1px solid #800080) none]
                       RenderText {#text} at (529,18) size 58x17
                         text run at (529,18) width 58: "class two"
    -                RenderText {#text} at (588,18) size 726x35
    +                RenderText {#text} at (0,18) size 726x35
                       text run at (588,18) width 138: ", which should have a"
                       text run at (0,36) width 188: "thin solid purple right border. "
                       text run at (187,36) width 430: "The line-height of the parent element should not change on any line."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_right_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_right_inline-expected.txt
    index 358245054427..d7f9a5f4a2ba 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_right_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_right_inline-expected.txt
    @@ -43,7 +43,7 @@ layer at (0,0) size 785x1082
                     text run at (2,20) width 175: "second half of the test page."
               RenderTableRow {TR} at (0,50) size 767x50
                 RenderTableCell {TD} at (5,64) size 194x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (2,2) size 53x17
    +              RenderText {#text} at (2,16) size 53x17
                     text run at (2,2) width 53: "Cell one"
                 RenderTableCell {TD} at (203,50) size 560x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (2,2) size 554x18
    @@ -90,12 +90,12 @@ layer at (0,0) size 785x1082
             RenderTableSection {TBODY} at (1,1) size 767x473
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x447
                 RenderTableCell {TD} at (0,236) size 13x27 [bgcolor=#C0C0C0] [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,214) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (13,26) size 754x447 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 725x36
    @@ -119,7 +119,7 @@ layer at (0,0) size 785x1082
                             text run at (2,20) width 198: "the second half of the test page."
                       RenderTableRow {TR} at (0,50) size 743x50
                         RenderTableCell {TD} at (5,64) size 188x22 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -                      RenderText {#text} at (2,2) size 53x17
    +                      RenderText {#text} at (2,16) size 53x17
                             text run at (2,2) width 53: "Cell one"
                         RenderTableCell {TD} at (197,50) size 542x50 [border: (1px inset #808080) (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                           RenderBlock (anonymous) at (2,2) size 536x18
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_right_width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_right_width-expected.txt
    index 82f025c9b6fb..e41e6d11c45b 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_right_width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_right_width-expected.txt
    @@ -23,7 +23,7 @@ layer at (0,0) size 785x841
           RenderBlock {P} at (0,155) size 769x18
             RenderText {#text} at (0,0) size 157x17
               text run at (0,0) width 157: "(These will only work if "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (157,3) size 96x15
               RenderText {#text} at (157,3) size 96x15
                 text run at (157,3) width 96: "border-style"
             RenderText {#text} at (253,0) size 89x17
    @@ -49,7 +49,7 @@ layer at (0,0) size 785x841
           RenderBlock {P} at (0,437) size 769x18
             RenderText {#text} at (0,0) size 522x17
               text run at (0,0) width 522: "This element should have no border and no extra \"padding\" on its right side, as no "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (522,3) size 96x15
               RenderText {#text} at (522,3) size 96x15
                 text run at (522,3) width 96: "border-style"
             RenderText {#text} at (618,0) size 54x17
    @@ -58,18 +58,18 @@ layer at (0,0) size 785x841
             RenderTableSection {TBODY} at (1,1) size 767x352
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x326
                 RenderTableCell {TD} at (0,176) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,154) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x326 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
                     RenderText {#text} at (0,0) size 157x17
                       text run at (0,0) width 157: "(These will only work if "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (157,3) size 96x15
                       RenderText {#text} at (157,3) size 96x15
                         text run at (157,3) width 96: "border-style"
                     RenderText {#text} at (253,0) size 89x17
    @@ -96,7 +96,7 @@ layer at (0,0) size 785x841
                   RenderBlock {P} at (4,304) size 747x18
                     RenderText {#text} at (0,0) size 522x17
                       text run at (0,0) width 522: "This element should have no border and no extra \"padding\" on its right side, as no "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (522,3) size 96x15
                       RenderText {#text} at (522,3) size 96x15
                         text run at (522,3) width 96: "border-style"
                     RenderText {#text} at (618,0) size 54x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_right_width_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_right_width_inline-expected.txt
    index 9dd18e8ef682..728476dccfbe 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_right_width_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_right_width_inline-expected.txt
    @@ -17,81 +17,81 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
             RenderText {#text} at (3,3) size 172x17
               text run at (3,3) width 172: "This element has a class of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (175,6) size 24x15
               RenderText {#text} at (175,6) size 24x15
                 text run at (175,6) width 24: "one"
             RenderText {#text} at (199,3) size 162x17
               text run at (199,3) width 8: ". "
               text run at (207,3) width 154: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 172x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (360,0) size 172x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (363,3) size 144x17
                 text run at (363,3) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (506,6) size 25x15
                 RenderText {#text} at (506,6) size 25x15
                   text run at (506,6) width 25: "two"
    -        RenderText {#text} at (531,3) size 749x35
    +        RenderText {#text} at (3,3) size 749x35
               text run at (531,3) width 221: ", which should result in a thin solid"
               text run at (3,21) width 190: "border on the right side of the "
    -        RenderInline {STRONG} at (0,0) size 23x17
    +        RenderInline {STRONG} at (193,21) size 23x17
               RenderText {#text} at (193,21) size 23x17
                 text run at (193,21) width 23: "last"
    -        RenderText {#text} at (216,21) size 756x35
    +        RenderText {#text} at (3,21) size 756x35
               text run at (216,21) width 506: " box of the inline element (and the UA's default border on the other three sides). "
               text run at (722,21) width 37: "There"
               text run at (3,39) width 62: "is also an "
    -        RenderInline {SPAN} at (0,0) size 183x17
    +        RenderInline {SPAN} at (65,39) size 183x17
               RenderText {#text} at (65,39) size 143x17
                 text run at (65,39) width 143: "inline element of class "
    -          RenderInline {TT} at (0,0) size 40x15
    +          RenderInline {TT} at (208,42) size 40x15
                 RenderText {#text} at (208,42) size 40x15
                   text run at (208,42) width 40: "three"
    -        RenderText {#text} at (248,39) size 736x35
    +        RenderText {#text} at (3,39) size 736x35
               text run at (248,39) width 491: ", which should have no right border width or visible border because no border"
               text run at (3,57) width 83: "style was set."
           RenderTable {TABLE} at (0,204) size 784x114 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x112
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x86
                 RenderTableCell {TD} at (0,56) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,34) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x86 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x78 [border: (3px solid #000000) (25px solid #000000) (3px solid #000000)]
                     RenderText {#text} at (3,3) size 172x17
                       text run at (3,3) width 172: "This element has a class of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (175,6) size 24x15
                       RenderText {#text} at (175,6) size 24x15
                         text run at (175,6) width 24: "one"
                     RenderText {#text} at (199,3) size 162x17
                       text run at (199,3) width 8: ". "
                       text run at (207,3) width 154: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 172x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +                RenderInline {SPAN} at (360,0) size 172x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
                       RenderText {#text} at (363,3) size 144x17
                         text run at (363,3) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (506,6) size 25x15
                         RenderText {#text} at (506,6) size 25x15
                           text run at (506,6) width 25: "two"
    -                RenderText {#text} at (531,3) size 715x35
    +                RenderText {#text} at (3,3) size 715x35
                       text run at (531,3) width 187: ", which should result in a thin"
                       text run at (3,21) width 224: "solid border on the right side of the "
    -                RenderInline {STRONG} at (0,0) size 23x17
    +                RenderInline {STRONG} at (227,21) size 23x17
                       RenderText {#text} at (227,21) size 23x17
                         text run at (227,21) width 23: "last"
    -                RenderText {#text} at (250,21) size 705x35
    +                RenderText {#text} at (3,21) size 705x35
                       text run at (250,21) width 458: " box of the inline element (and the UA's default border on the other three"
                       text run at (3,39) width 44: "sides). "
                       text run at (47,39) width 103: "There is also an "
    -                RenderInline {SPAN} at (0,0) size 183x17
    +                RenderInline {SPAN} at (150,39) size 183x17
                       RenderText {#text} at (150,39) size 143x17
                         text run at (150,39) width 143: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 40x15
    +                  RenderInline {TT} at (293,42) size 40x15
                         RenderText {#text} at (293,42) size 40x15
                           text run at (293,42) width 40: "three"
    -                RenderText {#text} at (333,39) size 702x35
    +                RenderText {#text} at (3,39) size 702x35
                       text run at (333,39) width 372: ", which should have no right border width or visible border"
                       text run at (3,57) width 202: "because no border style was set."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_style-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_style-expected.txt
    index cb747526ab60..20b53b87cf6a 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_style-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_style-expected.txt
    @@ -73,12 +73,12 @@ layer at (0,0) size 785x1301
             RenderTableSection {TBODY} at (1,1) size 767x528
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x502
                 RenderTableCell {TD} at (0,264) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,242) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x502 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x28 [border: (5px dotted #000000)]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_style_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_style_inline-expected.txt
    index 1caa8d5b28d6..589cded56171 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_style_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_style_inline-expected.txt
    @@ -17,21 +17,21 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 664x17
               text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
    -        RenderInline {SPAN} at (0,0) size 68x27 [border: (5px dashed #000000)]
    +        RenderInline {SPAN} at (663,-5) size 68x27 [border: (5px dashed #000000)]
               RenderText {#text} at (668,0) size 58x17
                 text run at (668,0) width 58: "class one"
    -        RenderText {#text} at (730,0) size 778x35
    +        RenderText {#text} at (0,0) size 778x35
               text run at (730,0) width 48: ", which"
               text run at (0,18) width 263: "will result in a dashed thick black border; "
    -        RenderInline {SPAN} at (0,0) size 68x27 [border: (5px groove #FF0000)]
    +        RenderInline {SPAN} at (263,13) size 68x27 [border: (5px groove #FF0000)]
               RenderText {#text} at (268,18) size 58x17
                 text run at (268,18) width 58: "class two"
             RenderText {#text} at (331,18) size 373x17
               text run at (331,18) width 373: ", which should result in a grooved thick purple border, and "
    -        RenderInline {SPAN} at (0,0) size 66x17
    +        RenderInline {SPAN} at (703,18) size 66x17
               RenderText {#text} at (703,18) size 66x17
                 text run at (703,18) width 66: "class three"
    -        RenderText {#text} at (768,18) size 773x35
    +        RenderText {#text} at (0,18) size 773x35
               text run at (768,18) width 5: ","
               text run at (0,36) width 246: "which should result in no border at all. "
               text run at (246,36) width 433: "The line-height of the parent element should not change, on any line."
    @@ -39,29 +39,29 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 664x17
                       text run at (0,0) width 664: "This is an unstyled element, save for the background color, and it contains inline elements with classes of "
    -                RenderInline {SPAN} at (0,0) size 68x27 [border: (5px dashed #000000)]
    +                RenderInline {SPAN} at (663,-5) size 68x27 [border: (5px dashed #000000)]
                       RenderText {#text} at (668,0) size 58x17
                         text run at (668,0) width 58: "class one"
    -                RenderText {#text} at (730,0) size 735x35
    +                RenderText {#text} at (0,0) size 735x35
                       text run at (730,0) width 5: ","
                       text run at (0,18) width 306: "which will result in a dashed thick black border; "
    -                RenderInline {SPAN} at (0,0) size 68x27 [border: (5px groove #FF0000)]
    +                RenderInline {SPAN} at (306,13) size 68x27 [border: (5px groove #FF0000)]
                       RenderText {#text} at (311,18) size 58x17
                         text run at (311,18) width 58: "class two"
                     RenderText {#text} at (374,18) size 369x17
                       text run at (374,18) width 369: ", which should result in a grooved thick purple border, and"
    -                RenderInline {SPAN} at (0,0) size 65x17
    +                RenderInline {SPAN} at (0,36) size 65x17
                       RenderText {#text} at (0,36) size 65x17
                         text run at (0,36) width 65: "class three"
                     RenderText {#text} at (65,36) size 687x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_top-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_top-expected.txt
    index 45ea7b79b2f2..bd8c27405a03 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_top-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_top-expected.txt
    @@ -37,7 +37,7 @@ layer at (0,0) size 785x959
                     text run at (2,21) width 175: "second half of the test page."
               RenderTableRow {TR} at (0,51) size 767x52
                 RenderTableCell {TD} at (5,65) size 194x24 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (2,2) size 53x19
    +              RenderText {#text} at (2,17) size 53x18
                     text run at (2,3) width 53: "Cell one"
                 RenderTableCell {TD} at (203,51) size 560x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (2,3) size 555x18
    @@ -80,12 +80,12 @@ layer at (0,0) size 785x959
             RenderTableSection {TBODY} at (1,1) size 767x426
               RenderTableRow {TR} at (0,0) size 767x27
                 RenderTableCell {TD} at (0,0) size 767x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,5) size 161x17
                     RenderText {#text} at (4,5) size 161x17
                       text run at (4,5) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,27) size 767x399
                 RenderTableCell {TD} at (0,213) size 12x27 [bgcolor=#C0C0C0] [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,5) size 4x17
    +              RenderText {#text} at (4,191) size 4x17
                     text run at (4,5) width 4: " "
                 RenderTableCell {TD} at (12,27) size 755x399 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,5) size 747x36
    @@ -109,7 +109,7 @@ layer at (0,0) size 785x959
                             text run at (2,21) width 198: "the second half of the test page."
                       RenderTableRow {TR} at (0,51) size 745x52
                         RenderTableCell {TD} at (5,65) size 188x24 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -                      RenderText {#text} at (2,2) size 53x19
    +                      RenderText {#text} at (2,17) size 53x18
                             text run at (2,3) width 53: "Cell one"
                         RenderTableCell {TD} at (197,51) size 544x52 [border: (2px solid #008000) (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                           RenderBlock (anonymous) at (2,3) size 539x18
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_top_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_top_inline-expected.txt
    index d0ca1944c0de..3e0516413d8c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_top_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_top_inline-expected.txt
    @@ -16,16 +16,16 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x54 [bgcolor=#C0C0C0]
             RenderText {#text} at (0,0) size 666x17
               text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
    -        RenderInline {SPAN} at (0,0) size 58x27 [border: (10px double #800080) none]
    +        RenderInline {SPAN} at (665,-10) size 58x27 [border: (10px double #800080) none]
               RenderText {#text} at (665,0) size 58x17
                 text run at (665,0) width 58: "class one"
    -        RenderText {#text} at (722,0) size 770x35
    +        RenderText {#text} at (0,0) size 770x35
               text run at (722,0) width 48: ", which"
               text run at (0,18) width 338: "should have a 10-pixel purple double top border; and "
    -        RenderInline {SPAN} at (0,0) size 58x18 [border: (1px solid #800080) none]
    +        RenderInline {SPAN} at (338,17) size 58x18 [border: (1px solid #800080) none]
               RenderText {#text} at (338,18) size 58x17
                 text run at (338,18) width 58: "class two"
    -        RenderText {#text} at (396,18) size 774x35
    +        RenderText {#text} at (0,18) size 774x35
               text run at (396,18) width 321: ", which should have a thin solid purple top border. "
               text run at (716,18) width 58: "The line-"
               text run at (0,36) width 372: "height of the parent element should not change on any line."
    @@ -33,27 +33,27 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x88
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#C0C0C0]
                     RenderText {#text} at (0,0) size 666x17
                       text run at (0,0) width 666: "This is an unstyled element, save for the background color, and containing inline elements with classes of "
    -                RenderInline {SPAN} at (0,0) size 58x27 [border: (10px double #800080) none]
    +                RenderInline {SPAN} at (665,-10) size 58x27 [border: (10px double #800080) none]
                       RenderText {#text} at (665,0) size 58x17
                         text run at (665,0) width 58: "class one"
    -                RenderText {#text} at (722,0) size 727x35
    +                RenderText {#text} at (0,0) size 727x35
                       text run at (722,0) width 5: ","
                       text run at (0,18) width 381: "which should have a 10-pixel purple double top border; and "
    -                RenderInline {SPAN} at (0,0) size 58x18 [border: (1px solid #800080) none]
    +                RenderInline {SPAN} at (381,17) size 58x18 [border: (1px solid #800080) none]
                       RenderText {#text} at (381,18) size 58x17
                         text run at (381,18) width 58: "class two"
    -                RenderText {#text} at (439,18) size 756x35
    +                RenderText {#text} at (0,18) size 756x35
                       text run at (439,18) width 317: ", which should have a thin solid purple top border."
                       text run at (0,36) width 429: "The line-height of the parent element should not change on any line."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_top_width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_top_width-expected.txt
    index 1c7158415fdf..0cae7f371943 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_top_width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_top_width-expected.txt
    @@ -23,7 +23,7 @@ layer at (0,0) size 785x759
           RenderBlock {P} at (0,155) size 769x18
             RenderText {#text} at (0,0) size 157x17
               text run at (0,0) width 157: "(These will only work if "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (157,3) size 96x15
               RenderText {#text} at (157,3) size 96x15
                 text run at (157,3) width 96: "border-style"
             RenderText {#text} at (253,0) size 89x17
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x759
           RenderBlock {P} at (0,405) size 769x18
             RenderText {#text} at (0,0) size 527x17
               text run at (0,0) width 527: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (527,3) size 96x15
               RenderText {#text} at (527,3) size 96x15
                 text run at (527,3) width 96: "border-style"
             RenderText {#text} at (623,0) size 54x17
    @@ -55,18 +55,18 @@ layer at (0,0) size 785x759
             RenderTableSection {TBODY} at (1,1) size 697x302
               RenderTableRow {TR} at (0,0) size 697x26
                 RenderTableCell {TD} at (0,0) size 697x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 697x276
                 RenderTableCell {TD} at (0,151) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,129) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 685x276 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 677x18
                     RenderText {#text} at (0,0) size 157x17
                       text run at (0,0) width 157: "(These will only work if "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (157,3) size 96x15
                       RenderText {#text} at (157,3) size 96x15
                         text run at (157,3) width 96: "border-style"
                     RenderText {#text} at (253,0) size 89x17
    @@ -89,7 +89,7 @@ layer at (0,0) size 785x759
                   RenderBlock {P} at (4,254) size 677x18
                     RenderText {#text} at (0,0) size 527x17
                       text run at (0,0) width 527: "This paragraph should have no border and no extra \"padding\" on its top side, as no "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (527,3) size 96x15
                       RenderText {#text} at (527,3) size 96x15
                         text run at (527,3) width 96: "border-style"
                     RenderText {#text} at (623,0) size 54x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_top_width_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_top_width_inline-expected.txt
    index fad12b7a57b3..81b238a0fa3c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_top_width_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_top_width_inline-expected.txt
    @@ -17,27 +17,27 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x82 [border: (25px solid #000000) (3px solid #000000)]
             RenderText {#text} at (3,25) size 172x17
               text run at (3,25) width 172: "This element has a class of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (175,28) size 24x15
               RenderText {#text} at (175,28) size 24x15
                 text run at (175,28) width 24: "one"
             RenderText {#text} at (199,25) size 162x17
               text run at (199,25) width 8: ". "
               text run at (207,25) width 154: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 174x21 [border: (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (360,24) size 174x21 [border: (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (363,25) size 144x17
                 text run at (363,25) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (506,28) size 25x15
                 RenderText {#text} at (506,28) size 25x15
                   text run at (506,28) width 25: "two"
    -        RenderText {#text} at (533,25) size 772x53
    +        RenderText {#text} at (3,25) size 772x53
               text run at (533,25) width 221: ", which should result in a thin solid"
               text run at (3,43) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
               text run at (695,43) width 80: "There is also"
               text run at (3,61) width 19: "an "
    -        RenderInline {SPAN} at (0,0) size 183x17
    +        RenderInline {SPAN} at (22,61) size 183x17
               RenderText {#text} at (22,61) size 143x17
                 text run at (22,61) width 143: "inline element of class "
    -          RenderInline {TT} at (0,0) size 40x15
    +          RenderInline {TT} at (165,64) size 40x15
                 RenderText {#text} at (165,64) size 40x15
                   text run at (165,64) width 40: "three"
             RenderText {#text} at (205,61) size 569x17
    @@ -46,41 +46,41 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x134
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x108
                 RenderTableCell {TD} at (0,67) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,45) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x108 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x100 [border: (25px solid #000000) (3px solid #000000)]
                     RenderText {#text} at (3,25) size 172x17
                       text run at (3,25) width 172: "This element has a class of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (175,28) size 24x15
                       RenderText {#text} at (175,28) size 24x15
                         text run at (175,28) width 24: "one"
                     RenderText {#text} at (199,25) size 162x17
                       text run at (199,25) width 8: ". "
                       text run at (207,25) width 154: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 174x21 [border: (1px solid #000000) (3px solid #000000)]
    +                RenderInline {SPAN} at (360,24) size 174x21 [border: (1px solid #000000) (3px solid #000000)]
                       RenderText {#text} at (363,25) size 144x17
                         text run at (363,25) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (506,28) size 25x15
                         RenderText {#text} at (506,28) size 25x15
                           text run at (506,28) width 25: "two"
    -                RenderText {#text} at (533,25) size 751x53
    +                RenderText {#text} at (3,25) size 751x53
                       text run at (533,25) width 221: ", which should result in a thin solid"
                       text run at (3,43) width 692: "border on the top side of each box in the inline element (and the UA's default border on the other three sides). "
                       text run at (695,43) width 51: "There is"
                       text run at (3,61) width 48: "also an "
    -                RenderInline {SPAN} at (0,0) size 183x17
    +                RenderInline {SPAN} at (51,61) size 183x17
                       RenderText {#text} at (51,61) size 143x17
                         text run at (51,61) width 143: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 40x15
    +                  RenderInline {TT} at (194,64) size 40x15
                         RenderText {#text} at (194,64) size 40x15
                           text run at (194,64) width 40: "three"
    -                RenderText {#text} at (234,61) size 746x35
    +                RenderText {#text} at (3,61) size 746x35
                       text run at (234,61) width 515: ", which should have no top border width or visible border because no border style"
                       text run at (3,79) width 50: "was set."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_width-expected.txt
    index 2e52fa82aada..dc5e562e83ed 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_width-expected.txt
    @@ -23,7 +23,7 @@ layer at (0,0) size 785x903
           RenderBlock {P} at (0,155) size 769x18
             RenderText {#text} at (0,0) size 157x17
               text run at (0,0) width 157: "(These will only work if "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (157,3) size 96x15
               RenderText {#text} at (157,3) size 96x15
                 text run at (157,3) width 96: "border-style"
             RenderText {#text} at (253,0) size 89x17
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x903
           RenderBlock {P} at (0,477) size 769x18
             RenderText {#text} at (0,0) size 498x17
               text run at (0,0) width 498: "This element should have no border and no extra \"padding\" on any side, as no "
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (498,3) size 96x15
               RenderText {#text} at (498,3) size 96x15
                 text run at (498,3) width 96: "border-style"
             RenderText {#text} at (594,0) size 54x17
    @@ -55,18 +55,18 @@ layer at (0,0) size 785x903
             RenderTableSection {TBODY} at (1,1) size 668x374
               RenderTableRow {TR} at (0,0) size 668x26
                 RenderTableCell {TD} at (0,0) size 668x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 668x348
                 RenderTableCell {TD} at (0,187) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,165) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 656x348 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 648x18
                     RenderText {#text} at (0,0) size 157x17
                       text run at (0,0) width 157: "(These will only work if "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (157,3) size 96x15
                       RenderText {#text} at (157,3) size 96x15
                         text run at (157,3) width 96: "border-style"
                     RenderText {#text} at (253,0) size 89x17
    @@ -89,7 +89,7 @@ layer at (0,0) size 785x903
                   RenderBlock {P} at (4,326) size 648x18
                     RenderText {#text} at (0,0) size 498x17
                       text run at (0,0) width 498: "This element should have no border and no extra \"padding\" on any side, as no "
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (498,3) size 96x15
                       RenderText {#text} at (498,3) size 96x15
                         text run at (498,3) width 96: "border-style"
                     RenderText {#text} at (594,0) size 54x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/border_width_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/border_width_inline-expected.txt
    index 14bf75f66121..51c4a1cd2d96 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/border_width_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/border_width_inline-expected.txt
    @@ -17,69 +17,69 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,110) size 784x104 [border: (25px solid #000000)]
             RenderText {#text} at (25,25) size 172x17
               text run at (25,25) width 172: "This element has a class of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (197,28) size 24x15
               RenderText {#text} at (197,28) size 24x15
                 text run at (197,28) width 24: "one"
             RenderText {#text} at (221,25) size 162x17
               text run at (221,25) width 8: ". "
               text run at (229,25) width 154: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 170x19 [border: (1px solid #000000)]
    +        RenderInline {SPAN} at (382,24) size 170x19 [border: (1px solid #000000)]
               RenderText {#text} at (383,25) size 144x17
                 text run at (383,25) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (526,28) size 25x15
                 RenderText {#text} at (526,28) size 25x15
                   text run at (526,28) width 25: "two"
    -        RenderText {#text} at (551,25) size 713x35
    +        RenderText {#text} at (25,25) size 713x35
               text run at (551,25) width 187: ", which should result in a thin"
               text run at (25,43) width 374: "solid border on each side of each box in the inline element. "
               text run at (399,43) width 103: "There is also an "
    -        RenderInline {SPAN} at (0,0) size 183x17
    +        RenderInline {SPAN} at (502,43) size 183x17
               RenderText {#text} at (502,43) size 143x17
                 text run at (502,43) width 143: "inline element of class "
    -          RenderInline {TT} at (0,0) size 40x15
    +          RenderInline {TT} at (645,46) size 40x15
                 RenderText {#text} at (645,46) size 40x15
                   text run at (645,46) width 40: "three"
    -        RenderText {#text} at (685,43) size 707x35
    +        RenderText {#text} at (25,43) size 707x35
               text run at (685,43) width 47: ", which"
               text run at (25,61) width 387: "should have no border width because no border style was set."
           RenderTable {TABLE} at (0,230) size 784x140 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x138
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x112
                 RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,47) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x112 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x104 [border: (25px solid #000000)]
                     RenderText {#text} at (25,25) size 172x17
                       text run at (25,25) width 172: "This element has a class of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (197,28) size 24x15
                       RenderText {#text} at (197,28) size 24x15
                         text run at (197,28) width 24: "one"
                     RenderText {#text} at (221,25) size 162x17
                       text run at (221,25) width 8: ". "
                       text run at (229,25) width 154: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 170x19 [border: (1px solid #000000)]
    +                RenderInline {SPAN} at (382,24) size 170x19 [border: (1px solid #000000)]
                       RenderText {#text} at (383,25) size 144x17
                         text run at (383,25) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (526,28) size 25x15
                         RenderText {#text} at (526,28) size 25x15
                           text run at (526,28) width 25: "two"
    -                RenderText {#text} at (551,25) size 685x35
    +                RenderText {#text} at (25,25) size 685x35
                       text run at (551,25) width 159: ", which should result in a"
                       text run at (25,43) width 402: "thin solid border on each side of each box in the inline element. "
                       text run at (427,43) width 103: "There is also an "
    -                RenderInline {SPAN} at (0,0) size 183x17
    +                RenderInline {SPAN} at (530,43) size 183x17
                       RenderText {#text} at (530,43) size 143x17
                         text run at (530,43) width 143: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 40x15
    +                  RenderInline {TT} at (673,46) size 40x15
                         RenderText {#text} at (673,46) size 40x15
                           text run at (673,46) width 40: "three"
    -                RenderText {#text} at (713,43) size 692x35
    +                RenderText {#text} at (25,43) size 692x35
                       text run at (713,43) width 4: ","
                       text run at (25,61) width 430: "which should have no border width because no border style was set."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/clear-expected.txt b/LayoutTests/platform/glib/css1/box_properties/clear-expected.txt
    index 8946e0cae0a4..3f63107f7811 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/clear-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/clear-expected.txt
    @@ -50,12 +50,12 @@ layer at (0,0) size 785x961
             RenderTableSection {TBODY} at (1,1) size 678x426
               RenderTableRow {TR} at (0,0) size 678x26
                 RenderTableCell {TD} at (0,0) size 678x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 678x400
                 RenderTableCell {TD} at (0,213) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,191) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 666x400 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderImage {IMG} at (4,4) size 15x50
    diff --git a/LayoutTests/platform/glib/css1/box_properties/clear_float-expected.txt b/LayoutTests/platform/glib/css1/box_properties/clear_float-expected.txt
    index cba6a045d0e1..5df1539add1b 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/clear_float-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/clear_float-expected.txt
    @@ -86,12 +86,12 @@ layer at (0,0) size 785x793
             RenderTableSection {TBODY} at (1,1) size 575x364
               RenderTableRow {TR} at (0,0) size 575x26
                 RenderTableCell {TD} at (0,0) size 575x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 575x338
                 RenderTableCell {TD} at (0,181) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,159) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 563x338 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (floating) {DIV} at (4,4) size 192x117 [color=#FFFFFF] [bgcolor=#008000]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/float-expected.txt b/LayoutTests/platform/glib/css1/box_properties/float-expected.txt
    index e2e3e8e71e76..deb7cba459da 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/float-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/float-expected.txt
    @@ -31,12 +31,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x172
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x146
                 RenderTableCell {TD} at (0,86) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,64) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x146 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderImage {IMG} at (4,4) size 15x50
    diff --git a/LayoutTests/platform/glib/css1/box_properties/float_elements_in_series-expected.txt b/LayoutTests/platform/glib/css1/box_properties/float_elements_in_series-expected.txt
    index 45d92bf4b35b..2b128b8effd1 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/float_elements_in_series-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/float_elements_in_series-expected.txt
    @@ -58,46 +58,46 @@ layer at (0,0) size 785x699
               RenderTableSection {TBODY} at (0,0) size 620x19
                 RenderTableRow {TR} at (0,0) size 620x19
                   RenderTableCell {TD} at (0,9) size 20x1 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (20,9) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 100x1
    +                RenderImage {IMG} at (0,9) size 100x1
                   RenderTableCell {TD} at (120,9) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
                   RenderTableCell {TD} at (140,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (160,9) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (180,9) size 100x1 [bgcolor=#0000FF] [r=0 c=5 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 100x1
    +                RenderImage {IMG} at (0,9) size 100x1
                   RenderTableCell {TD} at (280,9) size 20x1 [bgcolor=#000000] [r=0 c=6 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (300,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=7 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (320,9) size 20x1 [bgcolor=#000000] [r=0 c=8 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (340,9) size 100x1 [bgcolor=#FF0000] [r=0 c=9 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 100x1
    +                RenderImage {IMG} at (0,9) size 100x1
                   RenderTableCell {TD} at (440,0) size 20x19 [bgcolor=#000000] [r=0 c=10 rs=1 cs=1]
                     RenderImage {IMG} at (0,0) size 20x1
                     RenderText {#text} at (0,1) size 4x17
                       text run at (0,1) width 4: ";"
                   RenderTableCell {TD} at (460,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=11 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (480,9) size 20x1 [bgcolor=#000000] [r=0 c=12 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
                   RenderTableCell {TD} at (500,9) size 100x1 [bgcolor=#008000] [r=0 c=13 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 100x1
    +                RenderImage {IMG} at (0,9) size 100x1
                   RenderTableCell {TD} at (600,9) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
    -                RenderImage {IMG} at (0,0) size 20x1
    +                RenderImage {IMG} at (0,9) size 20x1
           RenderTable {TABLE} at (0,442) size 769x229 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 767x227
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x201
                 RenderTableCell {TD} at (0,113) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,91) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x201 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    @@ -126,35 +126,35 @@ layer at (0,0) size 785x699
                       RenderTableSection {TBODY} at (0,0) size 620x19
                         RenderTableRow {TR} at (0,0) size 620x19
                           RenderTableCell {TD} at (0,9) size 20x1 [bgcolor=#000000] [r=0 c=0 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (20,9) size 100x1 [bgcolor=#FFFF00] [r=0 c=1 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 100x1
    +                        RenderImage {IMG} at (0,9) size 100x1
                           RenderTableCell {TD} at (120,9) size 20x0 [bgcolor=#000000] [r=0 c=2 rs=1 cs=1]
                           RenderTableCell {TD} at (140,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=3 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (160,9) size 20x1 [bgcolor=#000000] [r=0 c=4 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (180,9) size 100x1 [bgcolor=#0000FF] [r=0 c=5 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 100x1
    +                        RenderImage {IMG} at (0,9) size 100x1
                           RenderTableCell {TD} at (280,9) size 20x1 [bgcolor=#000000] [r=0 c=6 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (300,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=7 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (320,9) size 20x1 [bgcolor=#000000] [r=0 c=8 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (340,9) size 100x1 [bgcolor=#FF0000] [r=0 c=9 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 100x1
    +                        RenderImage {IMG} at (0,9) size 100x1
                           RenderTableCell {TD} at (440,0) size 20x19 [bgcolor=#000000] [r=0 c=10 rs=1 cs=1]
                             RenderImage {IMG} at (0,0) size 20x1
                             RenderText {#text} at (0,1) size 4x17
                               text run at (0,1) width 4: ";"
                           RenderTableCell {TD} at (460,9) size 20x1 [bgcolor=#FFFFFF] [r=0 c=11 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (480,9) size 20x1 [bgcolor=#000000] [r=0 c=12 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
                           RenderTableCell {TD} at (500,9) size 100x1 [bgcolor=#008000] [r=0 c=13 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 100x1
    +                        RenderImage {IMG} at (0,9) size 100x1
                           RenderTableCell {TD} at (600,9) size 20x1 [bgcolor=#000000] [r=0 c=14 rs=1 cs=1]
    -                        RenderImage {IMG} at (0,0) size 20x1
    +                        RenderImage {IMG} at (0,9) size 20x1
     layer at (8,247) size 769x2 clip at (0,0) size 0x0
       RenderBlock {HR} at (0,239) size 769x2 [color=#808080] [border: (1px inset #808080)]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/float_margin-expected.txt b/LayoutTests/platform/glib/css1/box_properties/float_margin-expected.txt
    index ea55e0dc0569..397c026b1889 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/float_margin-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/float_margin-expected.txt
    @@ -35,7 +35,7 @@ layer at (0,0) size 785x1902
               text run at (0,69) width 240: "it must be taken into account."
           RenderBlock {P} at (30,316) size 729x115 [bgcolor=#FFFFFF]
             RenderImage {IMG} at (0,0) size 60x60
    -        RenderText {#text} at (60,0) size 719x114
    +        RenderText {#text} at (0,0) size 719x114
               text run at (60,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
               text run at (60,23) width 119: "nothing more. "
               text run at (179,23) width 540: "The edges of the white background should line up with the top and"
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x1902
               text run at (0,92) width 182: "paragraph whatsoever."
           RenderBlock {P} at (30,451) size 729x115 [bgcolor=#FFFFFF]
             RenderImage {IMG} at (30,30) size 60x60
    -        RenderText {#text} at (90,0) size 717x114
    +        RenderText {#text} at (0,0) size 717x114
               text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
               text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
               text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
    @@ -56,7 +56,7 @@ layer at (0,0) size 785x1902
               text run at (40,92) width 436: "There is no padding set on this paragraph whatsoever."
           RenderBlock {P} at (30,586) size 729x115 [bgcolor=#FFFFFF]
             RenderImage {IMG} at (-30,-30) size 60x60
    -        RenderText {#text} at (30,0) size 721x114
    +        RenderText {#text} at (0,0) size 721x114
               text run at (30,0) width 676: "The image in the upper left corner of this paragraph should be pushed up and to the"
               text run at (30,23) width 691: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing the"
               text run at (0,46) width 633: "edges of the white background to align with the thick gray lines in the image. "
    @@ -66,7 +66,7 @@ layer at (0,0) size 785x1902
               text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
           RenderBlock {P} at (30,721) size 729x138 [bgcolor=#FFFFFF]
             RenderImage {IMG} at (0,0) size 60x60
    -        RenderText {#text} at (90,0) size 728x137
    +        RenderText {#text} at (0,0) size 728x137
               text run at (90,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
               text run at (90,23) width 618: "the edges of the white background should line up with the top and left edges"
               text run at (90,46) width 112: "of the image. "
    @@ -78,7 +78,7 @@ layer at (0,0) size 785x1902
               text run at (122,115) width 436: "There is no padding set on this paragraph whatsoever."
           RenderBlock {P} at (30,879) size 729x138 [bgcolor=#FFFFFF]
             RenderImage {IMG} at (0,0) size 60x60
    -        RenderText {#text} at (30,0) size 706x137
    +        RenderText {#text} at (0,0) size 706x137
               text run at (30,0) width 668: "The image in the upper left corner of this paragraph should be floated left, and the"
               text run at (30,23) width 640: "edges of the white background should line up with the top and left edges of the"
               text run at (0,46) width 60: "image. "
    @@ -92,12 +92,12 @@ layer at (0,0) size 785x1902
             RenderTableSection {TBODY} at (1,1) size 767x847
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x821
                 RenderTableCell {TD} at (0,423) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,401) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x821 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (34,4) size 707x92 [bgcolor=#FFFFFF]
    @@ -110,7 +110,7 @@ layer at (0,0) size 785x1902
                       text run at (0,69) width 281: "rate, it must be taken into account."
                   RenderBlock {P} at (34,116) size 707x115 [bgcolor=#FFFFFF]
                     RenderImage {IMG} at (0,0) size 60x60
    -                RenderText {#text} at (60,0) size 703x114
    +                RenderText {#text} at (0,0) size 703x114
                       text run at (60,0) width 638: "The image in the upper left corner of this paragraph should be floated left, and"
                       text run at (60,23) width 119: "nothing more. "
                       text run at (179,23) width 506: "The edges of the white background should line up with the top"
    @@ -121,7 +121,7 @@ layer at (0,0) size 785x1902
                       text run at (0,92) width 217: "this paragraph whatsoever."
                   RenderBlock {P} at (34,251) size 707x115 [bgcolor=#FFFFFF]
                     RenderImage {IMG} at (30,30) size 60x60
    -                RenderText {#text} at (90,0) size 705x114
    +                RenderText {#text} at (0,0) size 705x114
                       text run at (90,0) width 615: "The image in the upper left corner of this paragraph should be pushed down"
                       text run at (90,23) width 611: "and to the right 30 pixels each from the upper left corner of the paragraph's"
                       text run at (90,46) width 403: "box, and displace the paragraph text accordingly. "
    @@ -131,7 +131,7 @@ layer at (0,0) size 785x1902
                       text run at (122,92) width 436: "There is no padding set on this paragraph whatsoever."
                   RenderBlock {P} at (34,386) size 707x115 [bgcolor=#FFFFFF]
                     RenderImage {IMG} at (-30,-30) size 60x60
    -                RenderText {#text} at (30,0) size 706x114
    +                RenderText {#text} at (0,0) size 706x114
                       text run at (30,0) width 676: "The image in the upper left corner of this paragraph should be pushed up and to the"
                       text run at (30,23) width 661: "left 30 pixels each from the upper left corner of the paragraph's box, thus causing"
                       text run at (0,46) width 663: "the edges of the white background to align with the thick gray lines in the image. "
    @@ -141,7 +141,7 @@ layer at (0,0) size 785x1902
                       text run at (152,92) width 436: "There is no padding set on this paragraph whatsoever."
                   RenderBlock {P} at (34,521) size 707x138 [bgcolor=#FFFFFF]
                     RenderImage {IMG} at (0,0) size 60x60
    -                RenderText {#text} at (90,0) size 694x137
    +                RenderText {#text} at (0,0) size 694x137
                       text run at (90,0) width 604: "The image in the upper left corner of this paragraph should be floated left,"
                       text run at (90,23) width 601: "and the edges of the white background should line up with the top and left"
                       text run at (90,46) width 163: "edges of the image. "
    @@ -152,7 +152,7 @@ layer at (0,0) size 785x1902
                       text run at (225,115) width 436: "There is no padding set on this paragraph whatsoever."
                   RenderBlock {P} at (34,679) size 707x138 [bgcolor=#FFFFFF]
                     RenderImage {IMG} at (0,0) size 60x60
    -                RenderText {#text} at (30,0) size 706x137
    +                RenderText {#text} at (0,0) size 706x137
                       text run at (30,0) width 668: "The image in the upper left corner of this paragraph should be floated left, and the"
                       text run at (30,23) width 640: "edges of the white background should line up with the top and left edges of the"
                       text run at (0,46) width 60: "image. "
    diff --git a/LayoutTests/platform/glib/css1/box_properties/float_on_text_elements-expected.txt b/LayoutTests/platform/glib/css1/box_properties/float_on_text_elements-expected.txt
    index 8e7bf4b416df..ed5f2654c0d8 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/float_on_text_elements-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/float_on_text_elements-expected.txt
    @@ -8,7 +8,7 @@ layer at (0,0) size 785x2706
               text run at (0,0) width 385: "This paragraph is of class \"one\". It has a width of 50% and"
               text run at (0,18) width 124: "is floated to the left."
           RenderBlock {P} at (0,0) size 769x90
    -        RenderText {#text} at (384,0) size 769x89
    +        RenderText {#text} at (0,0) size 769x89
               text run at (384,0) width 385: "This paragraph should start on the right side of a yellow box"
               text run at (384,18) width 385: "which contains the previous paragraph. Since the text of this"
               text run at (0,36) width 769: "element is much longer than the text in the previous element, the text will wrap around the yellow box. There is no"
    @@ -161,12 +161,12 @@ layer at (0,0) size 785x2706
             RenderTableSection {TBODY} at (1,1) size 767x1379
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1353
                 RenderTableCell {TD} at (0,689) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,667) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1353 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (floating) {P} at (4,4) size 374x36 [bgcolor=#FFFF00]
    @@ -174,7 +174,7 @@ layer at (0,0) size 785x2706
                       text run at (0,0) width 374: "This paragraph is of class \"one\". It has a width of 50% and"
                       text run at (0,18) width 124: "is floated to the left."
                   RenderBlock {P} at (4,4) size 747x90
    -                RenderText {#text} at (373,0) size 747x89
    +                RenderText {#text} at (0,0) size 747x89
                       text run at (373,0) width 374: "This paragraph should start on the right side of a yellow"
                       text run at (373,18) width 374: "box which contains the previous paragraph. Since the text"
                       text run at (0,36) width 747: "of this element is much longer than the text in the previous element, the text will wrap around the yellow box. There is"
    @@ -220,7 +220,7 @@ layer at (0,0) size 785x2706
                     RenderBlock (floating) {SPAN} at (0,0) size 48x37 [bgcolor=#C0C0C0]
                       RenderText {#text} at (0,0) size 21x36
                         text run at (0,0) width 21: "T"
    -                RenderText {#text} at (48,0) size 747x71
    +                RenderText {#text} at (0,0) size 747x71
                       text run at (48,0) width 699: "he first letter (a \"T\") of this paragraph should float left and be twice the font-size of the rest of the paragraph, as"
                       text run at (48,18) width 513: "well as bold, with a content width of 1.5em and a background-color of silver. "
                       text run at (560,18) width 187: "The top of the big letter \"T\""
    diff --git a/LayoutTests/platform/glib/css1/box_properties/height-expected.txt b/LayoutTests/platform/glib/css1/box_properties/height-expected.txt
    index d9a94191644d..52bf7ec32953 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/height-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/height-expected.txt
    @@ -32,7 +32,7 @@ layer at (0,0) size 785x974
             RenderText {#text} at (0,0) size 750x35
               text run at (0,0) width 750: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size has"
               text run at (0,18) width 150: "been doubled using the "
    -        RenderInline {CODE} at (0,0) size 48x15
    +        RenderInline {CODE} at (150,21) size 48x15
               RenderText {#text} at (150,21) size 48x15
                 text run at (150,21) width 48: "height"
             RenderText {#text} at (198,18) size 66x17
    @@ -41,12 +41,12 @@ layer at (0,0) size 785x974
             RenderTableSection {TBODY} at (1,1) size 767x436
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x410
                 RenderTableCell {TD} at (0,218) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,196) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x410 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (4,4) size 747x50
    @@ -68,7 +68,7 @@ layer at (0,0) size 785x974
                     RenderText {#text} at (0,0) size 725x35
                       text run at (0,0) width 725: "The rectangular image above should be 100 pixels tall and 30 pixels wide (the original image is 50x15, and the size"
                       text run at (0,18) width 175: "has been doubled using the "
    -                RenderInline {CODE} at (0,0) size 48x15
    +                RenderInline {CODE} at (175,21) size 48x15
                       RenderText {#text} at (175,21) size 48x15
                         text run at (175,21) width 48: "height"
                     RenderText {#text} at (223,18) size 66x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin-expected.txt
    index 9de2297b0731..64880aa9747c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin-expected.txt
    @@ -90,12 +90,12 @@ layer at (0,0) size 785x2630
             RenderTableSection {TBODY} at (1,1) size 767x1242
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1216
                 RenderTableCell {TD} at (0,620) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,598) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1216 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_bottom-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_bottom-expected.txt
    index d3254aa7500f..b3bd9314be18 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_bottom-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_bottom-expected.txt
    @@ -84,12 +84,12 @@ layer at (0,0) size 785x1729
             RenderTableSection {TBODY} at (1,1) size 767x774
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x748
                 RenderTableCell {TD} at (0,386) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,364) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x748 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_bottom_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_bottom_inline-expected.txt
    index e3dbdc125db0..5b802f6aad12 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_bottom_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_bottom_inline-expected.txt
    @@ -19,13 +19,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 760x35 [bgcolor=#00FFFF]
               RenderText {#text} at (479,0) size 144x17
                 text run at (479,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (622,3) size 25x15
                 RenderText {#text} at (622,3) size 25x15
                   text run at (622,3) width 25: "one"
    -          RenderText {#text} at (646,0) size 760x35
    +          RenderText {#text} at (0,0) size 760x35
                 text run at (646,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 245: "background and a 25px bottom margin"
    -        RenderText {#text} at (244,18) size 784x35
    +        RenderText {#text} at (0,18) size 784x35
               text run at (244,18) width 9: ". "
               text run at (252,18) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
               text run at (0,36) width 263: "element should have the same line-height."
    @@ -36,13 +36,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 760x35 [bgcolor=#00FFFF]
               RenderText {#text} at (479,0) size 144x17
                 text run at (479,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (622,3) size 25x15
                 RenderText {#text} at (622,3) size 25x15
                   text run at (622,3) width 25: "two"
    -          RenderText {#text} at (646,0) size 760x35
    +          RenderText {#text} at (0,0) size 760x35
                 text run at (646,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 250: "background and a -10px bottom margin"
    -        RenderText {#text} at (249,18) size 763x35
    +        RenderText {#text} at (0,18) size 763x35
               text run at (249,18) width 9: ". "
               text run at (257,18) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
               text run at (0,36) width 289: "this element should have the same line-height."
    @@ -50,12 +50,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x158
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x132
                 RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,57) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#808080]
    @@ -65,13 +65,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 760x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (479,0) size 144x17
                         text run at (479,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (622,3) size 25x15
                         RenderText {#text} at (622,3) size 25x15
                           text run at (622,3) width 25: "one"
    -                  RenderText {#text} at (646,0) size 760x35
    +                  RenderText {#text} at (0,0) size 760x35
                         text run at (646,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 245: "background and a 25px bottom margin"
    -                RenderText {#text} at (244,18) size 758x35
    +                RenderText {#text} at (0,18) size 758x35
                       text run at (244,18) width 9: ". "
                       text run at (252,18) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
                       text run at (0,36) width 289: "this element should have the same line-height."
    @@ -82,13 +82,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 760x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (479,0) size 144x17
                         text run at (479,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (622,3) size 25x15
                         RenderText {#text} at (622,3) size 25x15
                           text run at (622,3) width 25: "two"
    -                  RenderText {#text} at (646,0) size 760x35
    +                  RenderText {#text} at (0,0) size 760x35
                         text run at (646,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 250: "background and a -10px bottom margin"
    -                RenderText {#text} at (249,18) size 747x35
    +                RenderText {#text} at (0,18) size 747x35
                       text run at (249,18) width 9: ". "
                       text run at (257,18) width 490: "Margins on inline elements does not affect line-height calculations, so all lines"
                       text run at (0,36) width 305: "in this element should have the same line-height."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_inline-expected.txt
    index 033741edde6b..b97a5008f56c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_inline-expected.txt
    @@ -24,13 +24,13 @@ layer at (0,0) size 785x714
             RenderInline {SPAN} at (0,0) size 751x35 [bgcolor=#00FFFF]
               RenderText {#text} at (504,0) size 144x17
                 text run at (504,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (647,3) size 25x15
                 RenderText {#text} at (647,3) size 25x15
                   text run at (647,3) width 25: "one"
    -          RenderText {#text} at (671,0) size 751x35
    +          RenderText {#text} at (0,0) size 751x35
                 text run at (671,0) width 80: ", giving it an"
                 text run at (0,18) width 231: "aqua background and a 25px margin"
    -        RenderText {#text} at (255,18) size 769x53
    +        RenderText {#text} at (0,18) size 769x53
               text run at (255,18) width 9: ". "
               text run at (263,18) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
               text run at (0,36) width 293: "this element should have the same line-height. "
    @@ -46,13 +46,13 @@ layer at (0,0) size 785x714
             RenderInline {SPAN} at (0,0) size 750x35 [bgcolor=#00FFFF]
               RenderText {#text} at (469,0) size 144x17
                 text run at (469,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (612,3) size 25x15
                 RenderText {#text} at (612,3) size 25x15
                   text run at (612,3) width 25: "two"
    -          RenderText {#text} at (636,0) size 750x35
    +          RenderText {#text} at (0,0) size 750x35
                 text run at (636,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 202: "background and a -10px margin"
    -        RenderText {#text} at (191,18) size 768x53
    +        RenderText {#text} at (0,18) size 768x53
               text run at (191,18) width 9: ". "
               text run at (199,18) width 532: "Margins on inline elements does not affect line-height calculations, so all lines in this"
               text run at (0,36) width 267: "element should have the same line-height. "
    @@ -65,12 +65,12 @@ layer at (0,0) size 785x714
             RenderTableSection {TBODY} at (1,1) size 767x332
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 768x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x306
                 RenderTableCell {TD} at (0,166) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,144) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 756x306 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    @@ -83,13 +83,13 @@ layer at (0,0) size 785x714
                     RenderInline {SPAN} at (0,0) size 732x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (504,0) size 144x17
                         text run at (504,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (647,3) size 25x15
                         RenderText {#text} at (647,3) size 25x15
                           text run at (647,3) width 25: "one"
    -                  RenderText {#text} at (671,0) size 732x35
    +                  RenderText {#text} at (0,0) size 732x35
                         text run at (671,0) width 61: ", giving it"
                         text run at (0,18) width 250: "an aqua background and a 25px margin"
    -                RenderText {#text} at (274,18) size 742x71
    +                RenderText {#text} at (0,18) size 742x71
                       text run at (274,18) width 9: ". "
                       text run at (282,18) width 457: "Margins on inline elements does not affect line-height calculations, so all"
                       text run at (0,36) width 342: "lines in this element should have the same line-height. "
    @@ -106,13 +106,13 @@ layer at (0,0) size 785x714
                     RenderInline {SPAN} at (0,0) size 716x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (469,0) size 144x17
                         text run at (469,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (612,3) size 25x15
                         RenderText {#text} at (612,3) size 25x15
                           text run at (612,3) width 25: "two"
    -                  RenderText {#text} at (636,0) size 716x35
    +                  RenderText {#text} at (0,0) size 716x35
                         text run at (636,0) width 80: ", giving it an"
                         text run at (0,18) width 236: "aqua background and a -10px margin"
    -                RenderText {#text} at (225,18) size 739x71
    +                RenderText {#text} at (0,18) size 739x71
                       text run at (225,18) width 9: ". "
                       text run at (233,18) width 506: "Margins on inline elements does not affect line-height calculations, so all lines in"
                       text run at (0,36) width 293: "this element should have the same line-height. "
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_left-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_left-expected.txt
    index 54d0fa92d67c..bd9470eaf94c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_left-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_left-expected.txt
    @@ -66,12 +66,12 @@ layer at (0,0) size 785x1005
             RenderTableSection {TBODY} at (1,1) size 767x434
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x408
                 RenderTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,195) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_left_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_left_inline-expected.txt
    index 871fb22e0b6a..d4f66c54b536 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_left_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_left_inline-expected.txt
    @@ -16,16 +16,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (566,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (566,0) size 144x17
                 text run at (566,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (709,3) size 25x15
                 RenderText {#text} at (709,3) size 25x15
                   text run at (709,3) width 25: "one"
    -        RenderText {#text} at (733,0) size 781x35
    +        RenderText {#text} at (0,0) size 781x35
               text run at (733,0) width 48: ", which"
               text run at (0,18) width 299: "should result in 25-pixel left margin only in the "
    -        RenderInline {STRONG} at (0,0) size 28x17
    +        RenderInline {STRONG} at (298,18) size 28x17
               RenderText {#text} at (298,18) size 28x17
                 text run at (298,18) width 28: "first"
             RenderText {#text} at (325,18) size 233x17
    @@ -34,16 +34,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (531,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (531,0) size 144x17
                 text run at (531,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (674,3) size 25x15
                 RenderText {#text} at (674,3) size 25x15
                   text run at (674,3) width 25: "two"
    -        RenderText {#text} at (698,0) size 746x35
    +        RenderText {#text} at (0,0) size 746x35
               text run at (698,0) width 48: ", which"
               text run at (0,18) width 284: "should result in -10px left margin only in the "
    -        RenderInline {STRONG} at (0,0) size 28x17
    +        RenderInline {STRONG} at (283,18) size 28x17
               RenderText {#text} at (283,18) size 28x17
                 text run at (283,18) width 28: "first"
             RenderText {#text} at (310,18) size 233x17
    @@ -52,28 +52,28 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x122
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x96
                 RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,39) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x36 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (566,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (566,0) size 144x17
                         text run at (566,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (709,3) size 25x15
                         RenderText {#text} at (709,3) size 25x15
                           text run at (709,3) width 25: "one"
    -                RenderText {#text} at (733,0) size 738x35
    +                RenderText {#text} at (0,0) size 738x35
                       text run at (733,0) width 5: ","
                       text run at (0,18) width 342: "which should result in 25-pixel left margin only in the "
    -                RenderInline {STRONG} at (0,0) size 28x17
    +                RenderInline {STRONG} at (341,18) size 28x17
                       RenderText {#text} at (341,18) size 28x17
                         text run at (341,18) width 28: "first"
                     RenderText {#text} at (368,18) size 233x17
    @@ -82,16 +82,16 @@ layer at (0,0) size 800x600
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (531,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (531,0) size 144x17
                         text run at (531,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (674,3) size 25x15
                         RenderText {#text} at (674,3) size 25x15
                           text run at (674,3) width 25: "two"
    -                RenderText {#text} at (698,0) size 746x35
    +                RenderText {#text} at (0,0) size 746x35
                       text run at (698,0) width 48: ", which"
                       text run at (0,18) width 284: "should result in -10px left margin only in the "
    -                RenderInline {STRONG} at (0,0) size 28x17
    +                RenderInline {STRONG} at (283,18) size 28x17
                       RenderText {#text} at (283,18) size 28x17
                         text run at (283,18) width 28: "first"
                     RenderText {#text} at (310,18) size 233x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_right-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_right-expected.txt
    index 94d7e830a936..5838b1c6efbf 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_right-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_right-expected.txt
    @@ -43,7 +43,7 @@ layer at (0,0) size 785x1005
                 text run at (5,0) width 699: "The right margin on this unordered list has been set to 25 pixels, and the background color has been set to gray."
             RenderListItem {LI} at (40,18) size 679x54 [bgcolor=#FFFFFF]
               RenderListMarker at (-17,0) size 7x17: bullet
    -          RenderText {#text} at (23,0) size 677x53
    +          RenderText {#text} at (2,0) size 677x53
                 text run at (23,0) width 656: "Another list item might not be such a bad idea, either, considering that such things do need to be double-"
                 text run at (2,18) width 61: "checked. "
                 text run at (62,18) width 617: "This list item has its right margin also set to 25 pixels, which should combine with the list's margin"
    @@ -66,12 +66,12 @@ layer at (0,0) size 785x1005
             RenderTableSection {TBODY} at (1,1) size 767x434
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x408
                 RenderTableCell {TD} at (0,217) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,195) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x408 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_right_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_right_inline-expected.txt
    index 1fbe6e4a1c42..55b520f3a8de 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_right_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_right_inline-expected.txt
    @@ -16,16 +16,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (541,0) size 144x17
                 text run at (541,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (684,3) size 25x15
                 RenderText {#text} at (684,3) size 25x15
                   text run at (684,3) width 25: "one"
    -        RenderText {#text} at (733,0) size 781x35
    +        RenderText {#text} at (0,0) size 781x35
               text run at (733,0) width 48: ", which"
               text run at (0,18) width 308: "should result in 25-pixel right margin only in the "
    -        RenderInline {STRONG} at (0,0) size 24x17
    +        RenderInline {STRONG} at (307,18) size 24x17
               RenderText {#text} at (307,18) size 24x17
                 text run at (307,18) width 24: "last"
             RenderText {#text} at (330,18) size 233x17
    @@ -34,16 +34,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (541,0) size 144x17
                 text run at (541,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (684,3) size 25x15
                 RenderText {#text} at (684,3) size 25x15
                   text run at (684,3) width 25: "two"
    -        RenderText {#text} at (698,0) size 746x35
    +        RenderText {#text} at (0,0) size 746x35
               text run at (698,0) width 48: ", which"
               text run at (0,18) width 293: "should result in -10px right margin only in the "
    -        RenderInline {STRONG} at (0,0) size 24x17
    +        RenderInline {STRONG} at (292,18) size 24x17
               RenderText {#text} at (292,18) size 24x17
                 text run at (292,18) width 24: "last"
             RenderText {#text} at (315,18) size 233x17
    @@ -52,28 +52,28 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x122
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x96
                 RenderTableCell {TD} at (0,61) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,39) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x96 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x36 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (541,0) size 144x17
                         text run at (541,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (684,3) size 25x15
                         RenderText {#text} at (684,3) size 25x15
                           text run at (684,3) width 25: "one"
    -                RenderText {#text} at (733,0) size 738x35
    +                RenderText {#text} at (0,0) size 738x35
                       text run at (733,0) width 5: ","
                       text run at (0,18) width 351: "which should result in 25-pixel right margin only in the "
    -                RenderInline {STRONG} at (0,0) size 24x17
    +                RenderInline {STRONG} at (350,18) size 24x17
                       RenderText {#text} at (350,18) size 24x17
                         text run at (350,18) width 24: "last"
                     RenderText {#text} at (373,18) size 233x17
    @@ -82,16 +82,16 @@ layer at (0,0) size 800x600
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (541,0) size 144x17
                         text run at (541,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (684,3) size 25x15
                         RenderText {#text} at (684,3) size 25x15
                           text run at (684,3) width 25: "two"
    -                RenderText {#text} at (698,0) size 746x35
    +                RenderText {#text} at (0,0) size 746x35
                       text run at (698,0) width 48: ", which"
                       text run at (0,18) width 293: "should result in -10px right margin only in the "
    -                RenderInline {STRONG} at (0,0) size 24x17
    +                RenderInline {STRONG} at (292,18) size 24x17
                       RenderText {#text} at (292,18) size 24x17
                         text run at (292,18) width 24: "last"
                     RenderText {#text} at (315,18) size 233x17
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_top-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_top-expected.txt
    index 2627f56ad76b..be3a5a716a71 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_top-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_top-expected.txt
    @@ -77,12 +77,12 @@ layer at (0,0) size 785x1639
             RenderTableSection {TBODY} at (1,1) size 767x738
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x712
                 RenderTableCell {TD} at (0,368) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,346) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x712 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/margin_top_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/margin_top_inline-expected.txt
    index 0de7caef9a7b..3adf91cd8d37 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/margin_top_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/margin_top_inline-expected.txt
    @@ -22,13 +22,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "one"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 221: "background and a 25px top margin"
    -        RenderText {#text} at (220,18) size 747x35
    +        RenderText {#text} at (0,18) size 747x35
               text run at (220,18) width 9: ". "
               text run at (228,18) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
               text run at (0,36) width 263: "element should have the same line-height."
    @@ -39,13 +39,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 753x35 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "two"
    -          RenderText {#text} at (642,0) size 753x35
    +          RenderText {#text} at (0,0) size 753x35
                 text run at (642,0) width 111: ", giving the inline"
                 text run at (0,18) width 332: "element an aqua background and a -10px top margin"
    -        RenderText {#text} at (331,18) size 783x35
    +        RenderText {#text} at (0,18) size 783x35
               text run at (331,18) width 9: ". "
               text run at (339,18) width 444: "Margins on inline elements do not affect line-height calculations, so all"
               text run at (0,36) width 338: "lines in this element should have the same line-height."
    @@ -53,12 +53,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x158
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x132
                 RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,57) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#808080]
    @@ -68,13 +68,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "one"
    -                  RenderText {#text} at (642,0) size 756x35
    +                  RenderText {#text} at (0,0) size 756x35
                         text run at (642,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 221: "background and a 25px top margin"
    -                RenderText {#text} at (220,18) size 747x35
    +                RenderText {#text} at (0,18) size 747x35
                       text run at (220,18) width 9: ". "
                       text run at (228,18) width 519: "Margins on inline elements do not affect line-height calculations, so all lines in this"
                       text run at (0,36) width 263: "element should have the same line-height."
    @@ -85,13 +85,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 753x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "two"
    -                  RenderText {#text} at (642,0) size 753x35
    +                  RenderText {#text} at (0,0) size 753x35
                         text run at (642,0) width 111: ", giving the inline"
                         text run at (0,18) width 332: "element an aqua background and a -10px top margin"
    -                RenderText {#text} at (331,18) size 746x35
    +                RenderText {#text} at (0,18) size 746x35
                       text run at (331,18) width 9: ". "
                       text run at (339,18) width 407: "Margins on inline elements do not affect line-height calculations,"
                       text run at (0,36) width 375: "so all lines in this element should have the same line-height."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding-expected.txt
    index 04abf2626b3d..ce6070a332e1 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding-expected.txt
    @@ -52,12 +52,12 @@ layer at (0,0) size 785x2221
             RenderTableSection {TBODY} at (1,1) size 767x1028
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1002
                 RenderTableCell {TD} at (0,513) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,491) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1002 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_bottom-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_bottom-expected.txt
    index 5f7f060edd06..4355c85b928d 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_bottom-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_bottom-expected.txt
    @@ -55,12 +55,12 @@ layer at (0,0) size 785x1550
             RenderTableSection {TBODY} at (1,1) size 767x704
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x678
                 RenderTableCell {TD} at (0,351) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,329) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x678 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_bottom_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_bottom_inline-expected.txt
    index 5e466598adb6..222204c77035 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_bottom_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_bottom_inline-expected.txt
    @@ -20,13 +20,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 756x60 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "one"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 252: "background and a 25px bottom padding"
    -        RenderText {#text} at (252,18) size 781x53
    +        RenderText {#text} at (0,18) size 781x53
               text run at (252,18) width 8: ". "
               text run at (260,18) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
               text run at (0,36) width 293: "this element should have the same line-height. "
    @@ -39,13 +39,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "two"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 522: "background and no bottom padding, since negative padding values are not allowed"
    -        RenderText {#text} at (522,18) size 757x35
    +        RenderText {#text} at (0,18) size 757x35
               text run at (522,18) width 8: ". "
               text run at (530,18) width 227: "Padding on inline elements does not"
               text run at (0,36) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
    @@ -53,12 +53,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x176
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x150
                 RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,66) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x72 [bgcolor=#808080]
    @@ -68,13 +68,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 756x60 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "one"
    -                  RenderText {#text} at (642,0) size 756x35
    +                  RenderText {#text} at (0,0) size 756x35
                         text run at (642,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 252: "background and a 25px bottom padding"
    -                RenderText {#text} at (252,18) size 749x53
    +                RenderText {#text} at (0,18) size 749x53
                       text run at (252,18) width 8: ". "
                       text run at (260,18) width 489: "Padding on inline elements does not affect line-height calculations, so all lines"
                       text run at (0,36) width 309: "in this element should have the same line-height. "
    @@ -87,13 +87,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "two"
    -                  RenderText {#text} at (642,0) size 756x35
    +                  RenderText {#text} at (0,0) size 756x35
                         text run at (642,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 522: "background and no bottom padding, since negative padding values are not allowed"
    -                RenderText {#text} at (522,18) size 757x35
    +                RenderText {#text} at (0,18) size 757x35
                       text run at (522,18) width 8: ". "
                       text run at (530,18) width 227: "Padding on inline elements does not"
                       text run at (0,36) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_inline-expected.txt
    index 4679b693f44b..5a0556613dfb 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_inline-expected.txt
    @@ -22,16 +22,16 @@ layer at (0,0) size 785x753
             RenderText {#text} at (0,0) size 476x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 89: "It contains an "
    -        RenderInline {SPAN} at (0,0) size 747x85 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (0,-25) size 747x85 [bgcolor=#00FFFF]
               RenderText {#text} at (500,0) size 144x17
                 text run at (500,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (643,3) size 25x15
                 RenderText {#text} at (643,3) size 25x15
                   text run at (643,3) width 25: "one"
    -          RenderText {#text} at (667,0) size 747x35
    +          RenderText {#text} at (0,0) size 747x35
                 text run at (667,0) width 80: ", giving it an"
                 text run at (0,18) width 238: "aqua background and a 25px padding"
    -        RenderText {#text} at (263,18) size 765x89
    +        RenderText {#text} at (0,18) size 765x89
               text run at (263,18) width 8: ". "
               text run at (271,18) width 489: "Padding on inline elements does not affect line-height calculations, so all lines"
               text run at (0,36) width 309: "in this element should have the same line-height. "
    @@ -50,13 +50,13 @@ layer at (0,0) size 785x753
             RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "two"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 474: "background and no padding, since negative padding values are not allowed"
    -        RenderText {#text} at (474,18) size 748x35
    +        RenderText {#text} at (0,18) size 748x35
               text run at (474,18) width 8: ". "
               text run at (482,18) width 266: "Padding on inline elements does not affect"
               text run at (0,36) width 528: "line-height calculations, so all lines in this element should have the same line-height."
    @@ -67,12 +67,12 @@ layer at (0,0) size 785x753
             RenderTableSection {TBODY} at (1,1) size 767x314
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x288
                 RenderTableCell {TD} at (0,157) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,135) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x288 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    @@ -82,16 +82,16 @@ layer at (0,0) size 785x753
                     RenderText {#text} at (0,0) size 476x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 89: "It contains an "
    -                RenderInline {SPAN} at (0,0) size 747x85 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (0,-25) size 747x85 [bgcolor=#00FFFF]
                       RenderText {#text} at (500,0) size 144x17
                         text run at (500,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (643,3) size 25x15
                         RenderText {#text} at (643,3) size 25x15
                           text run at (643,3) width 25: "one"
    -                  RenderText {#text} at (667,0) size 747x35
    +                  RenderText {#text} at (0,0) size 747x35
                         text run at (667,0) width 80: ", giving it an"
                         text run at (0,18) width 238: "aqua background and a 25px padding"
    -                RenderText {#text} at (263,18) size 729x89
    +                RenderText {#text} at (0,18) size 729x89
                       text run at (263,18) width 8: ". "
                       text run at (271,18) width 456: "Padding on inline elements does not affect line-height calculations, so all"
                       text run at (0,36) width 342: "lines in this element should have the same line-height. "
    @@ -110,13 +110,13 @@ layer at (0,0) size 785x753
                     RenderInline {SPAN} at (0,0) size 722x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "two"
    -                  RenderText {#text} at (642,0) size 722x35
    +                  RenderText {#text} at (0,0) size 722x35
                         text run at (642,0) width 80: ", giving it an"
                         text run at (0,18) width 508: "aqua background and no padding, since negative padding values are not allowed"
    -                RenderText {#text} at (508,18) size 743x35
    +                RenderText {#text} at (0,18) size 743x35
                       text run at (508,18) width 8: ". "
                       text run at (516,18) width 227: "Padding on inline elements does not"
                       text run at (0,36) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_left-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_left-expected.txt
    index ad37d74f019b..a629206b9128 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_left-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_left-expected.txt
    @@ -64,12 +64,12 @@ layer at (0,0) size 785x991
             RenderTableSection {TBODY} at (1,1) size 767x418
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x392
                 RenderTableCell {TD} at (0,209) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,187) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x392 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_left_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_left_inline-expected.txt
    index c63d30e733ba..62e818017bca 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_left_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_left_inline-expected.txt
    @@ -17,35 +17,35 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 193x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 193x17 [bgcolor=#00FFFF]
               RenderText {#text} at (566,0) size 144x17
                 text run at (566,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (709,3) size 25x15
                 RenderText {#text} at (709,3) size 25x15
                   text run at (709,3) width 25: "one"
    -        RenderText {#text} at (733,0) size 777x35
    +        RenderText {#text} at (0,0) size 777x35
               text run at (733,0) width 44: " which"
               text run at (0,18) width 527: "should result in 25-pixel left padding (which should also be a light blue) only in the "
    -        RenderInline {STRONG} at (0,0) size 27x17
    +        RenderInline {STRONG} at (527,18) size 27x17
               RenderText {#text} at (527,18) size 27x17
                 text run at (527,18) width 27: "first"
    -        RenderText {#text} at (554,18) size 730x35
    +        RenderText {#text} at (0,18) size 730x35
               text run at (554,18) width 176: " line in which the inline box"
               text run at (0,36) width 52: "appears."
           RenderBlock {P} at (0,180) size 784x36 [bgcolor=#808080]
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (541,0) size 144x17
                 text run at (541,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (684,3) size 25x15
                 RenderText {#text} at (684,3) size 25x15
                   text run at (684,3) width 25: "two"
    -        RenderText {#text} at (708,0) size 752x35
    +        RenderText {#text} at (0,0) size 752x35
               text run at (708,0) width 44: " which"
               text run at (0,18) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
    -        RenderInline {STRONG} at (0,0) size 27x17
    +        RenderInline {STRONG} at (512,18) size 27x17
               RenderText {#text} at (512,18) size 27x17
                 text run at (512,18) width 27: "first"
             RenderText {#text} at (539,18) size 232x17
    @@ -54,49 +54,49 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x158
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x132
                 RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,57) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 193x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 193x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (566,0) size 144x17
                         text run at (566,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (709,3) size 25x15
                         RenderText {#text} at (709,3) size 25x15
                           text run at (709,3) width 25: "one"
                     RenderText {#text} at (0,18) size 570x17
                       text run at (0,18) width 570: "which should result in 25-pixel left padding (which should also be a light blue) only in the "
    -                RenderInline {STRONG} at (0,0) size 27x17
    +                RenderInline {STRONG} at (570,18) size 27x17
                       RenderText {#text} at (570,18) size 27x17
                         text run at (570,18) width 27: "first"
    -                RenderText {#text} at (597,18) size 745x35
    +                RenderText {#text} at (0,18) size 745x35
                       text run at (597,18) width 148: " line in which the inline"
                       text run at (0,36) width 80: "box appears."
                   RenderBlock {P} at (4,74) size 762x54 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (541,0) size 144x17
                         text run at (541,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (684,3) size 25x15
                         RenderText {#text} at (684,3) size 25x15
                           text run at (684,3) width 25: "two"
    -                RenderText {#text} at (708,0) size 752x35
    +                RenderText {#text} at (0,0) size 752x35
                       text run at (708,0) width 44: " which"
                       text run at (0,18) width 512: "should result in -10px left padding (which should also be a light blue) only in the "
    -                RenderInline {STRONG} at (0,0) size 27x17
    +                RenderInline {STRONG} at (512,18) size 27x17
                       RenderText {#text} at (512,18) size 27x17
                         text run at (512,18) width 27: "first"
    -                RenderText {#text} at (539,18) size 715x35
    +                RenderText {#text} at (0,18) size 715x35
                       text run at (539,18) width 176: " line in which the inline box"
                       text run at (0,36) width 52: "appears."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_right-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_right-expected.txt
    index 664be841e415..f10360925ae6 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_right-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_right-expected.txt
    @@ -24,7 +24,7 @@ layer at (0,0) size 785x1153
             RenderText {#text} at (0,0) size 203x17
               text run at (0,0) width 203: "This element has a class of zero."
           RenderBlock {P} at (0,189) size 769x54 [bgcolor=#00FFFF]
    -        RenderText {#text} at (25,0) size 712x53
    +        RenderText {#text} at (9,0) size 712x53
               text run at (25,0) width 642: "This element should have a right padding of half an inch, which will require extra text in order to test. "
               text run at (667,0) width 54: "Both the"
               text run at (9,18) width 410: "content background and the padding should be aqua (light blue). "
    @@ -38,14 +38,14 @@ layer at (0,0) size 785x1153
               text run at (386,18) width 358: "The text has been right-aligned in order to make the right"
               text run at (609,36) width 135: "padding easier to see."
           RenderBlock {P} at (0,329) size 769x54 [bgcolor=#00FFFF]
    -        RenderText {#text} at (36,0) size 674x53
    +        RenderText {#text} at (15,0) size 674x53
               text run at (36,0) width 599: "This element should have a right padding of 5 em, which will require extra text in order to test. "
               text run at (635,0) width 54: "Both the"
               text run at (15,18) width 410: "content background and the padding should be aqua (light blue). "
               text run at (425,18) width 264: "The text has been right-aligned in order to"
               text run at (460,36) width 229: "make the right padding easier to see."
           RenderBlock {P} at (0,399) size 769x54 [bgcolor=#00FFFF]
    -        RenderText {#text} at (19,0) size 575x53
    +        RenderText {#text} at (2,0) size 575x53
               text run at (19,0) width 558: "This element should have a right padding of 25%, which is calculated with respect to the"
               text run at (9,18) width 181: "width of the parent element. "
               text run at (189,18) width 388: "Both the content background and the padding should be aqua"
    @@ -73,12 +73,12 @@ layer at (0,0) size 785x1153
             RenderTableSection {TBODY} at (1,1) size 767x508
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x482
                 RenderTableCell {TD} at (0,254) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,232) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x482 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    @@ -92,14 +92,14 @@ layer at (0,0) size 785x1153
                       text run at (435,18) width 264: "The text has been right-aligned in order to"
                       text run at (470,36) width 229: "make the right padding easier to see."
                   RenderBlock {P} at (4,108) size 747x54 [bgcolor=#00FFFF]
    -                RenderText {#text} at (43,0) size 712x53
    +                RenderText {#text} at (10,0) size 712x53
                       text run at (43,0) width 625: "This element should have a right padding of 25 pixels, which will require extra text in order to test. "
                       text run at (668,0) width 54: "Both the"
                       text run at (10,18) width 410: "content background and the padding should be aqua (light blue). "
                       text run at (420,18) width 302: "The text has been right-aligned in order to make"
                       text run at (531,36) width 191: "the right padding easier to see."
                   RenderBlock {P} at (4,178) size 747x54 [bgcolor=#00FFFF]
    -                RenderText {#text} at (14,0) size 658x53
    +                RenderText {#text} at (9,0) size 658x53
                       text run at (14,0) width 599: "This element should have a right padding of 5 em, which will require extra text in order to test. "
                       text run at (613,0) width 54: "Both the"
                       text run at (9,18) width 410: "content background and the padding should be aqua (light blue). "
    @@ -125,7 +125,7 @@ layer at (0,0) size 785x1153
                         text run at (23,0) width 634: "This list item has a right padding of 25 pixels, which will appear to the left of the gray padding of the"
                         text run at (578,18) width 79: "UL element."
                   RenderBlock {P} at (4,424) size 747x54 [bgcolor=#00FFFF]
    -                RenderText {#text} at (69,0) size 733x53
    +                RenderText {#text} at (14,0) size 733x53
                       text run at (69,0) width 574: "This element should have no right padding, since negative padding values are not allowed. "
                       text run at (643,0) width 104: "Both the content"
                       text run at (14,18) width 408: "background and the normal padding should be aqua (light blue). "
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_right_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_right_inline-expected.txt
    index bdfb9576db18..a698d1c98c46 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_right_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_right_inline-expected.txt
    @@ -17,16 +17,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 193x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 193x17 [bgcolor=#00FFFF]
               RenderText {#text} at (541,0) size 144x17
                 text run at (541,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (684,3) size 25x15
                 RenderText {#text} at (684,3) size 25x15
                   text run at (684,3) width 25: "one"
    -        RenderText {#text} at (733,0) size 781x35
    +        RenderText {#text} at (0,0) size 781x35
               text run at (733,0) width 48: ", which"
               text run at (0,18) width 525: "should result in 25-pixel right padding (which should also be light blue) only in the "
    -        RenderInline {STRONG} at (0,0) size 23x17
    +        RenderInline {STRONG} at (525,18) size 23x17
               RenderText {#text} at (525,18) size 23x17
                 text run at (525,18) width 23: "last"
             RenderText {#text} at (548,18) size 232x17
    @@ -35,69 +35,69 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 542x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 155: "However, it contains an "
    -        RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
               RenderText {#text} at (541,0) size 144x17
                 text run at (541,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (684,3) size 25x15
                 RenderText {#text} at (684,3) size 25x15
                   text run at (684,3) width 25: "two"
    -        RenderText {#text} at (708,0) size 756x35
    +        RenderText {#text} at (0,0) size 756x35
               text run at (708,0) width 48: ", which"
               text run at (0,18) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
    -        RenderInline {STRONG} at (0,0) size 23x17
    +        RenderInline {STRONG} at (548,18) size 23x17
               RenderText {#text} at (548,18) size 23x17
                 text run at (548,18) width 23: "last"
    -        RenderText {#text} at (571,18) size 747x35
    +        RenderText {#text} at (0,18) size 747x35
               text run at (571,18) width 176: " line in which the inline box"
               text run at (0,36) width 52: "appears."
           RenderTable {TABLE} at (0,232) size 784x160 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x158
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x132
                 RenderTableCell {TD} at (0,79) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,57) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x132 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x54 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 193x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 193x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (541,0) size 144x17
                         text run at (541,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (684,3) size 25x15
                         RenderText {#text} at (684,3) size 25x15
                           text run at (684,3) width 25: "one"
    -                RenderText {#text} at (733,0) size 738x35
    +                RenderText {#text} at (0,0) size 738x35
                       text run at (733,0) width 5: ","
                       text run at (0,18) width 568: "which should result in 25-pixel right padding (which should also be light blue) only in the "
    -                RenderInline {STRONG} at (0,0) size 23x17
    +                RenderInline {STRONG} at (568,18) size 23x17
                       RenderText {#text} at (568,18) size 23x17
                         text run at (568,18) width 23: "last"
    -                RenderText {#text} at (591,18) size 739x35
    +                RenderText {#text} at (0,18) size 739x35
                       text run at (591,18) width 148: " line in which the inline"
                       text run at (0,36) width 80: "box appears."
                   RenderBlock {P} at (4,74) size 762x54 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 542x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 155: "However, it contains an "
    -                RenderInline {SPAN} at (0,0) size 168x17 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (541,0) size 168x17 [bgcolor=#00FFFF]
                       RenderText {#text} at (541,0) size 144x17
                         text run at (541,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (684,3) size 25x15
                         RenderText {#text} at (684,3) size 25x15
                           text run at (684,3) width 25: "two"
    -                RenderText {#text} at (708,0) size 756x35
    +                RenderText {#text} at (0,0) size 756x35
                       text run at (708,0) width 48: ", which"
                       text run at (0,18) width 548: "should result in no right padding, since negative padding values are not allowed, in the "
    -                RenderInline {STRONG} at (0,0) size 23x17
    +                RenderInline {STRONG} at (548,18) size 23x17
                       RenderText {#text} at (548,18) size 23x17
                         text run at (548,18) width 23: "last"
    -                RenderText {#text} at (571,18) size 747x35
    +                RenderText {#text} at (0,18) size 747x35
                       text run at (571,18) width 176: " line in which the inline box"
                       text run at (0,36) width 52: "appears."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_top-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_top-expected.txt
    index f17fa1f5b467..77852fb7e59c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_top-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_top-expected.txt
    @@ -53,12 +53,12 @@ layer at (0,0) size 785x1464
             RenderTableSection {TBODY} at (1,1) size 767x652
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x626
                 RenderTableCell {TD} at (0,325) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,303) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x626 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
    diff --git a/LayoutTests/platform/glib/css1/box_properties/padding_top_inline-expected.txt b/LayoutTests/platform/glib/css1/box_properties/padding_top_inline-expected.txt
    index b063586d5512..bce2a2877916 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/padding_top_inline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/padding_top_inline-expected.txt
    @@ -17,16 +17,16 @@ layer at (0,0) size 800x600
             RenderText {#text} at (0,0) size 476x17
               text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
               text run at (387,0) width 89: "It contains an "
    -        RenderInline {SPAN} at (0,0) size 756x60 [bgcolor=#00FFFF]
    +        RenderInline {SPAN} at (0,-25) size 756x60 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "one"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 228: "background and a 25px top padding"
    -        RenderText {#text} at (228,18) size 767x53
    +        RenderText {#text} at (0,18) size 767x53
               text run at (228,18) width 8: ". "
               text run at (236,18) width 531: "Padding on inline elements does not affect line-height calculations, so all lines in this"
               text run at (0,36) width 267: "element should have the same line-height. "
    @@ -39,13 +39,13 @@ layer at (0,0) size 800x600
             RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
               RenderText {#text} at (475,0) size 144x17
                 text run at (475,0) width 144: "inline element of class "
    -          RenderInline {TT} at (0,0) size 25x15
    +          RenderInline {TT} at (618,3) size 25x15
                 RenderText {#text} at (618,3) size 25x15
                   text run at (618,3) width 25: "two"
    -          RenderText {#text} at (642,0) size 756x35
    +          RenderText {#text} at (0,0) size 756x35
                 text run at (642,0) width 114: ", giving it an aqua"
                 text run at (0,18) width 498: "background and no top padding, since negative padding values are not allowed"
    -        RenderText {#text} at (498,18) size 772x35
    +        RenderText {#text} at (0,18) size 772x35
               text run at (498,18) width 8: ". "
               text run at (506,18) width 266: "Padding on inline elements does not affect"
               text run at (0,36) width 528: "line-height calculations, so all lines in this element should have the same line-height."
    @@ -53,28 +53,28 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x176
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x150
                 RenderTableCell {TD} at (0,88) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,66) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x150 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x72 [bgcolor=#808080]
                     RenderText {#text} at (0,0) size 476x17
                       text run at (0,0) width 388: "This element is unstyled save for a background color of gray. "
                       text run at (387,0) width 89: "It contains an "
    -                RenderInline {SPAN} at (0,0) size 756x60 [bgcolor=#00FFFF]
    +                RenderInline {SPAN} at (0,-25) size 756x60 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "one"
    -                  RenderText {#text} at (642,0) size 756x35
    +                  RenderText {#text} at (0,0) size 756x35
                         text run at (642,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 228: "background and a 25px top padding"
    -                RenderText {#text} at (228,18) size 758x53
    +                RenderText {#text} at (0,18) size 758x53
                       text run at (228,18) width 8: ". "
                       text run at (236,18) width 505: "Padding on inline elements does not affect line-height calculations, so all lines in"
                       text run at (0,36) width 293: "this element should have the same line-height. "
    @@ -87,13 +87,13 @@ layer at (0,0) size 800x600
                     RenderInline {SPAN} at (0,0) size 756x35 [bgcolor=#00FFFF]
                       RenderText {#text} at (475,0) size 144x17
                         text run at (475,0) width 144: "inline element of class "
    -                  RenderInline {TT} at (0,0) size 25x15
    +                  RenderInline {TT} at (618,3) size 25x15
                         RenderText {#text} at (618,3) size 25x15
                           text run at (618,3) width 25: "two"
    -                  RenderText {#text} at (642,0) size 756x35
    +                  RenderText {#text} at (0,0) size 756x35
                         text run at (642,0) width 114: ", giving it an aqua"
                         text run at (0,18) width 498: "background and no top padding, since negative padding values are not allowed"
    -                RenderText {#text} at (498,18) size 733x35
    +                RenderText {#text} at (0,18) size 733x35
                       text run at (498,18) width 8: ". "
                       text run at (506,18) width 227: "Padding on inline elements does not"
                       text run at (0,36) width 567: "affect line-height calculations, so all lines in this element should have the same line-height."
    diff --git a/LayoutTests/platform/glib/css1/box_properties/width-expected.txt b/LayoutTests/platform/glib/css1/box_properties/width-expected.txt
    index d7a20a78cc1b..f65b4d08685c 100644
    --- a/LayoutTests/platform/glib/css1/box_properties/width-expected.txt
    +++ b/LayoutTests/platform/glib/css1/box_properties/width-expected.txt
    @@ -23,48 +23,48 @@ layer at (0,0) size 785x1342
           RenderBlock (anonymous) at (0,202) size 769x385
             RenderImage {IMG} at (0,0) size 385x385
             RenderText {#text} at (0,0) size 0x0
    -      RenderBlock {P} at (0,603) size 769x18
    +      RenderBlock {P} at (0,602) size 769x19
             RenderText {#text} at (0,0) size 671x17
               text run at (0,0) width 671: "The square above should be half as wide as the image's parent element (either the BODY or the table cell)."
    -      RenderBlock {P} at (0,637) size 385x90
    +      RenderBlock {P} at (0,636) size 385x91
             RenderText {#text} at (0,0) size 382x71
               text run at (0,0) width 382: "This paragraph should be half the width of its parent element"
               text run at (0,18) width 379: "(either the BODY or the table, which should itself be half as"
               text run at (0,36) width 188: "wide as the BODY element). "
               text run at (187,36) width 179: "This is extra text included to"
               text run at (0,54) width 246: "ensure that this will be a fair test of the "
    -        RenderInline {CODE} at (0,0) size 40x15
    +        RenderInline {CODE} at (246,57) size 40x15
               RenderText {#text} at (246,57) size 40x15
                 text run at (246,57) width 40: "width"
    -        RenderText {#text} at (286,54) size 373x35
    +        RenderText {#text} at (0,54) size 373x35
               text run at (286,54) width 57: " property"
               text run at (0,72) width 373: "without the need for the user to resize the viewing window."
    -      RenderTable {TABLE} at (0,743) size 385x583 [border: (1px outset #808080)]
    -        RenderTableSection {TBODY} at (1,1) size 383x581
    +      RenderTable {TABLE} at (0,742) size 385x584 [border: (1px outset #808080)]
    +        RenderTableSection {TBODY} at (1,1) size 383x582
               RenderTableRow {TR} at (0,0) size 383x26
                 RenderTableCell {TD} at (0,0) size 383x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
    -          RenderTableRow {TR} at (0,26) size 383x555
    +          RenderTableRow {TR} at (0,26) size 383x556
                 RenderTableCell {TD} at (0,290) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,268) size 4x18
                     text run at (4,4) width 4: " "
    -            RenderTableCell {TD} at (12,26) size 371x555 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
    +            RenderTableCell {TD} at (12,26) size 371x556 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (4,4) size 363x50
                     RenderImage {IMG} at (0,0) size 50x50
                     RenderText {#text} at (0,0) size 0x0
                   RenderBlock {P} at (4,70) size 363x18
                     RenderText {#text} at (0,0) size 287x17
                       text run at (0,0) width 287: "The square above should be fifty pixels wide."
    -              RenderBlock (anonymous) at (4,104) size 363x181
    +              RenderBlock (anonymous) at (4,104) size 363x182
                     RenderImage {IMG} at (0,0) size 182x182
                     RenderText {#text} at (0,0) size 0x0
    -              RenderBlock {P} at (4,301) size 363x36
    +              RenderBlock {P} at (4,301) size 363x37
                     RenderText {#text} at (0,0) size 348x35
                       text run at (0,0) width 348: "The square above should be half as wide as the image's"
                       text run at (0,18) width 319: "parent element (either the BODY or the table cell)."
    -              RenderBlock {P} at (4,353) size 182x198
    +              RenderBlock {P} at (4,353) size 182x199
                     RenderText {#text} at (0,0) size 177x161
                       text run at (0,0) width 160: "This paragraph should be"
                       text run at (0,18) width 165: "half the width of its parent"
    @@ -76,10 +76,10 @@ layer at (0,0) size 785x1342
                       text run at (0,108) width 177: "extra text included to ensure"
                       text run at (0,126) width 174: "that this will be a fair test of"
                       text run at (0,144) width 23: "the "
    -                RenderInline {CODE} at (0,0) size 40x15
    +                RenderInline {CODE} at (23,147) size 40x15
                       RenderText {#text} at (23,147) size 40x15
                         text run at (23,147) width 40: "width"
    -                RenderText {#text} at (63,144) size 173x53
    +                RenderText {#text} at (0,144) size 173x53
                       text run at (63,144) width 109: " property without"
                       text run at (0,162) width 144: "the need for the user to"
                       text run at (0,180) width 173: "resize the viewing window."
    diff --git a/LayoutTests/platform/glib/css1/cascade/cascade_order-expected.txt b/LayoutTests/platform/glib/css1/cascade/cascade_order-expected.txt
    index b0a6cadaa3fd..e813174fa693 100644
    --- a/LayoutTests/platform/glib/css1/cascade/cascade_order-expected.txt
    +++ b/LayoutTests/platform/glib/css1/cascade/cascade_order-expected.txt
    @@ -70,7 +70,7 @@ layer at (0,0) size 785x790
           RenderBlock {P} at (0,424) size 769x18 [color=#800080]
             RenderText {#text} at (0,0) size 204x17
               text run at (0,0) width 204: "This sentence should be purple ["
    -        RenderInline {CODE} at (0,0) size 96x15
    +        RenderInline {CODE} at (204,3) size 96x15
               RenderText {#text} at (204,3) size 96x15
                 text run at (204,3) width 96: "class=\"test\""
             RenderText {#text} at (300,0) size 9x17
    @@ -82,12 +82,12 @@ layer at (0,0) size 785x790
             RenderTableSection {TBODY} at (1,1) size 703x280
               RenderTableRow {TR} at (0,0) size 703x26
                 RenderTableCell {TD} at (0,0) size 703x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 703x254
                 RenderTableCell {TD} at (0,140) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,118) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 691x254 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {UL} at (4,4) size 683x144
    @@ -131,7 +131,7 @@ layer at (0,0) size 785x790
                   RenderBlock {P} at (4,198) size 683x18 [color=#800080]
                     RenderText {#text} at (0,0) size 204x17
                       text run at (0,0) width 204: "This sentence should be purple ["
    -                RenderInline {CODE} at (0,0) size 96x15
    +                RenderInline {CODE} at (204,3) size 96x15
                       RenderText {#text} at (204,3) size 96x15
                         text run at (204,3) width 96: "class=\"test\""
                     RenderText {#text} at (300,0) size 9x17
    diff --git a/LayoutTests/platform/glib/css1/cascade/important-expected.txt b/LayoutTests/platform/glib/css1/cascade/important-expected.txt
    index 4f40eb150b84..0d350c00b852 100644
    --- a/LayoutTests/platform/glib/css1/cascade/important-expected.txt
    +++ b/LayoutTests/platform/glib/css1/cascade/important-expected.txt
    @@ -22,10 +22,10 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,177) size 784x36 [color=#008000]
             RenderText {#text} at (0,0) size 403x17
               text run at (0,0) width 403: "This sentence should also be green, even though it has an ID of "
    -        RenderInline {TT} at (0,0) size 24x15
    +        RenderInline {TT} at (403,3) size 24x15
               RenderText {#text} at (403,3) size 24x15
                 text run at (403,3) width 24: "id1"
    -        RenderText {#text} at (427,0) size 781x35
    +        RenderText {#text} at (0,0) size 781x35
               text run at (427,0) width 258: ", which would ordinarily make it purple. "
               text run at (685,0) width 96: "This is because"
               text run at (0,18) width 645: "declarations marked important have more weight than normal declarations given in a STYLE attribute."
    @@ -38,12 +38,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x174
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x148
                 RenderTableCell {TD} at (0,87) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,65) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x148 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x36 [color=#008000]
    @@ -53,10 +53,10 @@ layer at (0,0) size 800x600
                   RenderBlock {P} at (4,56) size 762x36 [color=#008000]
                     RenderText {#text} at (0,0) size 403x17
                       text run at (0,0) width 403: "This sentence should also be green, even though it has an ID of "
    -                RenderInline {TT} at (0,0) size 24x15
    +                RenderInline {TT} at (403,3) size 24x15
                       RenderText {#text} at (403,3) size 24x15
                         text run at (403,3) width 24: "id1"
    -                RenderText {#text} at (427,0) size 727x35
    +                RenderText {#text} at (0,0) size 727x35
                       text run at (427,0) width 258: ", which would ordinarily make it purple. "
                       text run at (685,0) width 42: "This is"
                       text run at (0,18) width 699: "because declarations marked important have more weight than normal declarations given in a STYLE attribute."
    diff --git a/LayoutTests/platform/glib/css1/classification/display-expected.txt b/LayoutTests/platform/glib/css1/classification/display-expected.txt
    index 799c07d16e09..48a3de63e75e 100644
    --- a/LayoutTests/platform/glib/css1/classification/display-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/display-expected.txt
    @@ -26,13 +26,13 @@ layer at (0,0) size 785x816
               RenderText {#text} at (0,0) size 448x17
                 text run at (0,0) width 448: "This sentence should be part of an inline element, as are the next three. "
             RenderInline {P} at (0,0) size 766x53
    -          RenderText {#text} at (448,0) size 766x53
    +          RenderText {#text} at (0,0) size 766x53
                 text run at (448,0) width 274: "This sentence and the next two are part of a"
                 text run at (0,18) width 144: "second inline element. "
                 text run at (144,18) width 622: "They should therefore appear, along with the sentence above, to be all one paragraph which is four"
                 text run at (0,36) width 100: "sentences long. "
                 text run at (100,36) width 250: "If this is not the case, then the keyword "
    -          RenderInline {CODE} at (0,0) size 48x15
    +          RenderInline {CODE} at (350,39) size 48x15
                 RenderText {#text} at (350,39) size 48x15
                   text run at (350,39) width 48: "inline"
               RenderText {#text} at (398,36) size 109x17
    @@ -43,10 +43,10 @@ layer at (0,0) size 785x816
             RenderText {#text} at (0,0) size 715x35
               text run at (0,0) width 715: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list items"
               text run at (0,18) width 18: "(if "
    -        RenderInline {CODE} at (0,0) size 120x15
    +        RenderInline {CODE} at (18,21) size 120x15
               RenderText {#text} at (18,21) size 120x15
                 text run at (18,21) width 120: "list-style-type"
    -        RenderText {#text} at (138,18) size 720x35
    +        RenderText {#text} at (0,18) size 720x35
               text run at (138,18) width 359: " is supported, there will be a square for the item marker). "
               text run at (497,18) width 223: "A 3em left margin has been applied"
               text run at (0,36) width 376: "in order to ensure that there is space for the list-item marker."
    @@ -71,12 +71,12 @@ layer at (0,0) size 785x816
             RenderTableSection {TBODY} at (1,1) size 767x346
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x320
                 RenderTableCell {TD} at (0,173) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,151) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x320 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -87,13 +87,13 @@ layer at (0,0) size 785x816
                       RenderText {#text} at (0,0) size 448x17
                         text run at (0,0) width 448: "This sentence should be part of an inline element, as are the next three. "
                     RenderInline {P} at (0,0) size 736x53
    -                  RenderText {#text} at (448,0) size 736x53
    +                  RenderText {#text} at (0,0) size 736x53
                         text run at (448,0) width 274: "This sentence and the next two are part of a"
                         text run at (0,18) width 144: "second inline element. "
                         text run at (144,18) width 592: "They should therefore appear, along with the sentence above, to be all one paragraph which is"
                         text run at (0,36) width 130: "four sentences long. "
                         text run at (130,36) width 250: "If this is not the case, then the keyword "
    -                  RenderInline {CODE} at (0,0) size 48x15
    +                  RenderInline {CODE} at (380,39) size 48x15
                         RenderText {#text} at (380,39) size 48x15
                           text run at (380,39) width 48: "inline"
                       RenderText {#text} at (428,36) size 109x17
    @@ -104,10 +104,10 @@ layer at (0,0) size 785x816
                     RenderText {#text} at (0,0) size 678x35
                       text run at (0,0) width 678: "This sentence should be treated as a list-item, and therefore be rendered however this user agent displays list"
                       text run at (0,18) width 55: "items (if "
    -                RenderInline {CODE} at (0,0) size 120x15
    +                RenderInline {CODE} at (55,21) size 120x15
                       RenderText {#text} at (55,21) size 120x15
                         text run at (55,21) width 120: "list-style-type"
    -                RenderText {#text} at (175,18) size 673x35
    +                RenderText {#text} at (0,18) size 673x35
                       text run at (175,18) width 359: " is supported, there will be a square for the item marker). "
                       text run at (534,18) width 139: "A 3em left margin has"
                       text run at (0,36) width 460: "been applied in order to ensure that there is space for the list-item marker."
    diff --git a/LayoutTests/platform/glib/css1/classification/list_style-expected.txt b/LayoutTests/platform/glib/css1/classification/list_style-expected.txt
    index 0ec58596dcab..96ec2a6d11a3 100644
    --- a/LayoutTests/platform/glib/css1/classification/list_style-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/list_style-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x600
           RenderBlock {UL} at (0,95) size 784x36
             RenderListItem {LI} at (40,0) size 744x36
               RenderListMarker at (0,0) size 20x17: "A"
    -          RenderText {#text} at (20,0) size 730x35
    +          RenderText {#text} at (0,0) size 730x35
                 text run at (20,0) width 710: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left margin,"
                 text run at (0,18) width 286: "leaving no blank space beneath the capital-A."
           RenderBlock {UL} at (0,147) size 784x37
    @@ -29,18 +29,18 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x139
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x113
                 RenderTableCell {TD} at (0,69) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,47) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x113 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {UL} at (4,4) size 762x36
                     RenderListItem {LI} at (40,0) size 722x36
                       RenderListMarker at (0,0) size 20x17: "A"
    -                  RenderText {#text} at (20,0) size 679x35
    +                  RenderText {#text} at (0,0) size 679x35
                         text run at (20,0) width 659: "The text in this item should not behave as expected; that is, it should line up with the capital-A on the left"
                         text run at (0,18) width 338: "margin, leaving no blank space beneath the capital-A."
                   RenderBlock {UL} at (4,56) size 762x37
    diff --git a/LayoutTests/platform/glib/css1/classification/list_style_image-expected.txt b/LayoutTests/platform/glib/css1/classification/list_style_image-expected.txt
    index 94bf4db8be3a..df498ce3de14 100644
    --- a/LayoutTests/platform/glib/css1/classification/list_style_image-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/list_style_image-expected.txt
    @@ -43,12 +43,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 291x177
               RenderTableRow {TR} at (0,0) size 291x26
                 RenderTableCell {TD} at (0,0) size 291x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 291x151
                 RenderTableCell {TD} at (0,88) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,66) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 279x151 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {UL} at (4,4) size 271x57
    diff --git a/LayoutTests/platform/glib/css1/classification/list_style_position-expected.txt b/LayoutTests/platform/glib/css1/classification/list_style_position-expected.txt
    index f7f361460f38..b176e0f78ab6 100644
    --- a/LayoutTests/platform/glib/css1/classification/list_style_position-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/list_style_position-expected.txt
    @@ -22,19 +22,19 @@ layer at (0,0) size 800x600
           RenderBlock {UL} at (0,162) size 784x36
             RenderListItem {LI} at (40,0) size 744x36
               RenderListMarker at (-1,0) size 7x17: bullet
    -          RenderText {#text} at (14,0) size 702x35
    +          RenderText {#text} at (0,0) size 702x35
                 text run at (14,0) width 688: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,"
                 text run at (0,18) width 263: "leaving no blank space beneath the bullet."
           RenderTable {TABLE} at (0,214) size 784x140 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 782x138
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x112
                 RenderTableCell {TD} at (0,69) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,47) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x112 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {UL} at (4,4) size 762x36
    @@ -46,7 +46,7 @@ layer at (0,0) size 800x600
                   RenderBlock {UL} at (4,56) size 762x36
                     RenderListItem {LI} at (40,0) size 722x36
                       RenderListMarker at (-1,0) size 7x17: bullet
    -                  RenderText {#text} at (14,0) size 702x35
    +                  RenderText {#text} at (0,0) size 702x35
                         text run at (14,0) width 688: "The text in this item should not behave as expected; that is, it should line up with the bullet on the left margin,"
                         text run at (0,18) width 263: "leaving no blank space beneath the bullet."
     layer at (8,100) size 784x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/classification/list_style_type-expected.txt b/LayoutTests/platform/glib/css1/classification/list_style_type-expected.txt
    index 84e4acfadd01..c2506da2dcea 100644
    --- a/LayoutTests/platform/glib/css1/classification/list_style_type-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/list_style_type-expected.txt
    @@ -145,12 +145,12 @@ layer at (0,0) size 785x1527
             RenderTableSection {TBODY} at (1,1) size 336x664
               RenderTableRow {TR} at (0,0) size 336x26
                 RenderTableCell {TD} at (0,0) size 336x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 336x638
                 RenderTableCell {TD} at (0,332) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,310) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 324x638 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {UL} at (4,4) size 316x54
    diff --git a/LayoutTests/platform/glib/css1/classification/white_space-expected.txt b/LayoutTests/platform/glib/css1/classification/white_space-expected.txt
    index 8ed373e788aa..d302be738eca 100644
    --- a/LayoutTests/platform/glib/css1/classification/white_space-expected.txt
    +++ b/LayoutTests/platform/glib/css1/classification/white_space-expected.txt
    @@ -33,7 +33,7 @@ layer at (0,0) size 800x585
             RenderText {#text} at (0,0) size 296x35
               text run at (0,0) width 0: " "
               text run at (0,18) width 296: "This sentence      should     show extra   space, "
    -        RenderInline {SPAN} at (0,0) size 156x17
    +        RenderInline {SPAN} at (296,18) size 156x17
               RenderText {#text} at (296,18) size 156x17
                 text run at (296,18) width 84: "except in the "
                 text run at (380,18) width 72: "second half"
    @@ -44,12 +44,12 @@ layer at (0,0) size 800x585
             RenderTableSection {TBODY} at (1,1) size 911x210
               RenderTableRow {TR} at (0,0) size 911x26
                 RenderTableCell {TD} at (0,0) size 911x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 911x184
                 RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,83) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 899x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 891x90
    @@ -70,7 +70,7 @@ layer at (0,0) size 800x585
                     RenderText {#text} at (0,0) size 296x35
                       text run at (0,0) width 0: " "
                       text run at (0,18) width 296: "This sentence      should     show extra   space, "
    -                RenderInline {SPAN} at (0,0) size 156x17
    +                RenderInline {SPAN} at (296,18) size 156x17
                       RenderText {#text} at (296,18) size 156x17
                         text run at (296,18) width 84: "except in the "
                         text run at (380,18) width 72: "second half"
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background-expected.txt
    index 07e1af26c740..ba7f4ac3673e 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background-expected.txt
    @@ -19,10 +19,10 @@ layer at (0,0) size 785x721
           RenderBlock {P} at (0,125) size 769x54
             RenderText {#text} at (0,0) size 728x17
               text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
    -        RenderInline {CODE} at (0,0) size 64x15
    +        RenderInline {CODE} at (0,21) size 64x15
               RenderText {#text} at (0,21) size 64x15
                 text run at (0,21) width 64: "repeat-x"
    -        RenderText {#text} at (64,18) size 753x35
    +        RenderText {#text} at (0,18) size 753x35
               text run at (64,18) width 298: " indicates tiling in both directions of the x-axis. "
               text run at (362,18) width 298: "Furthermore, the strip should be fixed in place. "
               text run at (660,18) width 93: "I'll have to add"
    @@ -49,21 +49,21 @@ layer at (0,0) size 785x721
             RenderTableSection {TBODY} at (1,1) size 767x298
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x272
                 RenderTableCell {TD} at (0,149) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,127) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x272 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
                     RenderText {#text} at (0,0) size 728x17
                       text run at (0,0) width 728: "This document should have a green background with an orange strip running across the entire top of the page, since"
    -                RenderInline {CODE} at (0,0) size 64x15
    +                RenderInline {CODE} at (0,21) size 64x15
                       RenderText {#text} at (0,21) size 64x15
                         text run at (0,21) width 64: "repeat-x"
    -                RenderText {#text} at (64,18) size 726x35
    +                RenderText {#text} at (0,18) size 726x35
                       text run at (64,18) width 298: " indicates tiling in both directions of the x-axis. "
                       text run at (362,18) width 298: "Furthermore, the strip should be fixed in place. "
                       text run at (660,18) width 66: "I'll have to"
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background_attachment-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background_attachment-expected.txt
    index 613132e5c7bb..828529df1d8c 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background_attachment-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background_attachment-expected.txt
    @@ -38,25 +38,25 @@ layer at (0,0) size 785x1194
             RenderText {#text} at (40,0) size 82x17
               text run at (40,0) width 82: " scroll | fixed"
             RenderBR {BR} at (121,0) size 1x17
    -        RenderInline {EM} at (0,0) size 42x17
    +        RenderInline {EM} at (0,18) size 42x17
               RenderText {#text} at (0,18) size 42x17
                 text run at (0,18) width 42: "Initial:"
             RenderText {#text} at (42,18) size 38x17
               text run at (42,18) width 38: " scroll"
             RenderBR {BR} at (80,18) size 0x17
    -        RenderInline {EM} at (0,0) size 68x17
    +        RenderInline {EM} at (0,36) size 68x17
               RenderText {#text} at (0,36) size 68x17
                 text run at (0,36) width 68: "Applies to:"
             RenderText {#text} at (68,36) size 78x17
               text run at (68,36) width 78: " all elements"
             RenderBR {BR} at (146,36) size 0x17
    -        RenderInline {EM} at (0,0) size 62x17
    +        RenderInline {EM} at (0,54) size 62x17
               RenderText {#text} at (0,54) size 62x17
                 text run at (0,54) width 62: "Inherited:"
             RenderText {#text} at (62,54) size 20x17
               text run at (62,54) width 20: " no"
             RenderBR {BR} at (82,54) size 0x17
    -        RenderInline {EM} at (0,0) size 121x17
    +        RenderInline {EM} at (0,72) size 121x17
               RenderText {#text} at (0,72) size 121x17
                 text run at (0,72) width 121: "Percentage values:"
             RenderText {#text} at (120,72) size 33x17
    @@ -82,7 +82,7 @@ layer at (0,0) size 785x1194
             RenderInline {EM} at (0,0) size 72x17
               RenderText {#text} at (0,0) size 72x17
                 text run at (0,0) width 72: "CSS1 core:"
    -        RenderText {#text} at (71,0) size 766x53
    +        RenderText {#text} at (0,0) size 766x53
               text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
               text run at (0,18) width 766: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that support"
               text run at (0,36) width 42: "'fixed'."
    @@ -90,12 +90,12 @@ layer at (0,0) size 785x1194
             RenderTableSection {TBODY} at (1,1) size 767x550
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x524
                 RenderTableCell {TD} at (0,274) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,252) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x524 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x90
    @@ -125,25 +125,25 @@ layer at (0,0) size 785x1194
                     RenderText {#text} at (40,0) size 82x17
                       text run at (40,0) width 82: " scroll | fixed"
                     RenderBR {BR} at (121,0) size 1x17
    -                RenderInline {EM} at (0,0) size 42x17
    +                RenderInline {EM} at (0,18) size 42x17
                       RenderText {#text} at (0,18) size 42x17
                         text run at (0,18) width 42: "Initial:"
                     RenderText {#text} at (42,18) size 38x17
                       text run at (42,18) width 38: " scroll"
                     RenderBR {BR} at (80,18) size 0x17
    -                RenderInline {EM} at (0,0) size 68x17
    +                RenderInline {EM} at (0,36) size 68x17
                       RenderText {#text} at (0,36) size 68x17
                         text run at (0,36) width 68: "Applies to:"
                     RenderText {#text} at (68,36) size 78x17
                       text run at (68,36) width 78: " all elements"
                     RenderBR {BR} at (146,36) size 0x17
    -                RenderInline {EM} at (0,0) size 62x17
    +                RenderInline {EM} at (0,54) size 62x17
                       RenderText {#text} at (0,54) size 62x17
                         text run at (0,54) width 62: "Inherited:"
                     RenderText {#text} at (62,54) size 20x17
                       text run at (62,54) width 20: " no"
                     RenderBR {BR} at (82,54) size 0x17
    -                RenderInline {EM} at (0,0) size 121x17
    +                RenderInline {EM} at (0,72) size 121x17
                       RenderText {#text} at (0,72) size 121x17
                         text run at (0,72) width 121: "Percentage values:"
                     RenderText {#text} at (120,72) size 33x17
    @@ -169,7 +169,7 @@ layer at (0,0) size 785x1194
                     RenderInline {EM} at (0,0) size 72x17
                       RenderText {#text} at (0,0) size 72x17
                         text run at (0,0) width 72: "CSS1 core:"
    -                RenderText {#text} at (71,0) size 741x53
    +                RenderText {#text} at (0,0) size 741x53
                       text run at (71,0) width 670: " UAs may treat 'fixed' as 'scroll'. However, it is recommended they interpret 'fixed' correctly, at least on the"
                       text run at (0,18) width 715: "HTML and BODY elements, since there is no way for an author to provide an image only for those browsers that"
                       text run at (0,36) width 93: "support 'fixed'."
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background_color-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background_color-expected.txt
    index 9e2954af32d7..56da065e0c30 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background_color-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background_color-expected.txt
    @@ -24,15 +24,15 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,193) size 784x54 [bgcolor=#008000]
             RenderText {#text} at (0,0) size 652x17
               text run at (0,0) width 652: "This element's background should be green, and the last word in this sentence should also have a green "
    -        RenderInline {SPAN} at (0,0) size 75x17
    +        RenderInline {SPAN} at (652,0) size 75x17
               RenderText {#text} at (652,0) size 75x17
                 text run at (652,0) width 75: "background"
    -        RenderText {#text} at (727,0) size 778x53
    +        RenderText {#text} at (0,0) size 778x53
               text run at (727,0) width 8: ". "
               text run at (735,0) width 42: "This is"
               text run at (0,18) width 778: "because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word \"sentence,\""
               text run at (0,36) width 109: "which was set to "
    -        RenderInline {CODE} at (0,0) size 88x15
    +        RenderInline {CODE} at (109,39) size 88x15
               RenderText {#text} at (109,39) size 88x15
                 text run at (109,39) width 88: "transparent"
             RenderText {#text} at (197,36) size 395x17
    @@ -46,12 +46,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x190
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x164
                 RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,73) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x18 [bgcolor=#008000]
    @@ -63,14 +63,14 @@ layer at (0,0) size 800x600
                   RenderBlock {P} at (4,72) size 762x54 [bgcolor=#008000]
                     RenderText {#text} at (0,0) size 652x17
                       text run at (0,0) width 652: "This element's background should be green, and the last word in this sentence should also have a green "
    -                RenderInline {SPAN} at (0,0) size 75x17
    +                RenderInline {SPAN} at (652,0) size 75x17
                       RenderText {#text} at (652,0) size 75x17
                         text run at (652,0) width 75: "background"
    -                RenderText {#text} at (727,0) size 748x53
    +                RenderText {#text} at (0,0) size 748x53
                       text run at (727,0) width 4: "."
                       text run at (0,18) width 748: "This is because the background color of the parent element (the paragraph) should \"shine through\" the SPANned word"
                       text run at (0,36) width 185: "\"sentence,\" which was set to "
    -                RenderInline {CODE} at (0,0) size 88x15
    +                RenderInline {CODE} at (185,39) size 88x15
                       RenderText {#text} at (185,39) size 88x15
                         text run at (185,39) width 88: "transparent"
                     RenderText {#text} at (273,36) size 395x17
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background_image-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background_image-expected.txt
    index 43571b5803f7..c9a01723add3 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background_image-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background_image-expected.txt
    @@ -21,24 +21,24 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,162) size 784x72
             RenderText {#text} at (0,0) size 596x17
               text run at (0,0) width 596: "This sentence should be backed by a repeated green-grid image, as should the last three words "
    -        RenderInline {STRONG} at (0,0) size 102x17
    -          RenderInline {SPAN} at (0,0) size 102x17
    +        RenderInline {STRONG} at (596,0) size 102x17
    +          RenderInline {SPAN} at (596,0) size 102x17
                 RenderText {#text} at (596,0) size 102x17
                   text run at (596,0) width 102: "in this sentence"
    -        RenderText {#text} at (698,0) size 770x35
    +        RenderText {#text} at (0,0) size 770x35
               text run at (698,0) width 8: ". "
               text run at (706,0) width 64: "If it is not,"
               text run at (0,18) width 31: "then "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (31,21) size 32x15
               RenderText {#text} at (31,21) size 32x15
                 text run at (31,21) width 32: "none"
             RenderText {#text} at (63,18) size 168x17
               text run at (63,18) width 163: " is interpreted incorrectly. "
               text run at (225,18) width 6: "("
    -        RenderInline {CODE} at (0,0) size 33x15
    +        RenderInline {CODE} at (230,21) size 33x15
               RenderText {#text} at (230,21) size 33x15
                 text run at (230,21) width 33: "none"
    -        RenderText {#text} at (262,18) size 771x53
    +        RenderText {#text} at (0,18) size 771x53
               text run at (262,18) width 503: " means that the element has no background image, allowing the parent to \"shine"
               text run at (0,36) width 771: "through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image should be"
               text run at (0,54) width 50: "visible.)"
    @@ -50,12 +50,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x210
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x184
                 RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,83) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x36
    @@ -66,24 +66,24 @@ layer at (0,0) size 800x600
                   RenderBlock {P} at (4,56) size 762x72
                     RenderText {#text} at (0,0) size 596x17
                       text run at (0,0) width 596: "This sentence should be backed by a repeated green-grid image, as should the last three words "
    -                RenderInline {STRONG} at (0,0) size 102x17
    -                  RenderInline {SPAN} at (0,0) size 102x17
    +                RenderInline {STRONG} at (596,0) size 102x17
    +                  RenderInline {SPAN} at (596,0) size 102x17
                         RenderText {#text} at (596,0) size 102x17
                           text run at (596,0) width 102: "in this sentence"
    -                RenderText {#text} at (698,0) size 742x35
    +                RenderText {#text} at (0,0) size 742x35
                       text run at (698,0) width 8: ". "
                       text run at (706,0) width 36: "If it is"
                       text run at (0,18) width 59: "not, then "
    -                RenderInline {CODE} at (0,0) size 32x15
    +                RenderInline {CODE} at (59,21) size 32x15
                       RenderText {#text} at (59,21) size 32x15
                         text run at (59,21) width 32: "none"
                     RenderText {#text} at (91,18) size 168x17
                       text run at (91,18) width 163: " is interpreted incorrectly. "
                       text run at (253,18) width 6: "("
    -                RenderInline {CODE} at (0,0) size 33x15
    +                RenderInline {CODE} at (258,21) size 33x15
                       RenderText {#text} at (258,21) size 33x15
                         text run at (258,21) width 33: "none"
    -                RenderText {#text} at (290,18) size 750x53
    +                RenderText {#text} at (0,18) size 750x53
                       text run at (290,18) width 459: " means that the element has no background image, allowing the parent to"
                       text run at (0,36) width 750: "\"shine through\" by default; since the parent of the words \"in this sentence\" is the paragraph, then the paragraph's image"
                       text run at (0,54) width 115: "should be visible.)"
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background_position-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background_position-expected.txt
    index 6ce84d967212..5ce599c31396 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background_position-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background_position-expected.txt
    @@ -90,12 +90,12 @@ layer at (0,0) size 785x1458
             RenderTableSection {TBODY} at (1,1) size 767x578
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x552
                 RenderTableCell {TD} at (0,289) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,267) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x552 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/background_repeat-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/background_repeat-expected.txt
    index a603d7059c9a..fd083bd3f0d2 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/background_repeat-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/background_repeat-expected.txt
    @@ -41,10 +41,10 @@ layer at (0,0) size 785x1838
             RenderText {#text} at (0,0) size 762x35
               text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the default"
               text run at (0,18) width 22: "for "
    -        RenderInline {CODE} at (0,0) size 152x15
    +        RenderInline {CODE} at (22,21) size 152x15
               RenderText {#text} at (22,21) size 152x15
                 text run at (22,21) width 152: "background-position"
    -        RenderText {#text} at (174,18) size 730x35
    +        RenderText {#text} at (0,18) size 730x35
               text run at (174,18) width 320: " is '0% 0%' and that property is not declared here). "
               text run at (494,18) width 236: "This is extra text included for the sole"
               text run at (0,36) width 260: "purpose of making the paragraph longer. "
    @@ -53,10 +53,10 @@ layer at (0,0) size 785x1838
             RenderText {#text} at (0,0) size 762x35
               text run at (0,0) width 762: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the default"
               text run at (0,18) width 22: "for "
    -        RenderInline {CODE} at (0,0) size 152x15
    +        RenderInline {CODE} at (22,21) size 152x15
               RenderText {#text} at (22,21) size 152x15
                 text run at (22,21) width 152: "background-position"
    -        RenderText {#text} at (174,18) size 730x35
    +        RenderText {#text} at (0,18) size 730x35
               text run at (174,18) width 320: " is '0% 0%' and that property is not declared here). "
               text run at (494,18) width 236: "This is extra text included for the sole"
               text run at (0,36) width 260: "purpose of making the paragraph longer. "
    @@ -64,10 +64,10 @@ layer at (0,0) size 785x1838
           RenderBlock {P} at (0,430) size 769x54
             RenderText {#text} at (0,0) size 697x17
               text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
    -        RenderInline {CODE} at (0,0) size 152x15
    +        RenderInline {CODE} at (0,21) size 152x15
               RenderText {#text} at (0,21) size 152x15
                 text run at (0,21) width 152: "background-position"
    -        RenderText {#text} at (152,18) size 762x35
    +        RenderText {#text} at (0,18) size 762x35
               text run at (152,18) width 320: " is '0% 0%' and that property is not declared here). "
               text run at (472,18) width 290: "This is extra text included for the sole purpose"
               text run at (0,36) width 206: "of making the paragraph longer. "
    @@ -77,27 +77,27 @@ layer at (0,0) size 785x1838
               text run at (0,0) width 762: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin image"
               text run at (0,18) width 216: "exactly centered in the paragraph. "
               text run at (216,18) width 100: "This is because "
    -        RenderInline {CODE} at (0,0) size 64x15
    +        RenderInline {CODE} at (316,21) size 64x15
               RenderText {#text} at (316,21) size 64x15
                 text run at (316,21) width 64: "repeat-y"
             RenderText {#text} at (380,18) size 114x17
               text run at (380,18) width 114: " specifies tiling in "
    -        RenderInline {EM} at (0,0) size 28x17
    +        RenderInline {EM} at (494,18) size 28x17
               RenderText {#text} at (494,18) size 28x17
                 text run at (494,18) width 28: "both"
    -        RenderText {#text} at (522,18) size 764x35
    +        RenderText {#text} at (0,18) size 764x35
               text run at (522,18) width 158: " directions on the y-axis. "
               text run at (680,18) width 84: "Note that this"
               text run at (0,36) width 267: "test is only valid if the user agent supports "
    -        RenderInline {CODE} at (0,0) size 152x15
    +        RenderInline {CODE} at (267,39) size 152x15
               RenderText {#text} at (267,39) size 152x15
                 text run at (267,39) width 152: "background-position"
             RenderText {#text} at (419,36) size 33x17
               text run at (419,36) width 33: " (see "
    -        RenderInline {A} at (0,0) size 57x17 [color=#0000FF]
    +        RenderInline {A} at (452,36) size 57x17 [color=#0000FF]
               RenderText {#text} at (452,36) size 57x17
                 text run at (452,36) width 57: "test 5.3.6"
    -        RenderText {#text} at (509,36) size 759x35
    +        RenderText {#text} at (0,36) size 759x35
               text run at (509,36) width 13: "). "
               text run at (522,36) width 237: "I'll fill the paragraph with extra text to"
               text run at (0,54) width 342: "make the conformance (or lack thereof) more obvious."
    @@ -105,27 +105,27 @@ layer at (0,0) size 785x1838
             RenderText {#text} at (0,0) size 754x17
               text run at (0,0) width 658: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
               text run at (658,0) width 96: "This is because"
    -        RenderInline {CODE} at (0,0) size 136x15
    +        RenderInline {CODE} at (0,21) size 136x15
               RenderText {#text} at (0,21) size 136x15
                 text run at (0,21) width 136: "background-repeat"
             RenderText {#text} at (136,18) size 114x17
               text run at (136,18) width 114: " specifies tiling in "
    -        RenderInline {EM} at (0,0) size 16x17
    +        RenderInline {EM} at (250,18) size 16x17
               RenderText {#text} at (250,18) size 16x17
                 text run at (250,18) width 16: "all"
    -        RenderText {#text} at (266,18) size 750x35
    +        RenderText {#text} at (0,18) size 750x35
               text run at (266,18) width 361: " directions, regardless of the position of the origin image. "
               text run at (627,18) width 123: "Note that this test is"
               text run at (0,36) width 228: "only valid if the user agent supports "
    -        RenderInline {CODE} at (0,0) size 152x15
    +        RenderInline {CODE} at (228,39) size 152x15
               RenderText {#text} at (228,39) size 152x15
                 text run at (228,39) width 152: "background-position"
             RenderText {#text} at (380,36) size 33x17
               text run at (380,36) width 33: " (see "
    -        RenderInline {A} at (0,0) size 57x17 [color=#0000FF]
    +        RenderInline {A} at (413,36) size 57x17 [color=#0000FF]
               RenderText {#text} at (413,36) size 57x17
                 text run at (413,36) width 57: "test 5.3.6"
    -        RenderText {#text} at (470,36) size 766x53
    +        RenderText {#text} at (0,36) size 766x53
               text run at (470,36) width 13: "). "
               text run at (483,36) width 275: "I'll fill the paragraph with extra text to make"
               text run at (0,54) width 308: "the conformance (or lack thereof) more obvious. "
    @@ -170,22 +170,22 @@ layer at (0,0) size 785x1838
             RenderTableSection {TBODY} at (1,1) size 767x774
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x748
                 RenderTableCell {TD} at (0,387) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,365) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x748 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
                     RenderText {#text} at (0,0) size 715x35
                       text run at (0,0) width 715: "This sentence should have an orange stripe repeated in the \"y\" direction, starting at the upper left corner (since the"
                       text run at (0,18) width 69: "default for "
    -                RenderInline {CODE} at (0,0) size 152x15
    +                RenderInline {CODE} at (69,21) size 152x15
                       RenderText {#text} at (69,21) size 152x15
                         text run at (69,21) width 152: "background-position"
    -                RenderText {#text} at (221,18) size 725x35
    +                RenderText {#text} at (0,18) size 725x35
                       text run at (221,18) width 320: " is '0% 0%' and that property is not declared here). "
                       text run at (541,18) width 184: "This is extra text included for"
                       text run at (0,36) width 312: "the sole purpose of making the paragraph longer. "
    @@ -194,10 +194,10 @@ layer at (0,0) size 785x1838
                     RenderText {#text} at (0,0) size 715x35
                       text run at (0,0) width 715: "This sentence should have an orange stripe repeated in the \"x\" direction, starting at the upper left corner (since the"
                       text run at (0,18) width 69: "default for "
    -                RenderInline {CODE} at (0,0) size 152x15
    +                RenderInline {CODE} at (69,21) size 152x15
                       RenderText {#text} at (69,21) size 152x15
                         text run at (69,21) width 152: "background-position"
    -                RenderText {#text} at (221,18) size 725x35
    +                RenderText {#text} at (0,18) size 725x35
                       text run at (221,18) width 320: " is '0% 0%' and that property is not declared here). "
                       text run at (541,18) width 184: "This is extra text included for"
                       text run at (0,36) width 312: "the sole purpose of making the paragraph longer. "
    @@ -205,10 +205,10 @@ layer at (0,0) size 785x1838
                   RenderBlock {P} at (4,144) size 747x54
                     RenderText {#text} at (0,0) size 697x17
                       text run at (0,0) width 697: "This sentence should have a single orange square behind it, placed at the upper left corner (since the default for"
    -                RenderInline {CODE} at (0,0) size 152x15
    +                RenderInline {CODE} at (0,21) size 152x15
                       RenderText {#text} at (0,21) size 152x15
                         text run at (0,21) width 152: "background-position"
    -                RenderText {#text} at (152,18) size 708x35
    +                RenderText {#text} at (0,18) size 708x35
                       text run at (152,18) width 320: " is '0% 0%' and that property is not declared here). "
                       text run at (472,18) width 236: "This is extra text included for the sole"
                       text run at (0,36) width 260: "purpose of making the paragraph longer. "
    @@ -218,26 +218,26 @@ layer at (0,0) size 785x1838
                       text run at (0,0) width 720: "This sentence should have a green-hatch stripe running vertically down the center of the paragraph, with the origin"
                       text run at (0,18) width 258: "image exactly centered in the paragraph. "
                       text run at (258,18) width 100: "This is because "
    -                RenderInline {CODE} at (0,0) size 64x15
    +                RenderInline {CODE} at (358,21) size 64x15
                       RenderText {#text} at (358,21) size 64x15
                         text run at (358,21) width 64: "repeat-y"
                     RenderText {#text} at (422,18) size 114x17
                       text run at (422,18) width 114: " specifies tiling in "
    -                RenderInline {EM} at (0,0) size 28x17
    +                RenderInline {EM} at (536,18) size 28x17
                       RenderText {#text} at (536,18) size 28x17
                         text run at (536,18) width 28: "both"
    -                RenderText {#text} at (564,18) size 718x35
    +                RenderText {#text} at (0,18) size 718x35
                       text run at (564,18) width 154: " directions on the y-axis."
                       text run at (0,36) width 355: "Note that this test is only valid if the user agent supports "
    -                RenderInline {CODE} at (0,0) size 152x15
    +                RenderInline {CODE} at (355,39) size 152x15
                       RenderText {#text} at (355,39) size 152x15
                         text run at (355,39) width 152: "background-position"
                     RenderText {#text} at (507,36) size 33x17
                       text run at (507,36) width 33: " (see "
    -                RenderInline {A} at (0,0) size 57x17 [color=#0000FF]
    +                RenderInline {A} at (540,36) size 57x17 [color=#0000FF]
                       RenderText {#text} at (540,36) size 57x17
                         text run at (540,36) width 57: "test 5.3.6"
    -                RenderText {#text} at (597,36) size 737x35
    +                RenderText {#text} at (0,36) size 737x35
                       text run at (597,36) width 13: "). "
                       text run at (610,36) width 127: "I'll fill the paragraph"
                       text run at (0,54) width 452: "with extra text to make the conformance (or lack thereof) more obvious."
    @@ -246,27 +246,27 @@ layer at (0,0) size 785x1838
                       text run at (0,0) width 658: "This paragraph should have a tiled background, with the origin image exactly centered in the paragraph. "
                       text run at (658,0) width 42: "This is"
                       text run at (0,18) width 54: "because "
    -                RenderInline {CODE} at (0,0) size 136x15
    +                RenderInline {CODE} at (54,21) size 136x15
                       RenderText {#text} at (54,21) size 136x15
                         text run at (54,21) width 136: "background-repeat"
                     RenderText {#text} at (190,18) size 114x17
                       text run at (190,18) width 114: " specifies tiling in "
    -                RenderInline {EM} at (0,0) size 16x17
    +                RenderInline {EM} at (304,18) size 16x17
                       RenderText {#text} at (304,18) size 16x17
                         text run at (304,18) width 16: "all"
    -                RenderText {#text} at (320,18) size 739x35
    +                RenderText {#text} at (0,18) size 739x35
                       text run at (320,18) width 361: " directions, regardless of the position of the origin image. "
                       text run at (681,18) width 58: "Note that"
                       text run at (0,36) width 293: "this test is only valid if the user agent supports "
    -                RenderInline {CODE} at (0,0) size 152x15
    +                RenderInline {CODE} at (293,39) size 152x15
                       RenderText {#text} at (293,39) size 152x15
                         text run at (293,39) width 152: "background-position"
                     RenderText {#text} at (445,36) size 33x17
                       text run at (445,36) width 33: " (see "
    -                RenderInline {A} at (0,0) size 57x17 [color=#0000FF]
    +                RenderInline {A} at (478,36) size 57x17 [color=#0000FF]
                       RenderText {#text} at (478,36) size 57x17
                         text run at (478,36) width 57: "test 5.3.6"
    -                RenderText {#text} at (535,36) size 742x53
    +                RenderText {#text} at (0,36) size 742x53
                       text run at (535,36) width 13: "). "
                       text run at (548,36) width 194: "I'll fill the paragraph with extra"
                       text run at (0,54) width 389: "text to make the conformance (or lack thereof) more obvious. "
    diff --git a/LayoutTests/platform/glib/css1/color_and_background/color-expected.txt b/LayoutTests/platform/glib/css1/color_and_background/color-expected.txt
    index ab17fb187f43..3a25642cf58f 100644
    --- a/LayoutTests/platform/glib/css1/color_and_background/color-expected.txt
    +++ b/LayoutTests/platform/glib/css1/color_and_background/color-expected.txt
    @@ -21,12 +21,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 214x86
               RenderTableRow {TR} at (0,0) size 214x26
                 RenderTableCell {TD} at (0,0) size 214x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 214x60
                 RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,21) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 202x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 194x18 [color=#008000]
    diff --git a/LayoutTests/platform/glib/css1/conformance/forward_compatible_parsing-expected.txt b/LayoutTests/platform/glib/css1/conformance/forward_compatible_parsing-expected.txt
    index 4a9477f4a582..482991b49c45 100644
    --- a/LayoutTests/platform/glib/css1/conformance/forward_compatible_parsing-expected.txt
    +++ b/LayoutTests/platform/glib/css1/conformance/forward_compatible_parsing-expected.txt
    @@ -122,10 +122,10 @@ layer at (0,0) size 785x4035
           RenderBlock {P} at (0,943) size 769x36
             RenderText {#text} at (0,0) size 560x17
               text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
    -        RenderInline {CODE} at (0,0) size 56x15
    +        RenderInline {CODE} at (560,3) size 56x15
               RenderText {#text} at (560,3) size 56x15
                 text run at (560,3) width 56: "inherit"
    -        RenderText {#text} at (616,0) size 760x35
    +        RenderText {#text} at (0,0) size 760x35
               text run at (616,0) width 144: " is an invalid keyword,"
               text run at (0,18) width 520: "and in CSS2, it will cause the gray background (not the white grid) to be inherited."
           RenderBlock {P} at (0,995) size 769x18
    @@ -211,32 +211,32 @@ layer at (0,0) size 785x4035
           RenderBlock {P} at (0,1883) size 769x72
             RenderText {#text} at (0,0) size 737x17
               text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
    -        RenderInline {CODE} at (0,0) size 64x15
    +        RenderInline {CODE} at (0,21) size 64x15
               RenderText {#text} at (0,21) size 64x15
                 text run at (0,21) width 64: "diagonal"
             RenderText {#text} at (64,18) size 226x17
               text run at (64,18) width 226: " is not a valid keyword, making the "
    -        RenderInline {CODE} at (0,0) size 120x15
    +        RenderInline {CODE} at (290,21) size 120x15
               RenderText {#text} at (290,21) size 120x15
                 text run at (290,21) width 120: "text-decoration"
             RenderText {#text} at (410,18) size 131x17
               text run at (410,18) width 55: " invalid. "
               text run at (465,18) width 76: "In addition, "
    -        RenderInline {CODE} at (0,0) size 88x15
    +        RenderInline {CODE} at (541,21) size 88x15
               RenderText {#text} at (541,21) size 88x15
                 text run at (541,21) width 88: "highlighted"
    -        RenderText {#text} at (629,18) size 758x35
    +        RenderText {#text} at (0,18) size 758x35
               text run at (629,18) width 129: " is not a valid part of"
               text run at (0,36) width 23: "the "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (23,39) size 32x15
               RenderText {#text} at (23,39) size 32x15
                 text run at (23,39) width 32: "font"
    -        RenderText {#text} at (55,36) size 720x35
    +        RenderText {#text} at (0,36) size 720x35
               text run at (55,36) width 178: " property, making it invalid. "
               text run at (232,36) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
               text run at (0,54) width 71: "paragraph. "
               text run at (71,54) width 190: "If this is not the case, then the "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (261,57) size 32x15
               RenderText {#text} at (261,57) size 32x15
                 text run at (261,57) width 32: "font"
             RenderText {#text} at (293,54) size 248x17
    @@ -244,32 +244,32 @@ layer at (0,0) size 785x4035
           RenderBlock {P} at (0,1971) size 769x72
             RenderText {#text} at (0,0) size 737x17
               text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
    -        RenderInline {CODE} at (0,0) size 64x15
    +        RenderInline {CODE} at (0,21) size 64x15
               RenderText {#text} at (0,21) size 64x15
                 text run at (0,21) width 64: "diagonal"
             RenderText {#text} at (64,18) size 226x17
               text run at (64,18) width 226: " is not a valid keyword, making the "
    -        RenderInline {CODE} at (0,0) size 120x15
    +        RenderInline {CODE} at (290,21) size 120x15
               RenderText {#text} at (290,21) size 120x15
                 text run at (290,21) width 120: "text-decoration"
             RenderText {#text} at (410,18) size 131x17
               text run at (410,18) width 55: " invalid. "
               text run at (465,18) width 76: "In addition, "
    -        RenderInline {CODE} at (0,0) size 88x15
    +        RenderInline {CODE} at (541,21) size 88x15
               RenderText {#text} at (541,21) size 88x15
                 text run at (541,21) width 88: "highlighted"
    -        RenderText {#text} at (629,18) size 758x35
    +        RenderText {#text} at (0,18) size 758x35
               text run at (629,18) width 129: " is not a valid part of"
               text run at (0,36) width 23: "the "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (23,39) size 32x15
               RenderText {#text} at (23,39) size 32x15
                 text run at (23,39) width 32: "font"
    -        RenderText {#text} at (55,36) size 747x35
    +        RenderText {#text} at (0,36) size 747x35
               text run at (55,36) width 178: " property, making it invalid. "
               text run at (232,36) width 515: "Therefore, this paragraph's font should be the UA default, and match the previous"
               text run at (0,54) width 71: "paragraph. "
               text run at (71,54) width 190: "If this is not the case, then the "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (261,57) size 32x15
               RenderText {#text} at (261,57) size 32x15
                 text run at (261,57) width 32: "font"
             RenderText {#text} at (293,54) size 248x17
    @@ -278,12 +278,12 @@ layer at (0,0) size 785x4035
             RenderText {#text} at (0,0) size 530x17
               text run at (0,0) width 501: "The text of this paragraph should be normal size because the selector is invalid. "
               text run at (501,0) width 29: "The "
    -        RenderInline {EM} at (0,0) size 100x17
    +        RenderInline {EM} at (530,0) size 100x17
               RenderText {#text} at (530,0) size 100x17
                 text run at (530,0) width 100: "emphasized text"
             RenderText {#text} at (630,0) size 54x17
               text run at (630,0) width 54: " and the "
    -        RenderInline {STRONG} at (0,0) size 72x17
    +        RenderInline {STRONG} at (684,0) size 72x17
               RenderText {#text} at (684,0) size 72x17
                 text run at (684,0) width 72: "strong text"
             RenderText {#text} at (0,18) size 761x35
    @@ -292,10 +292,10 @@ layer at (0,0) size 785x4035
           RenderBlock {P} at (0,2129) size 769x36
             RenderText {#text} at (0,0) size 464x17
               text run at (0,0) width 464: "This paragraph should be black, because the line before the declaration is "
    -        RenderInline {STRONG} at (0,0) size 22x17
    +        RenderInline {STRONG} at (464,0) size 22x17
               RenderText {#text} at (464,0) size 22x17
                 text run at (464,0) width 22: "not"
    -        RenderText {#text} at (486,0) size 743x35
    +        RenderText {#text} at (0,0) size 743x35
               text run at (486,0) width 257: " a comment and therefore the selector for"
               text run at (0,18) width 138: "P.nineteenb is invalid."
           RenderBlock {P} at (0,2181) size 769x18 [color=#0000FF]
    @@ -325,12 +325,12 @@ layer at (0,0) size 785x4035
             RenderTableSection {TBODY} at (1,1) size 767x1580
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1554
                 RenderTableCell {TD} at (0,790) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,768) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1554 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [color=#008000]
    @@ -342,10 +342,10 @@ layer at (0,0) size 785x4035
                   RenderBlock {P} at (4,72) size 747x36
                     RenderText {#text} at (0,0) size 560x17
                       text run at (0,0) width 560: "This paragraph should have a solid gray background (or a white grid), because in CSS1, "
    -                RenderInline {CODE} at (0,0) size 56x15
    +                RenderInline {CODE} at (560,3) size 56x15
                       RenderText {#text} at (560,3) size 56x15
                         text run at (560,3) width 56: "inherit"
    -                RenderText {#text} at (616,0) size 696x35
    +                RenderText {#text} at (0,0) size 696x35
                       text run at (616,0) width 80: " is an invalid"
                       text run at (0,18) width 584: "keyword, and in CSS2, it will cause the gray background (not the white grid) to be inherited."
                   RenderBlock {P} at (4,124) size 747x18
    @@ -431,32 +431,32 @@ layer at (0,0) size 785x4035
                   RenderBlock {P} at (4,1012) size 747x72
                     RenderText {#text} at (0,0) size 737x17
                       text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
    -                RenderInline {CODE} at (0,0) size 64x15
    +                RenderInline {CODE} at (0,21) size 64x15
                       RenderText {#text} at (0,21) size 64x15
                         text run at (0,21) width 64: "diagonal"
                     RenderText {#text} at (64,18) size 226x17
                       text run at (64,18) width 226: " is not a valid keyword, making the "
    -                RenderInline {CODE} at (0,0) size 120x15
    +                RenderInline {CODE} at (290,21) size 120x15
                       RenderText {#text} at (290,21) size 120x15
                         text run at (290,21) width 120: "text-decoration"
                     RenderText {#text} at (410,18) size 131x17
                       text run at (410,18) width 55: " invalid. "
                       text run at (465,18) width 76: "In addition, "
    -                RenderInline {CODE} at (0,0) size 88x15
    +                RenderInline {CODE} at (541,21) size 88x15
                       RenderText {#text} at (541,21) size 88x15
                         text run at (541,21) width 88: "highlighted"
    -                RenderText {#text} at (629,18) size 741x35
    +                RenderText {#text} at (0,18) size 741x35
                       text run at (629,18) width 112: " is not a valid part"
                       text run at (0,36) width 40: "of the "
    -                RenderInline {CODE} at (0,0) size 32x15
    +                RenderInline {CODE} at (40,39) size 32x15
                       RenderText {#text} at (40,39) size 32x15
                         text run at (40,39) width 32: "font"
    -                RenderText {#text} at (72,36) size 737x35
    +                RenderText {#text} at (0,36) size 737x35
                       text run at (72,36) width 178: " property, making it invalid. "
                       text run at (249,36) width 488: "Therefore, this paragraph's font should be the UA default, and match the next"
                       text run at (0,54) width 71: "paragraph. "
                       text run at (71,54) width 190: "If this is not the case, then the "
    -                RenderInline {CODE} at (0,0) size 32x15
    +                RenderInline {CODE} at (261,57) size 32x15
                       RenderText {#text} at (261,57) size 32x15
                         text run at (261,57) width 32: "font"
                     RenderText {#text} at (293,54) size 248x17
    @@ -464,32 +464,32 @@ layer at (0,0) size 785x4035
                   RenderBlock {P} at (4,1100) size 747x72
                     RenderText {#text} at (0,0) size 737x17
                       text run at (0,0) width 737: "The text of this paragraph should be normal (that is, it should not be underlined, overlined, stricken, or bold), because"
    -                RenderInline {CODE} at (0,0) size 64x15
    +                RenderInline {CODE} at (0,21) size 64x15
                       RenderText {#text} at (0,21) size 64x15
                         text run at (0,21) width 64: "diagonal"
                     RenderText {#text} at (64,18) size 226x17
                       text run at (64,18) width 226: " is not a valid keyword, making the "
    -                RenderInline {CODE} at (0,0) size 120x15
    +                RenderInline {CODE} at (290,21) size 120x15
                       RenderText {#text} at (290,21) size 120x15
                         text run at (290,21) width 120: "text-decoration"
                     RenderText {#text} at (410,18) size 131x17
                       text run at (410,18) width 55: " invalid. "
                       text run at (465,18) width 76: "In addition, "
    -                RenderInline {CODE} at (0,0) size 88x15
    +                RenderInline {CODE} at (541,21) size 88x15
                       RenderText {#text} at (541,21) size 88x15
                         text run at (541,21) width 88: "highlighted"
    -                RenderText {#text} at (629,18) size 741x35
    +                RenderText {#text} at (0,18) size 741x35
                       text run at (629,18) width 112: " is not a valid part"
                       text run at (0,36) width 40: "of the "
    -                RenderInline {CODE} at (0,0) size 32x15
    +                RenderInline {CODE} at (40,39) size 32x15
                       RenderText {#text} at (40,39) size 32x15
                         text run at (40,39) width 32: "font"
    -                RenderText {#text} at (72,36) size 706x35
    +                RenderText {#text} at (0,36) size 706x35
                       text run at (72,36) width 178: " property, making it invalid. "
                       text run at (249,36) width 457: "Therefore, this paragraph's font should be the UA default, and match the"
                       text run at (0,54) width 129: "previous paragraph. "
                       text run at (129,54) width 190: "If this is not the case, then the "
    -                RenderInline {CODE} at (0,0) size 32x15
    +                RenderInline {CODE} at (319,57) size 32x15
                       RenderText {#text} at (319,57) size 32x15
                         text run at (319,57) width 32: "font"
                     RenderText {#text} at (351,54) size 248x17
    @@ -498,25 +498,25 @@ layer at (0,0) size 785x4035
                     RenderText {#text} at (0,0) size 530x17
                       text run at (0,0) width 501: "The text of this paragraph should be normal size because the selector is invalid. "
                       text run at (501,0) width 29: "The "
    -                RenderInline {EM} at (0,0) size 100x17
    +                RenderInline {EM} at (530,0) size 100x17
                       RenderText {#text} at (530,0) size 100x17
                         text run at (530,0) width 100: "emphasized text"
                     RenderText {#text} at (630,0) size 54x17
                       text run at (630,0) width 54: " and the "
                     RenderInline {STRONG} at (0,0) size 727x35
    -                  RenderText {#text} at (684,0) size 727x35
    +                  RenderText {#text} at (0,0) size 727x35
                         text run at (684,0) width 43: "strong"
                         text run at (0,18) width 25: "text"
    -                RenderText {#text} at (25,18) size 718x35
    +                RenderText {#text} at (0,18) size 718x35
                       text run at (25,18) width 693: " within it should also be normal size, since the entire ruleset should be skipped (since in some future version of"
                       text run at (0,36) width 592: "CSS, there could be an operator within the selector that has higher precedence than a comma)."
                   RenderBlock {P} at (4,1258) size 747x36
                     RenderText {#text} at (0,0) size 464x17
                       text run at (0,0) width 464: "This paragraph should be black, because the line before the declaration is "
    -                RenderInline {STRONG} at (0,0) size 22x17
    +                RenderInline {STRONG} at (464,0) size 22x17
                       RenderText {#text} at (464,0) size 22x17
                         text run at (464,0) width 22: "not"
    -                RenderText {#text} at (486,0) size 743x35
    +                RenderText {#text} at (0,0) size 743x35
                       text run at (486,0) width 257: " a comment and therefore the selector for"
                       text run at (0,18) width 138: "P.nineteenb is invalid."
                   RenderBlock {P} at (4,1310) size 747x18 [color=#0000FF]
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font-expected.txt
    index 694d82ef0f84..a954ade0211b 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font-expected.txt
    @@ -58,10 +58,10 @@ layer at (0,0) size 785x4269
               text run at (0,5) width 619: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
               text run at (619,5) width 130: "For example, if the font-"
               text run at (0,31) width 57: "size value "
    -        RenderInline {CODE} at (0,0) size 30x11
    +        RenderInline {CODE} at (57,35) size 30x11
               RenderText {#text} at (57,35) size 30x11
                 text run at (57,35) width 30: "small"
    -        RenderText {#text} at (87,31) size 747x43
    +        RenderText {#text} at (0,31) size 747x43
               text run at (87,31) width 321: " is calculated at 10px, then the line-height should be 20px. "
               text run at (408,31) width 274: "The actual value of the font-size is UA-dependent. "
               text run at (682,31) width 65: "Extra text is"
    @@ -111,7 +111,7 @@ layer at (0,0) size 785x4269
               text run at (687,6) width 51: "Extra text is"
               text run at (0,29) width 238: "included for the purposes of testing this more effectively."
           RenderBlock {P} at (0,1588) size 769x217
    -        RenderInline {SPAN} at (0,0) size 765x182 [bgcolor=#C0C0C0]
    +        RenderInline {SPAN} at (0,17) size 765x182 [bgcolor=#C0C0C0]
               RenderText {#text} at (0,17) size 765x182
                 text run at (0,17) width 698: "This element should be in a sans-serif font, italicized and small caps, with a weight of 100. "
                 text run at (697,17) width 68: "Its font-"
    @@ -123,12 +123,12 @@ layer at (0,0) size 785x4269
             RenderTableSection {TBODY} at (1,1) size 767x2429
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x2403
                 RenderTableCell {TD} at (0,1214) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,1192) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x2403 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    @@ -160,10 +160,10 @@ layer at (0,0) size 785x4269
                       text run at (0,5) width 619: "This element should be in a cursive font, 'small' in size, with a line-height 200% the height of the text's actual size. "
                       text run at (619,5) width 101: "For example, if the"
                       text run at (0,31) width 83: "font-size value "
    -                RenderInline {CODE} at (0,0) size 30x11
    +                RenderInline {CODE} at (83,35) size 30x11
                       RenderText {#text} at (83,35) size 30x11
                         text run at (83,35) width 30: "small"
    -                RenderText {#text} at (113,31) size 737x43
    +                RenderText {#text} at (0,31) size 737x43
                       text run at (113,31) width 321: " is calculated at 10px, then the line-height should be 20px. "
                       text run at (434,31) width 274: "The actual value of the font-size is UA-dependent. "
                       text run at (708,31) width 29: "Extra"
    @@ -216,7 +216,7 @@ layer at (0,0) size 785x4269
                       text run at (0,39) width 193: "shoud be 2.5 times that, or 24px. "
                       text run at (192,39) width 394: "Extra text is included for the purposes of testing this more effectively."
                   RenderBlock {P} at (4,1966) size 747x433
    -                RenderInline {SPAN} at (0,0) size 747x387 [bgcolor=#C0C0C0]
    +                RenderInline {SPAN} at (0,22) size 747x387 [bgcolor=#C0C0C0]
                       RenderText {#text} at (0,22) size 747x387
                         text run at (0,22) width 701: "This element should be in a sans-serif font, italicized and small caps,"
                         text run at (0,94) width 225: "with a weight of 100. "
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font_family-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font_family-expected.txt
    index f1639ceb4f38..74953356265e 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font_family-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font_family-expected.txt
    @@ -75,12 +75,12 @@ layer at (0,0) size 785x1257
             RenderTableSection {TBODY} at (1,1) size 767x530
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x504
                 RenderTableCell {TD} at (0,265) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,243) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x504 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {DIV} at (4,4) size 747x185
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font_size-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font_size-expected.txt
    index baf9a765ddf0..b7a5f53513ac 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font_size-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font_size-expected.txt
    @@ -53,7 +53,7 @@ layer at (0,0) size 785x2810
           RenderBlock {P} at (0,399) size 769x18
             RenderText {#text} at (0,0) size 186x17
               text run at (0,0) width 186: "This sentence has been set to "
    -        RenderInline {CODE} at (0,0) size 48x15
    +        RenderInline {CODE} at (186,3) size 48x15
               RenderText {#text} at (186,3) size 48x15
                 text run at (186,3) width 48: "medium"
             RenderText {#text} at (234,0) size 361x17
    @@ -67,7 +67,7 @@ layer at (0,0) size 785x2810
           RenderBlock {P} at (0,506) size 769x19
             RenderText {#text} at (0,6) size 305x10
               text run at (0,6) width 305: "This sentence should be very small, but the last word in the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 52x17
    +        RenderInline {SPAN} at (304,0) size 52x17
               RenderText {#text} at (304,0) size 52x17
                 text run at (304,0) width 52: "medium"
             RenderText {#text} at (355,6) size 3x10
    @@ -75,7 +75,7 @@ layer at (0,0) size 785x2810
           RenderBlock {P} at (0,534) size 769x19
             RenderText {#text} at (0,5) size 327x11
               text run at (0,5) width 327: "This sentence should be rather small, but the last word in the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 51x17
    +        RenderInline {SPAN} at (327,0) size 51x17
               RenderText {#text} at (327,0) size 51x17
                 text run at (327,0) width 51: "medium"
             RenderText {#text} at (378,5) size 3x11
    @@ -83,7 +83,7 @@ layer at (0,0) size 785x2810
           RenderBlock {P} at (0,565) size 769x19
             RenderText {#text} at (0,2) size 401x15
               text run at (0,2) width 401: "This sentence should be small, but the last word in the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 51x17
    +        RenderInline {SPAN} at (401,0) size 51x17
               RenderText {#text} at (401,0) size 51x17
                 text run at (401,0) width 51: "medium"
             RenderText {#text} at (452,2) size 3x15
    @@ -91,7 +91,7 @@ layer at (0,0) size 785x2810
           RenderBlock {P} at (0,601) size 769x22
             RenderText {#text} at (0,0) size 540x20
               text run at (0,0) width 540: "This sentence should be large, but the last word in the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 52x17
    +        RenderInline {SPAN} at (539,2) size 52x17
               RenderText {#text} at (539,2) size 52x17
                 text run at (539,2) width 52: "medium"
             RenderText {#text} at (590,0) size 6x20
    @@ -100,7 +100,7 @@ layer at (0,0) size 785x2810
             RenderText {#text} at (0,0) size 745x53
               text run at (0,0) width 745: "This sentence should be rather large, but the last word in the sentence should"
               text run at (0,27) width 29: "be "
    -        RenderInline {SPAN} at (0,0) size 51x17
    +        RenderInline {SPAN} at (29,34) size 51x17
               RenderText {#text} at (29,34) size 51x17
                 text run at (29,34) width 51: "medium"
             RenderText {#text} at (80,27) size 6x26
    @@ -109,7 +109,7 @@ layer at (0,0) size 785x2810
             RenderText {#text} at (0,0) size 752x73
               text run at (0,0) width 752: "This sentence should be very large, but the last word in the"
               text run at (0,37) width 248: "sentence should be "
    -        RenderInline {SPAN} at (0,0) size 51x17
    +        RenderInline {SPAN} at (248,52) size 51x17
               RenderText {#text} at (248,52) size 51x17
                 text run at (248,52) width 51: "medium"
             RenderText {#text} at (299,37) size 8x36
    @@ -149,12 +149,12 @@ layer at (0,0) size 785x2810
             RenderTableSection {TBODY} at (1,1) size 767x1223
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1197
                 RenderTableCell {TD} at (0,611) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,589) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1197 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -163,7 +163,7 @@ layer at (0,0) size 785x2810
                   RenderBlock {P} at (4,38) size 747x18
                     RenderText {#text} at (0,0) size 186x17
                       text run at (0,0) width 186: "This sentence has been set to "
    -                RenderInline {CODE} at (0,0) size 48x15
    +                RenderInline {CODE} at (186,3) size 48x15
                       RenderText {#text} at (186,3) size 48x15
                         text run at (186,3) width 48: "medium"
                     RenderText {#text} at (234,0) size 361x17
    @@ -177,7 +177,7 @@ layer at (0,0) size 785x2810
                   RenderBlock {P} at (4,145) size 747x19
                     RenderText {#text} at (0,6) size 305x10
                       text run at (0,6) width 305: "This sentence should be very small, but the last word in the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 52x17
    +                RenderInline {SPAN} at (304,0) size 52x17
                       RenderText {#text} at (304,0) size 52x17
                         text run at (304,0) width 52: "medium"
                     RenderText {#text} at (355,6) size 3x10
    @@ -185,7 +185,7 @@ layer at (0,0) size 785x2810
                   RenderBlock {P} at (4,173) size 747x19
                     RenderText {#text} at (0,5) size 327x11
                       text run at (0,5) width 327: "This sentence should be rather small, but the last word in the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 51x17
    +                RenderInline {SPAN} at (327,0) size 51x17
                       RenderText {#text} at (327,0) size 51x17
                         text run at (327,0) width 51: "medium"
                     RenderText {#text} at (378,5) size 3x11
    @@ -193,7 +193,7 @@ layer at (0,0) size 785x2810
                   RenderBlock {P} at (4,204) size 747x19
                     RenderText {#text} at (0,2) size 401x15
                       text run at (0,2) width 401: "This sentence should be small, but the last word in the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 51x17
    +                RenderInline {SPAN} at (401,0) size 51x17
                       RenderText {#text} at (401,0) size 51x17
                         text run at (401,0) width 51: "medium"
                     RenderText {#text} at (452,2) size 3x15
    @@ -201,7 +201,7 @@ layer at (0,0) size 785x2810
                   RenderBlock {P} at (4,240) size 747x22
                     RenderText {#text} at (0,0) size 540x20
                       text run at (0,0) width 540: "This sentence should be large, but the last word in the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 52x17
    +                RenderInline {SPAN} at (539,2) size 52x17
                       RenderText {#text} at (539,2) size 52x17
                         text run at (539,2) width 52: "medium"
                     RenderText {#text} at (590,0) size 6x20
    @@ -210,7 +210,7 @@ layer at (0,0) size 785x2810
                     RenderText {#text} at (0,0) size 745x53
                       text run at (0,0) width 745: "This sentence should be rather large, but the last word in the sentence should"
                       text run at (0,27) width 29: "be "
    -                RenderInline {SPAN} at (0,0) size 51x17
    +                RenderInline {SPAN} at (29,34) size 51x17
                       RenderText {#text} at (29,34) size 51x17
                         text run at (29,34) width 51: "medium"
                     RenderText {#text} at (80,27) size 6x26
    @@ -219,7 +219,7 @@ layer at (0,0) size 785x2810
                     RenderText {#text} at (0,0) size 705x73
                       text run at (0,0) width 705: "This sentence should be very large, but the last word in"
                       text run at (0,37) width 295: "the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 51x17
    +                RenderInline {SPAN} at (295,52) size 51x17
                       RenderText {#text} at (295,52) size 51x17
                         text run at (295,52) width 51: "medium"
                     RenderText {#text} at (346,37) size 8x36
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font_style-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font_style-expected.txt
    index 51b068dd6e0a..c916486af8ba 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font_style-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font_style-expected.txt
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,125) size 784x18
             RenderText {#text} at (0,0) size 501x17
               text run at (0,0) width 501: "This paragraph should be in italics, but the last word of the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 45x17
    +        RenderInline {SPAN} at (500,0) size 45x17
               RenderText {#text} at (500,0) size 45x17
                 text run at (500,0) width 45: "normal"
             RenderText {#text} at (544,0) size 5x17
    @@ -35,18 +35,18 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 569x120
               RenderTableRow {TR} at (0,0) size 569x26
                 RenderTableCell {TD} at (0,0) size 569x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 569x94
                 RenderTableCell {TD} at (0,60) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,38) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 557x94 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 549x18
                     RenderText {#text} at (0,0) size 501x17
                       text run at (0,0) width 501: "This paragraph should be in italics, but the last word of the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 45x17
    +                RenderInline {SPAN} at (500,0) size 45x17
                       RenderText {#text} at (500,0) size 45x17
                         text run at (500,0) width 45: "normal"
                     RenderText {#text} at (544,0) size 5x17
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font_variant-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font_variant-expected.txt
    index 06fbf3423995..104de765654f 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font_variant-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font_variant-expected.txt
    @@ -19,7 +19,7 @@ layer at (0,0) size 800x600
           RenderBlock {P} at (0,144) size 784x18
             RenderText {#text} at (0,0) size 574x17
               text run at (0,0) width 574: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
    -        RenderInline {SPAN} at (0,0) size 48x17
    +        RenderInline {SPAN} at (574,0) size 48x17
               RenderText {#text} at (574,0) size 48x17
                 text run at (574,0) width 48: "Normal"
             RenderText {#text} at (622,0) size 4x17
    @@ -28,12 +28,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 646x86
               RenderTableRow {TR} at (0,0) size 646x26
                 RenderTableCell {TD} at (0,0) size 646x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 646x60
                 RenderTableCell {TD} at (0,43) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,21) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 634x60 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 626x18
    @@ -42,7 +42,7 @@ layer at (0,0) size 800x600
                   RenderBlock {P} at (4,38) size 626x18
                     RenderText {#text} at (0,0) size 574x17
                       text run at (0,0) width 574: "This Paragraph should be in Small Caps, but the Last Word in the Sentence should be "
    -                RenderInline {SPAN} at (0,0) size 48x17
    +                RenderInline {SPAN} at (574,0) size 48x17
                       RenderText {#text} at (574,0) size 48x17
                         text run at (574,0) width 48: "Normal"
                     RenderText {#text} at (622,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/font_properties/font_weight-expected.txt b/LayoutTests/platform/glib/css1/font_properties/font_weight-expected.txt
    index d40c6690e1e0..d15a0f661714 100644
    --- a/LayoutTests/platform/glib/css1/font_properties/font_weight-expected.txt
    +++ b/LayoutTests/platform/glib/css1/font_properties/font_weight-expected.txt
    @@ -64,7 +64,7 @@ layer at (0,0) size 785x1046
           RenderBlock {P} at (0,585) size 769x19
             RenderText {#text} at (0,0) size 493x17
               text run at (0,0) width 493: "This sentence should be bold, but the last word in the sentence should be "
    -        RenderInline {SPAN} at (0,0) size 44x17
    +        RenderInline {SPAN} at (493,0) size 44x17
               RenderText {#text} at (493,0) size 44x17
                 text run at (493,0) width 44: "normal"
             RenderText {#text} at (537,0) size 4x17
    @@ -73,12 +73,12 @@ layer at (0,0) size 785x1046
             RenderTableSection {TBODY} at (1,1) size 561x408
               RenderTableRow {TR} at (0,0) size 561x26
                 RenderTableCell {TD} at (0,0) size 561x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 561x382
                 RenderTableCell {TD} at (0,203) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,181) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 549x382 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 541x18
    @@ -116,7 +116,7 @@ layer at (0,0) size 785x1046
                   RenderBlock {P} at (4,359) size 541x19
                     RenderText {#text} at (0,0) size 493x17
                       text run at (0,0) width 493: "This sentence should be bold, but the last word in the sentence should be "
    -                RenderInline {SPAN} at (0,0) size 44x17
    +                RenderInline {SPAN} at (493,0) size 44x17
                       RenderText {#text} at (493,0) size 44x17
                         text run at (493,0) width 44: "normal"
                     RenderText {#text} at (537,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/canvas-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/canvas-expected.txt
    index fe8581bde6a0..f4f133e410ef 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/canvas-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/canvas-expected.txt
    @@ -23,12 +23,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 748x88
               RenderTableRow {TR} at (0,0) size 748x26
                 RenderTableCell {TD} at (0,0) size 748x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 748x62
                 RenderTableCell {TD} at (0,44) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,22) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 736x62 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 728x54
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/floating_elements-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/floating_elements-expected.txt
    index 1926fa551410..18ca7d44482a 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/floating_elements-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/floating_elements-expected.txt
    @@ -51,7 +51,7 @@ layer at (0,0) size 785x6281
           RenderBlock {DIV} at (2,404) size 765x64 [border: (5px solid #800080)]
             RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
             RenderImage {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (20,5) size 726x53
    +        RenderText {#text} at (5,5) size 726x53
               text run at (20,5) width 175: "This is text within the DIV. "
               text run at (194,5) width 537: "The floating images within this DIV should not go beyond the left or right inner edge"
               text run at (20,23) width 707: "of this DIV, which means that the borders of the floating images should not overlap the top or side borders of the"
    @@ -69,7 +69,7 @@ layer at (0,0) size 785x6281
               RenderText {#text} at (17,17) size 127x35
                 text run at (17,17) width 127: "This is the third left-"
                 text run at (17,35) width 119: "floating paragraph."
    -        RenderText {#text} at (393,5) size 430x215
    +        RenderText {#text} at (5,5) size 430x215
               text run at (393,5) width 42: "This is"
               text run at (393,23) width 23: "text"
               text run at (393,41) width 40: "within"
    @@ -88,7 +88,7 @@ layer at (0,0) size 785x6281
             RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
             RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
             RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (317,5) size 350x179
    +        RenderText {#text} at (5,5) size 350x179
               text run at (317,5) width 28: "This"
               text run at (317,23) width 37: "is text"
               text run at (161,41) width 102: "within the DIV. "
    @@ -113,7 +113,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 139: "This is a right-floating"
                 text run at (17,35) width 132: "paragraph (second in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (199,5) size 304x339
    +        RenderText {#text} at (5,5) size 304x339
               text run at (199,5) width 69: "This is text"
               text run at (199,23) width 98: "within the DIV."
               text run at (199,41) width 77: "The floating"
    @@ -136,7 +136,7 @@ layer at (0,0) size 785x6281
           RenderBlock {DIV} at (2,1370) size 410x226 [border: (5px solid #800080)]
             RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
             RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (261,5) size 392x215
    +        RenderText {#text} at (5,5) size 392x215
               text run at (261,5) width 136: "This is text within the"
               text run at (261,23) width 35: "DIV. "
               text run at (295,23) width 78: "The floating"
    @@ -163,7 +163,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 130: "This is a left-floating"
                 text run at (17,35) width 132: "paragraph (second in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (199,5) size 549x107
    +        RenderText {#text} at (5,5) size 549x107
               text run at (199,5) width 175: "This is text within the DIV. "
               text run at (373,5) width 181: "The floating elements within"
               text run at (199,23) width 350: "this DIV should not go beyond the top side of this DIV,"
    @@ -175,7 +175,7 @@ layer at (0,0) size 785x6281
           RenderBlock {DIV} at (2,1782) size 765x64 [border: (5px solid #800080)]
             RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
             RenderImage {IMG} at (745,5) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (20,5) size 720x53
    +        RenderText {#text} at (5,5) size 720x53
               text run at (20,5) width 175: "This is text within the DIV. "
               text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
               text run at (20,23) width 705: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in any"
    @@ -190,7 +190,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 130: "This is a left-floating"
                 text run at (17,35) width 112: "paragraph (first in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (381,5) size 543x35
    +        RenderText {#text} at (199,5) size 543x35
               text run at (381,5) width 361: " The floating elements within this DIV should not go any"
               text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
               text run at (676,23) width 12: "* "
    @@ -199,7 +199,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 139: "This is a right-floating"
                 text run at (17,35) width 132: "paragraph (second in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (688,23) size 755x107
    +        RenderText {#text} at (5,23) size 755x107
               text run at (688,23) width 72: "This means"
               text run at (199,41) width 349: "that the top side of each float can be, at most, as high as"
               text run at (199,59) width 352: "the top edge of the inline element containing the content"
    @@ -212,12 +212,12 @@ layer at (0,0) size 785x6281
               text run at (20,5) width 175: "This is text within the DIV. "
               text run at (194,5) width 9: "*"
             RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (202,5) size 686x35
    +        RenderText {#text} at (20,5) size 686x35
               text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
               text run at (20,23) width 323: "containing the inline content which precedes them. "
               text run at (343,23) width 12: "* "
             RenderImage {IMG} at (745,23) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (355,23) size 738x53
    +        RenderText {#text} at (5,23) size 738x53
               text run at (355,23) width 376: "This means that the top side of each float can be, at most, as"
               text run at (5,41) width 725: "high as the top edge of the inline element containing the content just before the floating images occur in the source. "
               text run at (730,41) width 13: "In"
    @@ -231,7 +231,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 130: "This is a left-floating"
                 text run at (17,35) width 112: "paragraph (first in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (381,5) size 543x35
    +        RenderText {#text} at (199,5) size 543x35
               text run at (381,5) width 361: " The floating elements within this DIV should not go any"
               text run at (199,23) width 477: "higher than the line-box containing the inline content which precedes them. "
               text run at (676,23) width 12: "* "
    @@ -240,7 +240,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 139: "This is a right-floating"
                 text run at (17,35) width 132: "paragraph (second in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (688,23) size 561x35
    +        RenderText {#text} at (199,23) size 561x35
               text run at (688,23) width 72: "This means"
               text run at (199,41) width 238: "that the top side of each float can be,*"
             RenderBlock (floating) {P} at (199,59) size 194x88 [bgcolor=#C0C0C0] [border: (1px solid #00FF00)]
    @@ -248,7 +248,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 130: "This is a left-floating"
                 text run at (17,35) width 117: "paragraph (third in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (437,41) size 274x107
    +        RenderText {#text} at (393,41) size 274x107
               text run at (437,41) width 119: " at most, as high as"
               text run at (393,59) width 156: "the top edge of the inline"
               text run at (393,77) width 142: "element containing the"
    @@ -261,7 +261,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 130: "This is a left-floating"
                 text run at (17,35) width 126: "paragraph (fourth in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (667,131) size 741x125
    +        RenderText {#text} at (5,131) size 741x125
               text run at (667,131) width 70: " In order to"
               text run at (587,149) width 159: "mark these points clearly,"
               text run at (587,167) width 125: "an asterisk has been"
    @@ -276,7 +276,7 @@ layer at (0,0) size 785x6281
               text run at (20,5) width 175: "This is text within the DIV. "
               text run at (194,5) width 9: "*"
             RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (202,5) size 671x35
    +        RenderText {#text} at (35,5) size 671x35
               text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
               text run at (35,23) width 323: "containing the inline content which precedes them. "
               text run at (358,23) width 12: "* "
    @@ -285,13 +285,13 @@ layer at (0,0) size 785x6281
               text run at (370,23) width 310: "This means that the top side of each float can be, "
               text run at (680,23) width 8: "*"
             RenderImage {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (688,23) size 721x53
    +        RenderText {#text} at (20,23) size 721x53
               text run at (688,23) width 53: " at most,"
               text run at (35,41) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
               text run at (20,59) width 49: "source. "
               text run at (69,59) width 8: "*"
             RenderImage {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (77,59) size 735x53
    +        RenderText {#text} at (5,59) size 735x53
               text run at (77,59) width 615: " In order to mark these points clearly, an asterisk has been inserted just before each floated image. "
               text run at (691,59) width 49: "If a line"
               text run at (20,77) width 700: "has room for a floated image, then the image should float so that its top is aligned with the top of the line-box in"
    @@ -312,7 +312,7 @@ layer at (0,0) size 785x6281
                 text run at (17,17) width 139: "This is a right-floating"
                 text run at (17,35) width 132: "paragraph (second in"
                 text run at (17,53) width 50: "source)."
    -        RenderText {#text} at (199,23) size 475x269
    +        RenderText {#text} at (5,23) size 475x269
               text run at (199,23) width 90: "text within the"
               text run at (199,41) width 35: "DIV. "
               text run at (233,41) width 41: "Under"
    @@ -336,7 +336,7 @@ layer at (0,0) size 785x6281
             RenderText {#text} at (74,5) size 12x17
               text run at (74,5) width 12: " *"
             RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
    -        RenderText {#text} at (86,5) size 480x215
    +        RenderText {#text} at (5,5) size 480x215
               text run at (86,5) width 133: " text within the DIV. "
               text run at (218,5) width 227: "Under CSS1, the left floating image"
               text run at (20,23) width 422: "should be placed in the upper left corner of the DIV, and the purple"
    @@ -355,12 +355,12 @@ layer at (0,0) size 785x6281
             RenderTableSection {TBODY} at (1,1) size 767x3041
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x3015
                 RenderTableCell {TD} at (0,1520) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,1498) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x3015 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
    @@ -390,7 +390,7 @@ layer at (0,0) size 785x6281
                   RenderBlock {DIV} at (6,226) size 743x64 [border: (5px solid #800080)]
                     RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                     RenderImage {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (20,5) size 716x53
    +                RenderText {#text} at (5,5) size 716x53
                       text run at (20,5) width 175: "This is text within the DIV. "
                       text run at (194,5) width 503: "The floating images within this DIV should not go beyond the left or right inner"
                       text run at (20,23) width 701: "edge of this DIV, which means that the borders of the floating images should not overlap the top or side borders"
    @@ -408,7 +408,7 @@ layer at (0,0) size 785x6281
                       RenderText {#text} at (17,17) size 127x35
                         text run at (17,17) width 127: "This is the third left-"
                         text run at (17,35) width 119: "floating paragraph."
    -                RenderText {#text} at (393,5) size 430x215
    +                RenderText {#text} at (5,5) size 430x215
                       text run at (393,5) width 42: "This is"
                       text run at (393,23) width 23: "text"
                       text run at (393,41) width 40: "within"
    @@ -427,7 +427,7 @@ layer at (0,0) size 785x6281
                     RenderImage {IMG} at (5,5) size 156x36 [border: (3px solid #000000)]
                     RenderImage {IMG} at (161,5) size 156x36 [border: (3px solid #000000)]
                     RenderImage {IMG} at (5,41) size 156x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (317,5) size 350x179
    +                RenderText {#text} at (5,5) size 350x179
                       text run at (317,5) width 28: "This"
                       text run at (317,23) width 37: "is text"
                       text run at (161,41) width 102: "within the DIV. "
    @@ -452,7 +452,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 139: "This is a right-floating"
                         text run at (17,35) width 132: "paragraph (second in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (199,5) size 304x339
    +                RenderText {#text} at (5,5) size 304x339
                       text run at (199,5) width 69: "This is text"
                       text run at (199,23) width 98: "within the DIV."
                       text run at (199,41) width 77: "The floating"
    @@ -475,7 +475,7 @@ layer at (0,0) size 785x6281
                   RenderBlock {DIV} at (6,1192) size 410x226 [border: (5px solid #800080)]
                     RenderImage {IMG} at (5,5) size 256x36 [border: (3px solid #000000)]
                     RenderImage {IMG} at (149,41) size 256x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (261,5) size 392x215
    +                RenderText {#text} at (5,5) size 392x215
                       text run at (261,5) width 136: "This is text within the"
                       text run at (261,23) width 35: "DIV. "
                       text run at (295,23) width 78: "The floating"
    @@ -502,7 +502,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 130: "This is a left-floating"
                         text run at (17,35) width 132: "paragraph (second in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (199,5) size 531x107
    +                RenderText {#text} at (5,5) size 531x107
                       text run at (199,5) width 175: "This is text within the DIV. "
                       text run at (373,5) width 137: "The floating elements"
                       text run at (199,23) width 333: "within this DIV should not go beyond the top side of"
    @@ -514,7 +514,7 @@ layer at (0,0) size 785x6281
                   RenderBlock {DIV} at (6,1604) size 743x64 [border: (5px solid #800080)]
                     RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
                     RenderImage {IMG} at (723,5) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (20,5) size 722x53
    +                RenderText {#text} at (5,5) size 722x53
                       text run at (20,5) width 175: "This is text within the DIV. "
                       text run at (194,5) width 524: "The floating images within this DIV should not go beyond the top side of this DIV,"
                       text run at (20,23) width 678: "which means that the borders of the floating images should not overlap the top or side borders of the DIV in"
    @@ -529,7 +529,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 130: "This is a left-floating"
                         text run at (17,35) width 112: "paragraph (first in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (381,5) size 516x35
    +                RenderText {#text} at (199,5) size 516x35
                       text run at (381,5) width 334: " The floating elements within this DIV should not go"
                       text run at (199,23) width 504: "any higher than the line-box containing the inline content which precedes them. "
                       text run at (703,23) width 8: "*"
    @@ -538,7 +538,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 139: "This is a right-floating"
                         text run at (17,35) width 132: "paragraph (second in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (199,41) size 538x89
    +                RenderText {#text} at (5,41) size 538x89
                       text run at (199,41) width 321: "This means that the top side of each float can be, at"
                       text run at (199,59) width 313: "most, as high as the top edge of the inline element"
                       text run at (199,77) width 343: "containing the content just before the floating elements"
    @@ -550,12 +550,12 @@ layer at (0,0) size 785x6281
                       text run at (20,5) width 175: "This is text within the DIV. "
                       text run at (194,5) width 9: "*"
                     RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (202,5) size 686x35
    +                RenderText {#text} at (20,5) size 686x35
                       text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
                       text run at (20,23) width 323: "containing the inline content which precedes them. "
                       text run at (343,23) width 12: "* "
                     RenderImage {IMG} at (723,23) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (355,23) size 709x53
    +                RenderText {#text} at (5,23) size 709x53
                       text run at (355,23) width 359: "This means that the top side of each float can be, at most,"
                       text run at (5,41) width 689: "as high as the top edge of the inline element containing the content just before the floating images occur in the"
                       text run at (5,59) width 49: "source. "
    @@ -569,7 +569,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 130: "This is a left-floating"
                         text run at (17,35) width 112: "paragraph (first in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (381,5) size 516x35
    +                RenderText {#text} at (199,5) size 516x35
                       text run at (381,5) width 334: " The floating elements within this DIV should not go"
                       text run at (199,23) width 504: "any higher than the line-box containing the inline content which precedes them. "
                       text run at (703,23) width 8: "*"
    @@ -585,7 +585,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 130: "This is a left-floating"
                         text run at (17,35) width 117: "paragraph (third in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (513,41) size 246x107
    +                RenderText {#text} at (393,41) size 246x107
                       text run at (513,41) width 15: " at"
                       text run at (393,59) width 147: "most, as high as the top"
                       text run at (393,77) width 109: "edge of the inline"
    @@ -598,7 +598,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 130: "This is a left-floating"
                         text run at (17,35) width 126: "paragraph (fourth in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (639,131) size 539x89
    +                RenderText {#text} at (199,131) size 539x89
                       text run at (639,131) width 70: " In order to"
                       text run at (199,149) width 491: "mark these points clearly, an asterisk has been inserted just before each floated"
                       text run at (199,167) width 57: "element. "
    @@ -611,7 +611,7 @@ layer at (0,0) size 785x6281
                       text run at (20,5) width 175: "This is text within the DIV. "
                       text run at (194,5) width 9: "*"
                     RenderImage {IMG} at (5,5) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (202,5) size 671x35
    +                RenderText {#text} at (35,5) size 671x35
                       text run at (202,5) width 504: " The floating images within this DIV should not go any higher than the line-box"
                       text run at (35,23) width 323: "containing the inline content which precedes them. "
                       text run at (358,23) width 12: "* "
    @@ -620,13 +620,13 @@ layer at (0,0) size 785x6281
                       text run at (370,23) width 310: "This means that the top side of each float can be, "
                       text run at (680,23) width 8: "*"
                     RenderImage {IMG} at (20,23) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (688,23) size 703x53
    +                RenderText {#text} at (20,23) size 703x53
                       text run at (688,23) width 15: " at"
                       text run at (35,41) width 688: "most, as high as the top edge of the inline element containing the content just before the floating images occur"
                       text run at (20,59) width 88: "in the source. "
                       text run at (108,59) width 8: "*"
                     RenderImage {IMG} at (5,59) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (116,59) size 727x53
    +                RenderText {#text} at (5,59) size 727x53
                       text run at (116,59) width 611: " In order to mark these points clearly, an asterisk has been inserted just before each floated image."
                       text run at (20,77) width 712: "If a line has room for a floated image, then the image should float so that its top is aligned with the top of the line-"
                       text run at (5,95) width 217: "box in which the asterisk appears. "
    @@ -646,7 +646,7 @@ layer at (0,0) size 785x6281
                         text run at (17,17) width 139: "This is a right-floating"
                         text run at (17,35) width 132: "paragraph (second in"
                         text run at (17,53) width 50: "source)."
    -                RenderText {#text} at (199,23) size 475x269
    +                RenderText {#text} at (5,23) size 475x269
                       text run at (199,23) width 90: "text within the"
                       text run at (199,41) width 35: "DIV. "
                       text run at (233,41) width 41: "Under"
    @@ -670,7 +670,7 @@ layer at (0,0) size 785x6281
                     RenderText {#text} at (74,5) size 12x17
                       text run at (74,5) width 12: " *"
                     RenderImage {IMG} at (470,5) size 15x36 [border: (3px solid #000000)]
    -                RenderText {#text} at (86,5) size 480x215
    +                RenderText {#text} at (5,5) size 480x215
                       text run at (86,5) width 133: " text within the DIV. "
                       text run at (218,5) width 227: "Under CSS1, the left floating image"
                       text run at (20,23) width 422: "should be placed in the upper left corner of the DIV, and the purple"
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/height_of_lines-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/height_of_lines-expected.txt
    index 9506b1cc651a..ee41d38b8b68 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/height_of_lines-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/height_of_lines-expected.txt
    @@ -52,7 +52,7 @@ layer at (0,0) size 785x2327
             RenderText {#text} at (495,225) size 29x15
               text run at (495,225) width 29: " and "
             RenderImage {IMG} at (523,225) size 201x200
    -        RenderText {#text} at (723,225) size 757x237
    +        RenderText {#text} at (0,225) size 757x237
               text run at (723,225) width 9: ". "
               text run at (731,225) width 26: "This"
               text run at (0,427) width 744: "is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-top"
    @@ -68,7 +68,7 @@ layer at (0,0) size 785x2327
             RenderText {#text} at (555,185) size 29x15
               text run at (555,185) width 29: " and "
             RenderImage {IMG} at (598,200) size 131x130 [border: (10px solid #000000)]
    -        RenderText {#text} at (743,185) size 759x256
    +        RenderText {#text} at (0,185) size 759x257
               text run at (743,185) width 5: "."
               text run at (0,347) width 755: "This is additional text to make sure that there is enough room left below the image so that this line does not hit the image that is text-"
               text run at (0,367) width 71: "top aligned. "
    @@ -76,7 +76,7 @@ layer at (0,0) size 785x2327
               text run at (0,387) width 759: "the bottom border of the image should begin 15px above the bottom of the text, and for the second image the top border should begin"
               text run at (0,426) width 175: "15px below the top of the text "
             RenderImage {IMG} at (164,395) size 81x80 [border: (10px solid #000000)]
    -        RenderText {#text} at (234,426) size 755x56
    +        RenderText {#text} at (0,426) size 755x56
               text run at (234,426) width 9: ". "
               text run at (242,426) width 513: "The last image in this paragraph has -10px margins set on it, so that should pull the text in"
               text run at (0,467) width 443: "toward the image in the vertical direction, and also in the horizontal direction."
    @@ -84,12 +84,12 @@ layer at (0,0) size 785x2327
             RenderTableSection {TBODY} at (1,1) size 767x998
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x972
                 RenderTableCell {TD} at (0,499) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,477) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x972 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x465
    @@ -103,7 +103,7 @@ layer at (0,0) size 785x2327
                     RenderText {#text} at (571,225) size 25x15
                       text run at (571,225) width 25: " and"
                     RenderImage {IMG} at (0,245) size 200x200
    -                RenderText {#text} at (200,245) size 741x217
    +                RenderText {#text} at (0,245) size 741x217
                       text run at (200,245) width 8: ". "
                       text run at (208,245) width 533: "This is additional text to make sure that there is enough room left below the image so that this"
                       text run at (0,447) width 285: "line does not hit the image that is text-top aligned."
    @@ -118,7 +118,7 @@ layer at (0,0) size 785x2327
                     RenderText {#text} at (604,185) size 25x15
                       text run at (604,185) width 25: " and"
                     RenderImage {IMG} at (15,220) size 130x130 [border: (10px solid #000000)]
    -                RenderText {#text} at (160,205) size 736x236
    +                RenderText {#text} at (0,205) size 736x237
                       text run at (160,205) width 8: ". "
                       text run at (168,205) width 558: "This is additional text to make sure that there is enough room left below the image so that this line"
                       text run at (0,367) width 264: "does not hit the image that is text-top aligned. "
    @@ -126,7 +126,7 @@ layer at (0,0) size 785x2327
                       text run at (0,387) width 730: "this paragraph, so for the first image the bottom border of the image should begin 15px above the bottom of the text, and for the"
                       text run at (0,426) width 415: "second image the top border should begin 15px below the top of the text "
                     RenderImage {IMG} at (404,395) size 81x80 [border: (10px solid #000000)]
    -                RenderText {#text} at (474,426) size 724x56
    +                RenderText {#text} at (0,426) size 724x56
                       text run at (474,426) width 9: ". "
                       text run at (482,426) width 242: "The last image in this paragraph has -10px"
                       text run at (0,467) width 714: "margins set on it, so that should pull the text in toward the image in the vertical direction, and also in the horizontal direction."
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/horizontal_formatting-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/horizontal_formatting-expected.txt
    index 4c604f012b89..a8ceb4be7a06 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/horizontal_formatting-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/horizontal_formatting-expected.txt
    @@ -53,10 +53,10 @@ layer at (0,0) size 785x726
             RenderText {#text} at (0,0) size 370x35
               text run at (0,0) width 370: "Since auto is an invalid value for padding, the right-margin"
               text run at (0,18) width 224: "of this paragraph should be reset to "
    -        RenderInline {CODE} at (0,0) size 32x15
    +        RenderInline {CODE} at (224,21) size 32x15
               RenderText {#text} at (224,21) size 32x15
                 text run at (224,21) width 32: "auto"
    -        RenderText {#text} at (256,18) size 369x53
    +        RenderText {#text} at (0,18) size 369x53
               text run at (256,18) width 76: " and thus be"
               text run at (0,36) width 369: "expanded to 50% and it should only occupy the left half of"
               text run at (0,54) width 83: "the viewport."
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/inline_elements-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/inline_elements-expected.txt
    index a5d96c96ee06..b15fbd988669 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/inline_elements-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/inline_elements-expected.txt
    @@ -24,8 +24,8 @@ layer at (0,0) size 785x779
           RenderBlock {P} at (0,170) size 769x192
             RenderText {#text} at (0,7) size 187x17
               text run at (0,7) width 187: "This is a paragraph that has a "
    -        RenderInline {SPAN} at (0,0) size 762x171 [border: (10px solid #FF0000)]
    -          RenderText {#text} at (239,7) size 762x145
    +        RenderInline {SPAN} at (0,-6) size 762x171 [border: (10px solid #FF0000)]
    +          RenderText {#text} at (0,7) size 762x145
                 text run at (239,7) width 523: "very long span in it, and the span has a 10px red border separated from the span by"
                 text run at (0,39) width 167: "2pt, and a margin of 30pt. "
                 text run at (166,39) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
    @@ -34,15 +34,15 @@ layer at (0,0) size 785x779
                 text run at (0,103) width 388: "should all be noticeable at the beginning and end of the span. "
                 text run at (388,103) width 366: "However, the line height should not be changed by any of"
                 text run at (0,135) width 585: "them, so the margin should be unnoticeable and the border should overlap text on other lines."
    -        RenderText {#text} at (637,135) size 762x49
    +        RenderText {#text} at (0,135) size 762x49
               text run at (637,135) width 5: " "
               text run at (641,135) width 121: "The line spacing in"
               text run at (0,167) width 336: "the whole paragraph should be 200% of the font size."
           RenderBlock {P} at (0,378) size 769x64
             RenderText {#text} at (0,0) size 159x15
               text run at (0,0) width 159: "This is a paragraph that has a "
    -        RenderInline {SPAN} at (0,0) size 768x93 [border: (12px solid #FF0000)]
    -          RenderText {#text} at (173,0) size 768x63
    +        RenderInline {SPAN} at (0,-15) size 768x93 [border: (12px solid #FF0000)]
    +          RenderText {#text} at (0,0) size 768x63
                 text run at (173,0) width 553: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
                 text run at (0,16) width 768: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the padding"
                 text run at (0,32) width 240: "and border should not effect the line height. "
    @@ -55,19 +55,19 @@ layer at (0,0) size 785x779
             RenderTableSection {TBODY} at (1,1) size 767x306
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x280
                 RenderTableCell {TD} at (0,153) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,131) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x280 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x192
                     RenderText {#text} at (0,7) size 187x17
                       text run at (0,7) width 187: "This is a paragraph that has a "
    -                RenderInline {SPAN} at (0,0) size 747x171 [border: (10px solid #FF0000)]
    -                  RenderText {#text} at (239,7) size 747x145
    +                RenderInline {SPAN} at (0,-6) size 747x171 [border: (10px solid #FF0000)]
    +                  RenderText {#text} at (0,7) size 747x145
                         text run at (239,7) width 503: "very long span in it, and the span has a 10px red border separated from the span"
                         text run at (0,39) width 187: "by 2pt, and a margin of 30pt. "
                         text run at (186,39) width 561: "The padding and border should be present on all sides of the span (although vertical lines"
    @@ -76,15 +76,15 @@ layer at (0,0) size 785x779
                         text run at (0,103) width 388: "should all be noticeable at the beginning and end of the span. "
                         text run at (388,103) width 349: "However, the line height should not be changed by any"
                         text run at (0,135) width 602: "of them, so the margin should be unnoticeable and the border should overlap text on other lines."
    -                RenderText {#text} at (654,135) size 711x49
    +                RenderText {#text} at (0,135) size 711x49
                       text run at (654,135) width 5: " "
                       text run at (658,135) width 53: "The line"
                       text run at (0,167) width 404: "spacing in the whole paragraph should be 200% of the font size."
                   RenderBlock {P} at (4,212) size 747x64
                     RenderText {#text} at (0,0) size 159x15
                       text run at (0,0) width 159: "This is a paragraph that has a "
    -                RenderInline {SPAN} at (0,0) size 726x93 [border: (12px solid #FF0000)]
    -                  RenderText {#text} at (173,0) size 726x63
    +                RenderInline {SPAN} at (0,-15) size 726x93 [border: (12px solid #FF0000)]
    +                  RenderText {#text} at (0,0) size 726x63
                         text run at (173,0) width 553: "very long span in it, and the span has a 12px red border separated from the span by 2pt of padding (the"
                         text run at (0,16) width 720: "difference between the line-height and the font-size), which should overlap with the lines of text above and below the span, since the"
                         text run at (0,32) width 288: "padding and border should not effect the line height. "
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/replaced_elements-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/replaced_elements-expected.txt
    index fa48dd4e682d..fe7d289e66f7 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/replaced_elements-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/replaced_elements-expected.txt
    @@ -52,12 +52,12 @@ layer at (0,0) size 785x2339
             RenderTableSection {TBODY} at (1,1) size 767x1066
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1040
                 RenderTableCell {TD} at (0,533) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,511) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1040 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x19
    diff --git a/LayoutTests/platform/glib/css1/formatting_model/vertical_formatting-expected.txt b/LayoutTests/platform/glib/css1/formatting_model/vertical_formatting-expected.txt
    index fc5c5181e890..b2f73e733850 100644
    --- a/LayoutTests/platform/glib/css1/formatting_model/vertical_formatting-expected.txt
    +++ b/LayoutTests/platform/glib/css1/formatting_model/vertical_formatting-expected.txt
    @@ -106,12 +106,12 @@ layer at (0,0) size 785x2487
             RenderTableSection {TBODY} at (1,1) size 767x1061
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1035
                 RenderTableCell {TD} at (0,530) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,508) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1035 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    diff --git a/LayoutTests/platform/glib/css1/pseudo/anchor-expected.txt b/LayoutTests/platform/glib/css1/pseudo/anchor-expected.txt
    index c0b524dc8199..e7f8c6143fd8 100644
    --- a/LayoutTests/platform/glib/css1/pseudo/anchor-expected.txt
    +++ b/LayoutTests/platform/glib/css1/pseudo/anchor-expected.txt
    @@ -75,10 +75,10 @@ layer at (0,0) size 785x683
           RenderBlock {P} at (0,349) size 769x36
             RenderText {#text} at (0,0) size 120x17
               text run at (0,0) width 120: "The quoted word \""
    -        RenderInline {A} at (0,0) size 43x17 [color=#008000]
    +        RenderInline {A} at (120,0) size 43x17 [color=#008000]
               RenderText {#text} at (120,0) size 43x17
                 text run at (120,0) width 43: "anchor"
    -        RenderText {#text} at (163,0) size 731x35
    +        RenderText {#text} at (0,0) size 731x35
               text run at (163,0) width 376: "\" should be green, NOT purple, since it's part of an anchor. "
               text run at (538,0) width 193: "It's a named anchor, and styles"
               text run at (0,18) width 350: "declared for the A tag are applied to them under CSS1. "
    @@ -87,12 +87,12 @@ layer at (0,0) size 785x683
             RenderTableSection {TBODY} at (1,1) size 767x264
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 768x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x238
                 RenderTableCell {TD} at (0,132) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,110) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 756x238 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -151,10 +151,10 @@ layer at (0,0) size 785x683
                   RenderBlock {P} at (4,198) size 747x36
                     RenderText {#text} at (0,0) size 120x17
                       text run at (0,0) width 120: "The quoted word \""
    -                RenderInline {A} at (0,0) size 43x17 [color=#008000]
    +                RenderInline {A} at (120,0) size 43x17 [color=#008000]
                       RenderText {#text} at (120,0) size 43x17
                         text run at (120,0) width 43: "anchor"
    -                RenderText {#text} at (163,0) size 731x35
    +                RenderText {#text} at (0,0) size 731x35
                       text run at (163,0) width 376: "\" should be green, NOT purple, since it's part of an anchor. "
                       text run at (538,0) width 193: "It's a named anchor, and styles"
                       text run at (0,18) width 350: "declared for the A tag are applied to them under CSS1. "
    diff --git a/LayoutTests/platform/glib/css1/pseudo/firstletter-expected.txt b/LayoutTests/platform/glib/css1/pseudo/firstletter-expected.txt
    index 74e24acf9ed0..c37c0ea1fd2f 100644
    --- a/LayoutTests/platform/glib/css1/pseudo/firstletter-expected.txt
    +++ b/LayoutTests/platform/glib/css1/pseudo/firstletter-expected.txt
    @@ -22,7 +22,7 @@ layer at (0,0) size 785x711
             RenderInline (generated) at (0,0) size 10x17 [color=#800000]
               RenderText at (0,0) size 10x17
                 text run at (0,0) width 10: "T"
    -        RenderText {#text} at (10,0) size 764x53
    +        RenderText {#text} at (0,0) size 764x53
               text run at (10,0) width 434: "he first letter of this paragraph, and only that one, should be maroon. "
               text run at (444,0) width 320: "If this precise combination does not occur, then the"
               text run at (0,18) width 187: "user agent has failed this test. "
    @@ -32,17 +32,17 @@ layer at (0,0) size 785x711
             RenderInline (generated) at (0,0) size 20x36 [color=#800000]
               RenderText at (0,0) size 20x36
                 text run at (0,0) width 20: "T"
    -        RenderText {#text} at (20,15) size 757x57
    +        RenderText {#text} at (0,15) size 757x57
               text run at (20,15) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
               text run at (630,15) width 85: "If this precise"
               text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
               text run at (422,37) width 335: "Remember that in order to ensure a complete test, the"
               text run at (0,55) width 325: "paragraph must be displayed on more than one line."
           RenderBlock {P} at (0,284) size 769x100
    -        RenderInline (generated) at (0,0) size 76x62 [color=#800000]
    +        RenderInline (generated) at (0,1) size 76x62 [color=#800000]
               RenderText at (0,1) size 76x62
                 text run at (0,1) width 76: "\"W"
    -        RenderText {#text} at (76,37) size 760x62
    +        RenderText {#text} at (0,37) size 760x62
               text run at (76,37) width 319: "e should check for quotation support,\" it was said. "
               text run at (395,37) width 365: "The first two characters in this paragraph-- a double-quote"
               text run at (0,64) width 578: "mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
    @@ -52,19 +52,19 @@ layer at (0,0) size 785x711
             RenderTableSection {TBODY} at (1,1) size 767x293
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x267
                 RenderTableCell {TD} at (0,146) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,124) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x267 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
                     RenderInline (generated) at (0,0) size 10x17 [color=#800000]
                       RenderText at (0,0) size 10x17
                         text run at (0,0) width 10: "T"
    -                RenderText {#text} at (10,0) size 741x53
    +                RenderText {#text} at (0,0) size 741x53
                       text run at (10,0) width 434: "he first letter of this paragraph, and only that one, should be maroon. "
                       text run at (444,0) width 297: "If this precise combination does not occur, then"
                       text run at (0,18) width 210: "the user agent has failed this test. "
    @@ -74,17 +74,17 @@ layer at (0,0) size 785x711
                     RenderInline (generated) at (0,0) size 20x36 [color=#800000]
                       RenderText at (0,0) size 20x36
                         text run at (0,0) width 20: "T"
    -                RenderText {#text} at (20,15) size 734x57
    +                RenderText {#text} at (0,15) size 734x57
                       text run at (20,15) width 611: "he first letter of this paragraph, and only that one, should be a larger font size, as well as maroon. "
                       text run at (630,15) width 85: "If this precise"
                       text run at (0,37) width 423: "combination does not occur, then the user agent has failed this test. "
                       text run at (422,37) width 312: "Remember that in order to ensure a complete test,"
                       text run at (0,55) width 348: "the paragraph must be displayed on more than one line."
                   RenderBlock {P} at (4,163) size 747x100
    -                RenderInline (generated) at (0,0) size 76x62 [color=#800000]
    +                RenderInline (generated) at (0,1) size 76x62 [color=#800000]
                       RenderText at (0,1) size 76x62
                         text run at (0,1) width 76: "\"W"
    -                RenderText {#text} at (76,37) size 739x62
    +                RenderText {#text} at (0,37) size 739x62
                       text run at (76,37) width 319: "e should check for quotation support,\" it was said. "
                       text run at (395,37) width 330: "The first two characters in this paragraph-- a double-"
                       text run at (0,64) width 617: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon. "
    diff --git a/LayoutTests/platform/glib/css1/pseudo/firstline-expected.txt b/LayoutTests/platform/glib/css1/pseudo/firstline-expected.txt
    index 11719bf50330..44b1cf57ee6c 100644
    --- a/LayoutTests/platform/glib/css1/pseudo/firstline-expected.txt
    +++ b/LayoutTests/platform/glib/css1/pseudo/firstline-expected.txt
    @@ -34,10 +34,10 @@ layer at (0,0) size 785x655
               text run at (603,0) width 155: "Thus, if the first line is"
               text run at (0,18) width 762: "not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test (although"
               text run at (0,36) width 165: "the problem might be that "
    -        RenderInline {CODE} at (0,0) size 80x15
    +        RenderInline {CODE} at (165,39) size 80x15
               RenderText {#text} at (165,39) size 80x15
                 text run at (165,39) width 80: "small-caps"
    -        RenderText {#text} at (245,36) size 754x35
    +        RenderText {#text} at (0,36) size 754x35
               text run at (245,36) width 225: " is not supported by your browser). "
               text run at (470,36) width 284: "This is extra text included for the purposes of"
               text run at (0,54) width 395: "making the paragraph long enough to have more than one line."
    @@ -45,12 +45,12 @@ layer at (0,0) size 785x655
             RenderTableSection {TBODY} at (1,1) size 767x265
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x239
                 RenderTableCell {TD} at (0,132) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,110) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x239 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
    @@ -72,10 +72,10 @@ layer at (0,0) size 785x655
                       text run at (603,0) width 141: "Thus, if the first line"
                       text run at (0,18) width 712: "is not in small-caps style, OR if the entire paragraph turns out in small-caps, then the user agent has failed this test"
                       text run at (0,36) width 229: "(although the problem might be that "
    -                RenderInline {CODE} at (0,0) size 80x15
    +                RenderInline {CODE} at (229,39) size 80x15
                       RenderText {#text} at (229,39) size 80x15
                         text run at (229,39) width 80: "small-caps"
    -                RenderText {#text} at (309,36) size 741x35
    +                RenderText {#text} at (0,36) size 741x35
                       text run at (309,36) width 225: " is not supported by your browser). "
                       text run at (534,36) width 207: "This is extra text included for the"
                       text run at (0,54) width 472: "purposes of making the paragraph long enough to have more than one line."
    diff --git a/LayoutTests/platform/glib/css1/pseudo/multiple_pseudo_elements-expected.txt b/LayoutTests/platform/glib/css1/pseudo/multiple_pseudo_elements-expected.txt
    index 0b69ac750770..f58d5bf3d15b 100644
    --- a/LayoutTests/platform/glib/css1/pseudo/multiple_pseudo_elements-expected.txt
    +++ b/LayoutTests/platform/glib/css1/pseudo/multiple_pseudo_elements-expected.txt
    @@ -28,17 +28,17 @@ layer at (0,0) size 785x1030
             RenderInline (generated) at (0,0) size 10x17 [color=#800000]
               RenderText at (0,0) size 10x17
                 text run at (0,0) width 10: "T"
    -        RenderText {#text} at (10,0) size 764x53
    +        RenderText {#text} at (0,0) size 764x53
               text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
               text run at (0,18) width 43: "green. "
               text run at (43,18) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
               text run at (553,18) width 211: "Remember that in order to ensure"
               text run at (0,36) width 449: "a complete test, the paragraph must be displayed on more than one line."
           RenderBlock {P} at (0,240) size 769x183
    -        RenderInline (generated) at (0,0) size 68x124 [color=#800000]
    +        RenderInline (generated) at (0,2) size 68x124 [color=#800000]
               RenderText at (0,2) size 68x124
                 text run at (0,2) width 68: "T"
    -        RenderText {#text} at (68,73) size 751x109
    +        RenderText {#text} at (0,73) size 751x109
               text run at (68,73) width 634: "he first letter of this paragraph, and only that one,"
               text run at (0,129) width 736: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line"
               text run at (0,147) width 299: "should be 200% bigger than normal and green. "
    @@ -46,10 +46,10 @@ layer at (0,0) size 785x1030
               text run at (0,165) width 55: "this test. "
               text run at (55,165) width 663: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one line."
           RenderBlock {P} at (0,439) size 769x118
    -        RenderInline (generated) at (0,0) size 76x62 [color=#800000]
    +        RenderInline (generated) at (0,1) size 76x62 [color=#800000]
               RenderText at (0,1) size 76x62
                 text run at (0,1) width 76: "\"W"
    -        RenderText {#text} at (76,37) size 765x80
    +        RenderText {#text} at (0,37) size 765x80
               text run at (76,37) width 333: "e should check for quotation support,\" it was said. "
               text run at (408,37) width 356: "The first two characters in this paragraph-- a double-"
               text run at (0,64) width 683: "quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red). "
    @@ -60,29 +60,29 @@ layer at (0,0) size 785x1030
             RenderTableSection {TBODY} at (1,1) size 767x439
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x413
                 RenderTableCell {TD} at (0,219) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,197) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x413 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x54
                     RenderInline (generated) at (0,0) size 10x17 [color=#800000]
                       RenderText at (0,0) size 10x17
                         text run at (0,0) width 10: "T"
    -                RenderText {#text} at (10,0) size 727x53
    +                RenderText {#text} at (0,0) size 727x53
                       text run at (10,0) width 717: "he first letter of this paragraph, and only that one, should be maroon (dark red), while the entire first line should be"
                       text run at (0,18) width 43: "green. "
                       text run at (43,18) width 511: "If this precise combination does not occur, then the user agent has failed this test. "
                       text run at (553,18) width 166: "Remember that in order to"
                       text run at (0,36) width 494: "ensure a complete test, the paragraph must be displayed on more than one line."
                   RenderBlock {P} at (4,74) size 747x201
    -                RenderInline (generated) at (0,0) size 68x124 [color=#800000]
    +                RenderInline (generated) at (0,2) size 68x124 [color=#800000]
                       RenderText at (0,2) size 68x124
                         text run at (0,2) width 68: "T"
    -                RenderText {#text} at (68,73) size 736x127
    +                RenderText {#text} at (0,73) size 736x127
                       text run at (68,73) width 634: "he first letter of this paragraph, and only that one,"
                       text run at (0,129) width 736: "should be 350% bigger than the rest of the first line of this paragraph and maroon (dark red), while the entire first line"
                       text run at (0,147) width 299: "should be 200% bigger than normal and green. "
    @@ -91,10 +91,10 @@ layer at (0,0) size 785x1030
                       text run at (94,165) width 632: "Remember that in order to ensure a complete test, the paragraph must be displayed on more than one"
                       text run at (0,183) width 27: "line."
                   RenderBlock {P} at (4,291) size 747x118
    -                RenderInline (generated) at (0,0) size 76x62 [color=#800000]
    +                RenderInline (generated) at (0,1) size 76x62 [color=#800000]
                       RenderText at (0,1) size 76x62
                         text run at (0,1) width 76: "\"W"
    -                RenderText {#text} at (76,37) size 739x80
    +                RenderText {#text} at (0,37) size 739x80
                       text run at (76,37) width 333: "e should check for quotation support,\" it was said. "
                       text run at (408,37) width 302: "The first two characters in this paragraph-- a"
                       text run at (0,64) width 727: "double-quote mark and a capital 'W'-- should be 350% bigger than the rest of the paragraph, and maroon (dark red)."
    diff --git a/LayoutTests/platform/glib/css1/pseudo/pseudo_elements_in_selectors-expected.txt b/LayoutTests/platform/glib/css1/pseudo/pseudo_elements_in_selectors-expected.txt
    index 3883654d7545..37711f91d2b8 100644
    --- a/LayoutTests/platform/glib/css1/pseudo/pseudo_elements_in_selectors-expected.txt
    +++ b/LayoutTests/platform/glib/css1/pseudo/pseudo_elements_in_selectors-expected.txt
    @@ -25,7 +25,7 @@ layer at (0,0) size 800x600
               text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
               text run at (554,0) width 200: "If this is not the case, then the"
               text run at (0,18) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
    -        RenderInline {TT} at (0,0) size 89x15
    +        RenderInline {TT} at (564,21) size 89x15
               RenderText {#text} at (564,21) size 89x15
                 text run at (564,21) width 89: ":first-line"
             RenderText {#text} at (652,18) size 108x17
    @@ -42,12 +42,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x210
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x184
                 RenderTableCell {TD} at (0,105) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,83) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x36
    @@ -60,7 +60,7 @@ layer at (0,0) size 800x600
                       text run at (0,0) width 555: "The first line of this sentence should be boldfaced and green, thanks to its selector. "
                       text run at (554,0) width 200: "If this is not the case, then the"
                       text run at (0,18) width 565: "user agent may have failed to properly parse the selector, or it may simply not support the "
    -                RenderInline {TT} at (0,0) size 89x15
    +                RenderInline {TT} at (564,21) size 89x15
                       RenderText {#text} at (564,21) size 89x15
                         text run at (564,21) width 89: ":first-line"
                     RenderText {#text} at (652,18) size 108x17
    diff --git a/LayoutTests/platform/glib/css1/text_properties/letter_spacing-expected.txt b/LayoutTests/platform/glib/css1/text_properties/letter_spacing-expected.txt
    index 082ebc09abb6..1e4565d06c4a 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/letter_spacing-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/letter_spacing-expected.txt
    @@ -65,7 +65,7 @@ layer at (0,0) size 785x1774
             RenderText {#text} at (0,0) size 754x35
               text run at (0,0) width 754: "This letters in this sentence should have extra space between them,"
               text run at (0,18) width 435: "but the last few words in the sentence "
    -        RenderInline {SPAN} at (0,0) size 180x17
    +        RenderInline {SPAN} at (435,18) size 180x17
               RenderText {#text} at (435,18) size 180x17
                 text run at (435,18) width 180: "should show normal spacing"
             RenderText {#text} at (615,18) size 9x17
    @@ -99,12 +99,12 @@ layer at (0,0) size 785x1774
             RenderTableSection {TBODY} at (1,1) size 2776x646
               RenderTableRow {TR} at (0,0) size 2776x26
                 RenderTableCell {TD} at (0,0) size 2776x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 2776x620
                 RenderTableCell {TD} at (0,323) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,301) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 2764x620 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 2756x18
    @@ -131,7 +131,7 @@ layer at (0,0) size 785x1774
                   RenderBlock {P} at (4,242) size 2756x18
                     RenderText {#text} at (0,0) size 1198x17
                       text run at (0,0) width 1198: "This letters in this sentence should have extra space between them, but the last few words in the sentence "
    -                RenderInline {SPAN} at (0,0) size 180x17
    +                RenderInline {SPAN} at (1198,0) size 180x17
                       RenderText {#text} at (1198,0) size 180x17
                         text run at (1198,0) width 180: "should show normal spacing"
                     RenderText {#text} at (1378,0) size 9x17
    diff --git a/LayoutTests/platform/glib/css1/text_properties/line_height-expected.txt b/LayoutTests/platform/glib/css1/text_properties/line_height-expected.txt
    index 197f9358d36e..9052267d80c3 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/line_height-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/line_height-expected.txt
    @@ -96,7 +96,7 @@ layer at (0,0) size 785x2671
             RenderText {#text} at (0,0) size 504x14
               text run at (0,0) width 504: "This sentence should have a normal line-height, because negative values are not permitted for this property."
           RenderBlock {P} at (0,1300) size 769x150
    -        RenderInline {SPAN} at (0,0) size 758x89 [bgcolor=#C0C0C0]
    +        RenderInline {SPAN} at (0,30) size 758x89 [bgcolor=#C0C0C0]
               RenderText {#text} at (0,30) size 758x89
                 text run at (0,30) width 758: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but no"
                 text run at (0,105) width 663: "padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
    @@ -105,12 +105,12 @@ layer at (0,0) size 785x2671
             RenderTableSection {TBODY} at (1,1) size 767x1191
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x1165
                 RenderTableCell {TD} at (0,595) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,573) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x1165 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x48
    @@ -174,7 +174,7 @@ layer at (0,0) size 785x2671
                     RenderText {#text} at (0,0) size 504x14
                       text run at (0,0) width 504: "This sentence should have a normal line-height, because negative values are not permitted for this property."
                   RenderBlock {P} at (4,1011) size 747x150
    -                RenderInline {SPAN} at (0,0) size 743x89 [bgcolor=#C0C0C0]
    +                RenderInline {SPAN} at (0,30) size 743x89 [bgcolor=#C0C0C0]
                       RenderText {#text} at (0,30) size 743x89
                         text run at (0,30) width 743: "This sentence should have a line-height of two centimeters, which should cause extra spacing between the lines. The text has a background color of silver, but"
                         text run at (0,105) width 678: "no padding or border. The background color has been set on an inline element and should therefore only cover the text, not the interline spacing."
    diff --git a/LayoutTests/platform/glib/css1/text_properties/text_align-expected.txt b/LayoutTests/platform/glib/css1/text_properties/text_align-expected.txt
    index 8cf4b5e2f31f..ee22067a824a 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/text_align-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/text_align-expected.txt
    @@ -35,12 +35,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x190
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x164
                 RenderTableCell {TD} at (0,95) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,73) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x164 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x18
    diff --git a/LayoutTests/platform/glib/css1/text_properties/text_decoration-expected.txt b/LayoutTests/platform/glib/css1/text_properties/text_decoration-expected.txt
    index d150e24f6015..522c5af82a36 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/text_decoration-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/text_decoration-expected.txt
    @@ -40,10 +40,10 @@ layer at (0,0) size 785x1151
             RenderText {#text} at (0,0) size 508x17
               text run at (0,0) width 291: "The text in this element should be underlined. "
               text run at (291,0) width 217: "The boldfaced text in this element "
    -        RenderInline {B} at (0,0) size 173x17
    +        RenderInline {B} at (508,0) size 173x17
               RenderText {#text} at (508,0) size 173x17
                 text run at (508,0) width 173: "should also be underlined"
    -        RenderText {#text} at (681,0) size 731x35
    +        RenderText {#text} at (0,0) size 731x35
               text run at (681,0) width 8: ". "
               text run at (689,0) width 42: "This is"
               text run at (0,18) width 716: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
    @@ -61,25 +61,25 @@ layer at (0,0) size 785x1151
           RenderBlock {P} at (0,493) size 769x55
             RenderText {#text} at (0,1) size 633x17
               text run at (0,1) width 633: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
    -        RenderInline {EM} at (0,0) size 21x17
    +        RenderInline {EM} at (632,1) size 21x17
               RenderText {#text} at (632,1) size 21x17
                 text run at (632,1) width 21: "not"
             RenderText {#text} at (652,1) size 87x17
               text run at (652,1) width 87: " be overlined:"
             RenderImage {IMG} at (738,0) size 16x15
    -        RenderText {#text} at (753,1) size 758x53
    +        RenderText {#text} at (0,1) size 758x53
               text run at (753,1) width 5: "."
               text run at (0,19) width 729: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans' child"
               text run at (0,37) width 59: "elements."
           RenderBlock {P} at (0,564) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 105x17
               text run at (0,0) width 105: "The underlining "
    -        RenderInline {SPAN} at (0,0) size 96x17 [color=#0000FF]
    +        RenderInline {SPAN} at (105,0) size 96x17 [color=#0000FF]
               RenderText {#text} at (105,0) size 96x17
                 text run at (105,0) width 96: "in this sentence"
             RenderText {#text} at (201,0) size 233x17
               text run at (201,0) width 233: " should be green, no matter what the "
    -        RenderInline {SPAN} at (0,0) size 109x17 [color=#000000]
    +        RenderInline {SPAN} at (434,0) size 109x17 [color=#000000]
               RenderText {#text} at (434,0) size 109x17
                 text run at (434,0) width 109: "text color may be"
             RenderText {#text} at (543,0) size 4x17
    @@ -87,32 +87,32 @@ layer at (0,0) size 785x1151
           RenderBlock {P} at (0,598) size 769x36
             RenderText {#text} at (0,0) size 111x17
               text run at (0,0) width 111: "The colors of the "
    -        RenderInline {SPAN} at (0,0) size 72x17 [color=#800080]
    +        RenderInline {SPAN} at (111,0) size 72x17 [color=#800080]
               RenderText {#text} at (111,0) size 72x17
                 text run at (111,0) width 72: "underlining"
             RenderText {#text} at (183,0) size 20x17
               text run at (183,0) width 20: " in "
    -        RenderInline {SPAN} at (0,0) size 80x17 [color=#0000FF]
    +        RenderInline {SPAN} at (203,0) size 80x17 [color=#0000FF]
               RenderText {#text} at (203,0) size 80x17
                 text run at (203,0) width 80: "this sentence"
             RenderText {#text} at (283,0) size 69x17
               text run at (283,0) width 69: " should be "
    -        RenderInline {SPAN} at (0,0) size 209x17 [color=#808080]
    +        RenderInline {SPAN} at (352,0) size 209x17 [color=#808080]
               RenderText {#text} at (352,0) size 209x17
                 text run at (352,0) width 209: "the same as that of the parent text"
    -        RenderText {#text} at (561,0) size 738x35
    +        RenderText {#text} at (0,0) size 738x35
               text run at (561,0) width 177: " (that is, the first word in the"
               text run at (0,18) width 213: "sentence, which should be black)."
           RenderTable {TABLE} at (0,650) size 769x485 [border: (1px outset #808080)]
             RenderTableSection {TBODY} at (1,1) size 767x483
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x457
                 RenderTableCell {TD} at (0,241) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,219) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x457 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -132,10 +132,10 @@ layer at (0,0) size 785x1151
                     RenderText {#text} at (0,0) size 508x17
                       text run at (0,0) width 291: "The text in this element should be underlined. "
                       text run at (291,0) width 217: "The boldfaced text in this element "
    -                RenderInline {B} at (0,0) size 173x17
    +                RenderInline {B} at (508,0) size 173x17
                       RenderText {#text} at (508,0) size 173x17
                         text run at (508,0) width 173: "should also be underlined"
    -                RenderText {#text} at (681,0) size 731x35
    +                RenderText {#text} at (0,0) size 731x35
                       text run at (681,0) width 8: ". "
                       text run at (689,0) width 42: "This is"
                       text run at (0,18) width 716: "because the parent's underline will 'span' the boldfaced text, even if the inline element has no underline of its own."
    @@ -153,25 +153,25 @@ layer at (0,0) size 785x1151
                   RenderBlock {P} at (4,312) size 747x55
                     RenderText {#text} at (0,0) size 633x17
                       text run at (0,0) width 633: "Text decorations only apply to the text of an element, so the image at the end of this sentence should "
    -                RenderInline {EM} at (0,0) size 21x17
    +                RenderInline {EM} at (632,0) size 21x17
                       RenderText {#text} at (632,0) size 21x17
                         text run at (632,0) width 21: "not"
                     RenderText {#text} at (652,0) size 87x17
                       text run at (652,0) width 87: " be overlined:"
                     RenderImage {IMG} at (0,18) size 15x15
    -                RenderText {#text} at (15,19) size 717x35
    +                RenderText {#text} at (0,19) size 717x35
                       text run at (15,19) width 8: ". "
                       text run at (23,19) width 694: "The underline of the parent element should hold true beneath the image, however, since text-decoration 'spans'"
                       text run at (0,37) width 94: "child elements."
                   RenderBlock {P} at (4,383) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 105x17
                       text run at (0,0) width 105: "The underlining "
    -                RenderInline {SPAN} at (0,0) size 96x17 [color=#0000FF]
    +                RenderInline {SPAN} at (105,0) size 96x17 [color=#0000FF]
                       RenderText {#text} at (105,0) size 96x17
                         text run at (105,0) width 96: "in this sentence"
                     RenderText {#text} at (201,0) size 233x17
                       text run at (201,0) width 233: " should be green, no matter what the "
    -                RenderInline {SPAN} at (0,0) size 109x17 [color=#000000]
    +                RenderInline {SPAN} at (434,0) size 109x17 [color=#000000]
                       RenderText {#text} at (434,0) size 109x17
                         text run at (434,0) width 109: "text color may be"
                     RenderText {#text} at (543,0) size 4x17
    @@ -179,20 +179,20 @@ layer at (0,0) size 785x1151
                   RenderBlock {P} at (4,417) size 747x36
                     RenderText {#text} at (0,0) size 111x17
                       text run at (0,0) width 111: "The colors of the "
    -                RenderInline {SPAN} at (0,0) size 72x17 [color=#800080]
    +                RenderInline {SPAN} at (111,0) size 72x17 [color=#800080]
                       RenderText {#text} at (111,0) size 72x17
                         text run at (111,0) width 72: "underlining"
                     RenderText {#text} at (183,0) size 20x17
                       text run at (183,0) width 20: " in "
    -                RenderInline {SPAN} at (0,0) size 80x17 [color=#0000FF]
    +                RenderInline {SPAN} at (203,0) size 80x17 [color=#0000FF]
                       RenderText {#text} at (203,0) size 80x17
                         text run at (203,0) width 80: "this sentence"
                     RenderText {#text} at (283,0) size 69x17
                       text run at (283,0) width 69: " should be "
    -                RenderInline {SPAN} at (0,0) size 209x17 [color=#808080]
    +                RenderInline {SPAN} at (352,0) size 209x17 [color=#808080]
                       RenderText {#text} at (352,0) size 209x17
                         text run at (352,0) width 209: "the same as that of the parent text"
    -                RenderText {#text} at (561,0) size 738x35
    +                RenderText {#text} at (0,0) size 738x35
                       text run at (561,0) width 177: " (that is, the first word in the"
                       text run at (0,18) width 213: "sentence, which should be black)."
     layer at (8,175) size 769x2 clip at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css1/text_properties/text_indent-expected.txt b/LayoutTests/platform/glib/css1/text_properties/text_indent-expected.txt
    index a8dd6b0fa663..47943b545165 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/text_indent-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/text_indent-expected.txt
    @@ -51,11 +51,11 @@ layer at (0,0) size 785x1246
             RenderText {#text} at (14,0) size 356x17
               text run at (14,0) width 356: "The first line of this sentence should be indented two ex."
           RenderBlock {P} at (0,468) size 769x36 [bgcolor=#00FFFF]
    -        RenderText {#text} at (384,0) size 744x35
    +        RenderText {#text} at (0,0) size 744x35
               text run at (384,0) width 360: "The first line of this sentence should be indented halfway"
               text run at (0,18) width 555: "across the page, but the rest of it should be flush with the normal left margin of the page."
           RenderBlock {P} at (0,520) size 769x36 [bgcolor=#00FFFF]
    -        RenderText {#text} at (25,0) size 723x35
    +        RenderText {#text} at (0,0) size 723x35
               text run at (25,0) width 698: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
               text run at (0,18) width 122: "margin of the page."
           RenderBlock {P} at (0,572) size 769x54 [bgcolor=#00FFFF]
    @@ -65,13 +65,13 @@ layer at (0,0) size 785x1246
             RenderText {#text} at (0,18) size 259x17
               text run at (0,18) width 259: "no matter where the lines might start, and"
             RenderBR {BR} at (259,18) size 0x17
    -        RenderInline {EM} at (0,0) size 198x17
    +        RenderInline {EM} at (0,36) size 198x17
               RenderText {#text} at (0,36) size 198x17
                 text run at (0,36) width 198: "regardless of any other markup"
             RenderText {#text} at (197,36) size 147x17
               text run at (197,36) width 147: " which may be present."
           RenderBlock {BLOCKQUOTE} at (40,642) size 689x54 [bgcolor=#00FFFF]
    -        RenderText {#text} at (344,0) size 682x53
    +        RenderText {#text} at (0,0) size 682x53
               text run at (344,0) width 338: "In the first half of the test page, this BLOCKQUOTE"
               text run at (0,18) width 671: "element should have a text indent equal to 50% of the BODY element's width, since BLOCKQUOTE is a"
               text run at (0,36) width 370: "child of BODY; in the second half, it is a child of TABLE."
    @@ -79,12 +79,12 @@ layer at (0,0) size 785x1246
             RenderTableSection {TBODY} at (1,1) size 767x516
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x490
                 RenderTableCell {TD} at (0,258) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,236) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x490 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18 [bgcolor=#00FFFF]
    @@ -109,11 +109,11 @@ layer at (0,0) size 785x1246
                     RenderText {#text} at (14,0) size 356x17
                       text run at (14,0) width 356: "The first line of this sentence should be indented two ex."
                   RenderBlock {P} at (4,242) size 747x36 [bgcolor=#00FFFF]
    -                RenderText {#text} at (373,0) size 733x35
    +                RenderText {#text} at (0,0) size 733x35
                       text run at (373,0) width 360: "The first line of this sentence should be indented halfway"
                       text run at (0,18) width 555: "across the page, but the rest of it should be flush with the normal left margin of the page."
                   RenderBlock {P} at (4,294) size 747x36 [bgcolor=#00FFFF]
    -                RenderText {#text} at (25,0) size 723x35
    +                RenderText {#text} at (0,0) size 723x35
                       text run at (25,0) width 698: "The first line of this sentence should be indented 25 pixels, but the rest of it should be flush with the normal left"
                       text run at (0,18) width 122: "margin of the page."
                   RenderBlock {P} at (4,346) size 747x54 [bgcolor=#00FFFF]
    @@ -123,13 +123,13 @@ layer at (0,0) size 785x1246
                     RenderText {#text} at (0,18) size 259x17
                       text run at (0,18) width 259: "no matter where the lines might start, and"
                     RenderBR {BR} at (259,18) size 0x17
    -                RenderInline {EM} at (0,0) size 198x17
    +                RenderInline {EM} at (0,36) size 198x17
                       RenderText {#text} at (0,36) size 198x17
                         text run at (0,36) width 198: "regardless of any other markup"
                     RenderText {#text} at (197,36) size 147x17
                       text run at (197,36) width 147: " which may be present."
                   RenderBlock {BLOCKQUOTE} at (44,416) size 667x54 [bgcolor=#00FFFF]
    -                RenderText {#text} at (333,0) size 646x53
    +                RenderText {#text} at (0,0) size 646x53
                       text run at (333,0) width 222: "In the first half of the test page, this"
                       text run at (0,18) width 646: "BLOCKQUOTE element should have a text indent equal to 50% of the BODY element's width, since"
                       text run at (0,36) width 511: "BLOCKQUOTE is a child of BODY; in the second half, it is a child of TABLE."
    diff --git a/LayoutTests/platform/glib/css1/text_properties/text_transform-expected.txt b/LayoutTests/platform/glib/css1/text_properties/text_transform-expected.txt
    index b85ec0b3df7d..6423499d6e2f 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/text_transform-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/text_transform-expected.txt
    @@ -30,10 +30,10 @@ layer at (0,0) size 785x732
             RenderText {#text} at (0,0) size 752x35
               text run at (0,0) width 752: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in this"
               text run at (0,18) width 304: "sentence should have one, and only one, capital "
    -        RenderInline {SPAN} at (0,0) size 37x17
    +        RenderInline {SPAN} at (304,18) size 37x17
               RenderText {#text} at (304,18) size 17x17
                 text run at (304,18) width 17: "Le"
    -          RenderInline {SPAN} at (0,0) size 8x17
    +          RenderInline {SPAN} at (321,18) size 8x17
                 RenderText {#text} at (321,18) size 8x17
                   text run at (321,18) width 8: "tt"
               RenderText {#text} at (329,18) size 12x17
    @@ -45,8 +45,8 @@ layer at (0,0) size 785x732
               text run at (0,0) width 719: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
               text run at (0,18) width 359: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
               text run at (359,18) width 284: "IN THE LAST SENTENCE, HOWEVER, "
    -        RenderInline {SPAN} at (0,0) size 765x35
    -          RenderText {#text} at (642,18) size 765x35
    +        RenderInline {SPAN} at (0,18) size 765x35
    +          RenderText {#text} at (0,18) size 765x35
                 text run at (642,18) width 123: "the last eight words"
                 text run at (0,36) width 152: "should not be uppercase"
             RenderText {#text} at (152,36) size 4x17
    @@ -58,12 +58,12 @@ layer at (0,0) size 785x732
             RenderTableSection {TBODY} at (1,1) size 767x296
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x270
                 RenderTableCell {TD} at (0,148) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,126) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x270 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
    @@ -79,10 +79,10 @@ layer at (0,0) size 785x732
                     RenderText {#text} at (0,0) size 726x35
                       text run at (0,0) width 726: "Words with inline elements inside them should only capitalize the first letter of the word. Therefore, the last word in"
                       text run at (0,18) width 330: "this sentence should have one, and only one, capital "
    -                RenderInline {SPAN} at (0,0) size 37x17
    +                RenderInline {SPAN} at (330,18) size 37x17
                       RenderText {#text} at (330,18) size 17x17
                         text run at (330,18) width 17: "Le"
    -                  RenderInline {SPAN} at (0,0) size 8x17
    +                  RenderInline {SPAN} at (347,18) size 8x17
                         RenderText {#text} at (347,18) size 8x17
                           text run at (347,18) width 8: "tt"
                       RenderText {#text} at (355,18) size 12x17
    @@ -94,8 +94,8 @@ layer at (0,0) size 785x732
                       text run at (0,0) width 719: "THIS PARAGRAPH IS UPPERCASED AND SMALL CHARACTERS IN THE SOURCE (E.G. A AND \x{C5})"
                       text run at (0,18) width 359: "SHOULD THEREFORE APPEAR IN UPPERCASE. "
                       text run at (359,18) width 284: "IN THE LAST SENTENCE, HOWEVER, "
    -                RenderInline {SPAN} at (0,0) size 722x35
    -                  RenderText {#text} at (642,18) size 722x35
    +                RenderInline {SPAN} at (0,18) size 722x35
    +                  RenderText {#text} at (0,18) size 722x35
                         text run at (642,18) width 80: "the last eight"
                         text run at (0,36) width 195: "words should not be uppercase"
                     RenderText {#text} at (195,36) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/text_properties/vertical_align-expected.txt b/LayoutTests/platform/glib/css1/text_properties/vertical_align-expected.txt
    index f10fb2477f52..1475af4066da 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/vertical_align-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/vertical_align-expected.txt
    @@ -44,48 +44,48 @@ layer at (0,0) size 785x4408
               text run at (0,255) width 0: " "
           RenderBlock {P} at (0,335) size 769x77
             RenderImage {IMG} at (0,0) size 15x50
    -        RenderInline {SPAN} at (0,0) size 126x17
    -          RenderText {#text} at (15,40) size 126x17
    +        RenderInline {SPAN} at (15,40) size 126x18
    +          RenderText {#text} at (15,40) size 126x18
                 text run at (15,40) width 126: "The first four words"
    -        RenderText {#text} at (141,36) size 750x40
    +        RenderText {#text} at (0,36) size 750x40
               text run at (141,36) width 284: " in this sentence should be subscript-aligned. "
               text run at (425,36) width 325: "The font size of the superscripted text should not be"
               text run at (0,58) width 254: "different from that of the parent element."
           RenderBlock {P} at (0,427) size 769x73
             RenderImage {IMG} at (0,0) size 15x50
    -        RenderInline {SPAN} at (0,0) size 126x17
    -          RenderText {#text} at (15,30) size 126x17
    -            text run at (15,30) width 126: "The first four words"
    -        RenderText {#text} at (141,36) size 750x35
    +        RenderInline {SPAN} at (15,29) size 126x18
    +          RenderText {#text} at (15,29) size 126x18
    +            text run at (15,29) width 126: "The first four words"
    +        RenderText {#text} at (0,36) size 750x35
               text run at (141,36) width 296: " in this sentence should be superscript-aligned. "
               text run at (437,36) width 313: "The font size of the subscripted text should not be"
               text run at (0,54) width 254: "different from that of the parent element."
           RenderBlock {P} at (0,515) size 769x73
             RenderImage {IMG} at (0,0) size 15x50
    -        RenderInline {SPAN} at (0,0) size 126x17
    +        RenderInline {SPAN} at (15,0) size 126x17
               RenderText {#text} at (15,0) size 126x17
                 text run at (15,0) width 126: "The first four words"
    -        RenderText {#text} at (141,36) size 765x35
    +        RenderText {#text} at (0,36) size 765x35
               text run at (141,36) width 624: " in this sentence should be top-aligned, which will align their tops with the top of the tallest element"
               text run at (0,54) width 267: "in the line (probably the orange rectangle)."
           RenderBlock {P} at (0,603) size 769x133
             RenderImage {IMG} at (0,0) size 15x50
             RenderText {#text} at (15,36) size 4x17
               text run at (15,36) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 754x110
    +        RenderInline {SPAN} at (0,21) size 754x110
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {SPAN} at (0,0) size 126x17
    +          RenderInline {SPAN} at (19,21) size 126x17
                 RenderText {#text} at (19,21) size 126x17
                   text run at (19,21) width 126: "The first four words"
    -          RenderText {#text} at (145,21) size 754x110
    +          RenderText {#text} at (0,21) size 754x110
                 text run at (145,21) width 556: " in this sentence should be text-top-aligned,"
                 text run at (0,58) width 754: "which should align their tops with the top of the tallest text"
                 text run at (0,95) width 136: "in the line."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,751) size 769x69
             RenderImage {IMG} at (0,0) size 15x50
    -        RenderText {#text} at (15,15) size 739x52
    -          text run at (15,15) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
    +        RenderText {#text} at (0,14) size 739x53
    +          text run at (15,14) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
               text run at (0,50) width 310: "defined as the text baseline plus half the x-height."
           RenderBlock {P} at (0,835) size 769x125
             RenderImage {IMG} at (0,0) size 15x50
    @@ -93,10 +93,10 @@ layer at (0,0) size 785x4408
               text run at (15,15) width 4: " "
             RenderInline {SPAN} at (0,0) size 733x123
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {SPAN} at (0,0) size 126x17
    +          RenderInline {SPAN} at (19,32) size 126x17
                 RenderText {#text} at (19,32) size 126x17
                   text run at (19,32) width 126: "The first four words"
    -          RenderText {#text} at (145,0) size 733x123
    +          RenderText {#text} at (0,0) size 733x123
                 text run at (145,0) width 544: " in this sentence should be 12pt in size and"
                 text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
                 text run at (0,87) width 517: "bottom of the lowest element in the line."
    @@ -107,10 +107,10 @@ layer at (0,0) size 785x4408
               text run at (15,15) width 4: " "
             RenderInline {SPAN} at (0,0) size 745x160
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {SPAN} at (0,0) size 293x17
    +          RenderInline {SPAN} at (19,18) size 293x17
                 RenderText {#text} at (19,18) size 293x17
                   text run at (19,18) width 293: "The first eight words (\"eight\" has a descender)"
    -          RenderText {#text} at (312,0) size 745x160
    +          RenderText {#text} at (0,0) size 745x160
                 text run at (312,0) width 433: " in this sentence should be 12pt in"
                 text run at (0,50) width 692: "size and text-bottom-aligned, which should align their"
                 text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
    @@ -120,22 +120,22 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (0,0) size 15x50
             RenderText {#text} at (15,36) size 4x17
               text run at (15,36) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 759x110
    +        RenderInline {SPAN} at (0,21) size 759x110
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {SPAN} at (0,0) size 126x17
    +          RenderInline {SPAN} at (19,36) size 126x17
                 RenderText {#text} at (19,36) size 126x17
                   text run at (19,36) width 126: "The first four words"
    -          RenderText {#text} at (145,21) size 759x110
    +          RenderText {#text} at (0,21) size 759x110
                 text run at (145,21) width 544: " in this sentence should be 12pt in size and"
                 text run at (0,58) width 759: "baseline-aligned, which should align their baseline with the"
                 text run at (0,95) width 522: "baseline of the rest of the text in the line."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,1300) size 769x73
             RenderImage {IMG} at (0,0) size 15x50
    -        RenderInline {SPAN} at (0,0) size 96x14
    +        RenderInline {SPAN} at (15,31) size 96x14
               RenderText {#text} at (15,31) size 96x14
                 text run at (15,31) width 96: "The first four words"
    -        RenderText {#text} at (110,36) size 750x35
    +        RenderText {#text} at (0,36) size 750x35
               text run at (110,36) width 640: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-aligned,"
               text run at (0,54) width 376: "which should raise them 8px relative to the natural baseline."
           RenderBlock {P} at (0,1388) size 769x37
    @@ -148,7 +148,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (114,26) size 9x30
             RenderText {#text} at (123,26) size 5x21
               text run at (123,26) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 414x52
    +        RenderInline {SPAN} at (128,1) size 414x52
               RenderText {#text} at (128,1) size 414x52
                 text run at (128,1) width 414: "contains many images"
             RenderText {#text} at (541,26) size 6x21
    @@ -156,7 +156,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (546,26) size 16x50
             RenderText {#text} at (561,26) size 6x21
               text run at (561,26) width 6: " "
    -        RenderInline {BIG} at (0,0) size 157x24
    +        RenderInline {BIG} at (566,24) size 157x24
               RenderText {#text} at (566,24) size 157x24
                 text run at (566,24) width 157: "of varying heights"
             RenderText {#text} at (722,26) size 6x21
    @@ -164,8 +164,8 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (727,26) size 4x10
             RenderText {#text} at (730,26) size 6x21
               text run at (730,26) width 6: " "
    -        RenderInline {SMALL} at (0,0) size 759x113
    -          RenderText {#text} at (735,29) size 759x113
    +        RenderInline {SMALL} at (0,29) size 759x113
    +          RenderText {#text} at (0,29) size 759x113
                 text run at (735,29) width 24: "and"
                 text run at (0,125) width 42: "widths"
             RenderText {#text} at (42,122) size 5x21
    @@ -176,7 +176,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (150,122) size 20x65
             RenderText {#text} at (169,122) size 6x21
               text run at (169,122) width 6: " "
    -        RenderInline {SPAN} at (0,0) size 267x41
    +        RenderInline {SPAN} at (174,106) size 267x41
               RenderText {#text} at (174,106) size 267x41
                 text run at (174,106) width 267: "should be aligned"
             RenderText {#text} at (440,122) size 6x21
    @@ -187,11 +187,11 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (573,122) size 9x30
             RenderText {#text} at (582,122) size 5x21
               text run at (582,122) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 699x142
    +        RenderInline {SPAN} at (0,114) size 699x142
               RenderText {#text} at (587,114) size 19x31
                 text run at (587,114) width 19: "a "
    -          RenderInline {SPAN} at (0,0) size 699x188
    -            RenderText {#text} at (606,77) size 699x188
    +          RenderInline {SPAN} at (0,77) size 699x188
    +            RenderText {#text} at (0,77) size 699x188
                   text run at (606,77) width 93: "14-"
                   text run at (0,188) width 143: "point"
               RenderText {#text} at (143,225) size 144x31
    @@ -201,7 +201,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (292,233) size 15x50
             RenderText {#text} at (307,233) size 5x21
               text run at (307,233) width 5: " "
    -        RenderInline {SMALL} at (0,0) size 189x17
    +        RenderInline {SMALL} at (312,236) size 189x17
               RenderText {#text} at (312,236) size 189x17
                 text run at (312,236) width 189: "regardless of the line in which"
             RenderText {#text} at (501,233) size 5x21
    @@ -209,7 +209,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (506,233) size 5x15
             RenderText {#text} at (510,233) size 6x21
               text run at (510,233) width 6: " "
    -        RenderInline {BIG} at (0,0) size 157x24
    +        RenderInline {BIG} at (515,231) size 157x24
               RenderText {#text} at (515,231) size 157x24
                 text run at (515,231) width 157: "the images appear."
             RenderText {#text} at (671,233) size 6x21
    @@ -223,27 +223,27 @@ layer at (0,0) size 785x4408
           RenderBlock {P} at (0,1836) size 769x232
             RenderText {#text} at (0,23) size 99x17
               text run at (0,23) width 99: "This paragraph "
    -        RenderImage {IMG} at (99,18) size 9x30
    +        RenderImage {IMG} at (99,18) size 9x31
             RenderText {#text} at (108,23) size 4x17
               text run at (108,23) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 357x45
    +        RenderInline {SPAN} at (112,1) size 357x45
               RenderText {#text} at (112,1) size 357x45
                 text run at (112,1) width 357: "contains many images"
             RenderText {#text} at (469,23) size 4x17
               text run at (469,23) width 4: " "
    -        RenderImage {IMG} at (473,8) size 15x50
    +        RenderImage {IMG} at (473,8) size 15x51
             RenderText {#text} at (488,23) size 122x17
               text run at (488,23) width 122: " of varying heights "
    -        RenderImage {IMG} at (610,28) size 3x10
    +        RenderImage {IMG} at (610,28) size 3x11
             RenderText {#text} at (613,23) size 4x17
               text run at (613,23) width 4: " "
    -        RenderInline {SMALL} at (0,0) size 69x17
    +        RenderInline {SMALL} at (617,23) size 69x17
               RenderText {#text} at (617,23) size 69x17
                 text run at (617,23) width 69: "and widths"
             RenderText {#text} at (686,23) size 4x17
               text run at (686,23) width 4: " "
    -        RenderImage {IMG} at (690,23) size 6x20
    -        RenderText {#text} at (696,23) size 732x93
    +        RenderImage {IMG} at (690,23) size 6x21
    +        RenderText {#text} at (0,23) size 732x93
               text run at (696,23) width 36: " all of"
               text run at (0,98) width 43: "which "
             RenderImage {IMG} at (43,76) size 20x66
    @@ -252,7 +252,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (181,91) size 11x36
             RenderText {#text} at (192,98) size 4x18
               text run at (192,98) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 236x37
    +        RenderInline {SPAN} at (196,83) size 236x37
               RenderText {#text} at (196,83) size 236x37
                 text run at (196,83) width 236: "with the middle of"
             RenderText {#text} at (432,98) size 4x18
    @@ -260,33 +260,33 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (436,83) size 15x51
             RenderText {#text} at (451,98) size 4x18
               text run at (451,98) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 719x105
    +        RenderInline {SPAN} at (0,91) size 719x104
               RenderText {#text} at (455,91) size 17x27
                 text run at (455,91) width 17: "a "
    -          RenderInline {SPAN} at (0,0) size 204x67
    +          RenderInline {SPAN} at (472,59) size 204x67
                 RenderText {#text} at (472,59) size 204x67
                   text run at (472,59) width 204: "14-point"
    -          RenderText {#text} at (676,91) size 719x105
    +          RenderText {#text} at (0,91) size 719x104
                 text run at (676,91) width 43: " text"
    -            text run at (0,169) width 78: "element"
    -        RenderText {#text} at (77,176) size 5x18
    -          text run at (77,176) width 5: " "
    +            text run at (0,168) width 78: "element"
    +        RenderText {#text} at (77,175) size 5x18
    +          text run at (77,175) width 5: " "
             RenderImage {IMG} at (81,161) size 16x51
    -        RenderText {#text} at (96,176) size 5x18
    -          text run at (96,176) width 5: " "
    -        RenderInline {SMALL} at (0,0) size 190x18
    -          RenderText {#text} at (100,176) size 190x18
    -            text run at (100,176) width 190: "regardless of the line in which"
    -        RenderText {#text} at (289,176) size 5x18
    -          text run at (289,176) width 5: " "
    -        RenderImage {IMG} at (293,179) size 6x16
    -        RenderText {#text} at (298,176) size 5x18
    -          text run at (298,176) width 5: " "
    -        RenderInline {BIG} at (0,0) size 157x25
    -          RenderText {#text} at (302,171) size 157x25
    -            text run at (302,171) width 157: "the images appear."
    -        RenderText {#text} at (458,176) size 5x18
    -          text run at (458,176) width 5: " "
    +        RenderText {#text} at (96,175) size 5x18
    +          text run at (96,175) width 5: " "
    +        RenderInline {SMALL} at (100,175) size 190x18
    +          RenderText {#text} at (100,175) size 190x18
    +            text run at (100,175) width 190: "regardless of the line in which"
    +        RenderText {#text} at (289,175) size 5x18
    +          text run at (289,175) width 5: " "
    +        RenderImage {IMG} at (293,178) size 6x16
    +        RenderText {#text} at (298,175) size 5x18
    +          text run at (298,175) width 5: " "
    +        RenderInline {BIG} at (302,170) size 157x25
    +          RenderText {#text} at (302,170) size 157x25
    +            text run at (302,170) width 157: "the images appear."
    +        RenderText {#text} at (458,175) size 5x18
    +          text run at (458,175) width 5: " "
             RenderImage {IMG} at (462,141) size 28x91
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,2083) size 769x37
    @@ -303,7 +303,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (99,0) size 3x10
             RenderText {#text} at (102,0) size 4x17
               text run at (102,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 357x45
    +        RenderInline {SPAN} at (106,1) size 357x45
               RenderText {#text} at (106,1) size 357x45
                 text run at (106,1) width 357: "contains many images"
             RenderText {#text} at (463,0) size 4x17
    @@ -311,7 +311,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (467,0) size 3x10
             RenderText {#text} at (470,0) size 4x17
               text run at (470,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 87x17
    +        RenderInline {SPAN} at (474,0) size 87x17
               RenderText {#text} at (474,0) size 87x17
                 text run at (474,0) width 87: "and some text"
             RenderText {#text} at (561,0) size 4x17
    @@ -319,7 +319,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (565,0) size 3x10
             RenderText {#text} at (568,0) size 4x17
               text run at (568,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 114x17
    +        RenderInline {SPAN} at (572,0) size 114x17
               RenderText {#text} at (572,0) size 114x17
                 text run at (572,0) width 114: "of varying heights"
             RenderText {#text} at (686,0) size 4x17
    @@ -328,7 +328,7 @@ layer at (0,0) size 785x4408
             RenderText {#text} at (693,0) size 4x17
               text run at (693,0) width 4: " "
             RenderInline {BIG} at (0,0) size 728x71
    -          RenderText {#text} at (697,0) size 728x71
    +          RenderText {#text} at (0,0) size 728x71
                 text run at (697,0) width 31: "and"
                 text run at (0,47) width 57: "widths"
             RenderText {#text} at (56,47) size 5x17
    @@ -336,7 +336,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (60,47) size 7x20
             RenderText {#text} at (66,47) size 5x17
               text run at (66,47) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 76x17
    +        RenderInline {SPAN} at (70,47) size 76x17
               RenderText {#text} at (70,47) size 76x17
                 text run at (70,47) width 76: "all of which"
             RenderText {#text} at (145,47) size 5x17
    @@ -344,7 +344,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (149,47) size 21x65
             RenderText {#text} at (169,47) size 5x17
               text run at (169,47) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 112x17
    +        RenderInline {SPAN} at (173,47) size 112x17
               RenderText {#text} at (173,47) size 112x17
                 text run at (173,47) width 112: "should be aligned"
             RenderText {#text} at (284,47) size 5x17
    @@ -352,7 +352,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (288,47) size 11x35
             RenderText {#text} at (298,47) size 5x17
               text run at (298,47) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 189x36
    +        RenderInline {SPAN} at (302,47) size 189x36
               RenderText {#text} at (302,47) size 189x36
                 text run at (302,47) width 189: "with the top of"
             RenderText {#text} at (490,47) size 5x17
    @@ -360,7 +360,7 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (494,47) size 16x50
             RenderText {#text} at (509,47) size 5x17
               text run at (509,47) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 128x17
    +        RenderInline {SPAN} at (514,47) size 128x17
               RenderText {#text} at (514,47) size 128x17
                 text run at (514,47) width 128: "the tallest element in"
             RenderText {#text} at (642,47) size 4x17
    @@ -368,8 +368,8 @@ layer at (0,0) size 785x4408
             RenderImage {IMG} at (646,47) size 5x15
             RenderText {#text} at (650,47) size 5x17
               text run at (650,47) width 5: " "
    -        RenderInline {BIG} at (0,0) size 743x89
    -          RenderText {#text} at (654,47) size 743x89
    +        RenderInline {BIG} at (0,47) size 743x89
    +          RenderText {#text} at (0,47) size 743x89
                 text run at (654,47) width 89: "whichever"
                 text run at (0,112) width 208: "line the elements appear."
             RenderText {#text} at (207,112) size 5x17
    @@ -380,58 +380,58 @@ layer at (0,0) size 785x4408
             RenderTableSection {TBODY} at (1,1) size 767x2037
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x2011
                 RenderTableCell {TD} at (0,1018) size 12x27 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 4x19
    +              RenderText {#text} at (4,996) size 4x18
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x2011 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x77
                     RenderImage {IMG} at (0,0) size 15x50
    -                RenderInline {SPAN} at (0,0) size 126x17
    -                  RenderText {#text} at (15,40) size 126x17
    +                RenderInline {SPAN} at (15,40) size 126x18
    +                  RenderText {#text} at (15,40) size 126x18
                         text run at (15,40) width 126: "The first four words"
    -                RenderText {#text} at (141,36) size 731x40
    +                RenderText {#text} at (0,36) size 731x40
                       text run at (141,36) width 284: " in this sentence should be subscript-aligned. "
                       text run at (425,36) width 306: "The font size of the superscripted text should not"
                       text run at (0,58) width 273: "be different from that of the parent element."
                   RenderBlock {P} at (4,96) size 747x73
                     RenderImage {IMG} at (0,0) size 15x50
    -                RenderInline {SPAN} at (0,0) size 126x17
    -                  RenderText {#text} at (15,30) size 126x17
    -                    text run at (15,30) width 126: "The first four words"
    -                RenderText {#text} at (141,36) size 731x35
    +                RenderInline {SPAN} at (15,29) size 126x18
    +                  RenderText {#text} at (15,29) size 126x18
    +                    text run at (15,29) width 126: "The first four words"
    +                RenderText {#text} at (0,36) size 731x35
                       text run at (141,36) width 296: " in this sentence should be superscript-aligned. "
                       text run at (437,36) width 294: "The font size of the subscripted text should not"
                       text run at (0,54) width 273: "be different from that of the parent element."
                   RenderBlock {P} at (4,184) size 747x73
                     RenderImage {IMG} at (0,0) size 15x50
    -                RenderInline {SPAN} at (0,0) size 126x17
    +                RenderInline {SPAN} at (15,0) size 126x17
                       RenderText {#text} at (15,0) size 126x17
                         text run at (15,0) width 126: "The first four words"
    -                RenderText {#text} at (141,36) size 712x35
    +                RenderText {#text} at (0,36) size 712x35
                       text run at (141,36) width 571: " in this sentence should be top-aligned, which will align their tops with the top of the tallest"
                       text run at (0,54) width 320: "element in the line (probably the orange rectangle)."
                   RenderBlock {P} at (4,272) size 747x133
                     RenderImage {IMG} at (0,0) size 15x50
                     RenderText {#text} at (15,36) size 4x17
                       text run at (15,36) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 701x110
    +                RenderInline {SPAN} at (0,21) size 701x110
                       RenderText {#text} at (0,0) size 0x0
    -                  RenderInline {SPAN} at (0,0) size 126x17
    +                  RenderInline {SPAN} at (19,21) size 126x17
                         RenderText {#text} at (19,21) size 126x17
                           text run at (19,21) width 126: "The first four words"
    -                  RenderText {#text} at (145,21) size 701x110
    +                  RenderText {#text} at (0,21) size 701x110
                         text run at (145,21) width 556: " in this sentence should be text-top-aligned,"
                         text run at (0,58) width 698: "which should align their tops with the top of the tallest"
                         text run at (0,95) width 192: "text in the line."
                     RenderText {#text} at (0,0) size 0x0
                   RenderBlock {P} at (4,420) size 747x69
                     RenderImage {IMG} at (0,0) size 15x50
    -                RenderText {#text} at (15,15) size 739x52
    -                  text run at (15,15) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
    +                RenderText {#text} at (0,14) size 739x53
    +                  text run at (15,14) width 724: " The image at the beginning of this sentence should be middle-aligned, which should align its middle with the point"
                       text run at (0,50) width 310: "defined as the text baseline plus half the x-height."
                   RenderBlock {P} at (4,504) size 747x125
                     RenderImage {IMG} at (0,0) size 15x50
    @@ -439,10 +439,10 @@ layer at (0,0) size 785x4408
                       text run at (15,15) width 4: " "
                     RenderInline {SPAN} at (0,0) size 733x123
                       RenderText {#text} at (0,0) size 0x0
    -                  RenderInline {SPAN} at (0,0) size 126x17
    +                  RenderInline {SPAN} at (19,32) size 126x17
                         RenderText {#text} at (19,32) size 126x17
                           text run at (19,32) width 126: "The first four words"
    -                  RenderText {#text} at (145,0) size 733x123
    +                  RenderText {#text} at (0,0) size 733x123
                         text run at (145,0) width 544: " in this sentence should be 12pt in size and"
                         text run at (0,50) width 733: "bottom-aligned, which should align their bottom with the"
                         text run at (0,87) width 517: "bottom of the lowest element in the line."
    @@ -453,10 +453,10 @@ layer at (0,0) size 785x4408
                       text run at (15,15) width 4: " "
                     RenderInline {SPAN} at (0,0) size 745x160
                       RenderText {#text} at (0,0) size 0x0
    -                  RenderInline {SPAN} at (0,0) size 293x17
    +                  RenderInline {SPAN} at (19,18) size 293x17
                         RenderText {#text} at (19,18) size 293x17
                           text run at (19,18) width 293: "The first eight words (\"eight\" has a descender)"
    -                  RenderText {#text} at (312,0) size 745x160
    +                  RenderText {#text} at (0,0) size 745x160
                         text run at (312,0) width 433: " in this sentence should be 12pt in"
                         text run at (0,50) width 692: "size and text-bottom-aligned, which should align their"
                         text run at (0,87) width 671: "bottom with the bottom of the lowest text (including"
    @@ -466,22 +466,22 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (0,0) size 15x50
                     RenderText {#text} at (15,36) size 4x17
                       text run at (15,36) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 712x110
    +                RenderInline {SPAN} at (0,21) size 712x110
                       RenderText {#text} at (0,0) size 0x0
    -                  RenderInline {SPAN} at (0,0) size 126x17
    +                  RenderInline {SPAN} at (19,36) size 126x17
                         RenderText {#text} at (19,36) size 126x17
                           text run at (19,36) width 126: "The first four words"
    -                  RenderText {#text} at (145,21) size 712x110
    +                  RenderText {#text} at (0,21) size 712x110
                         text run at (145,21) width 544: " in this sentence should be 12pt in size and"
                         text run at (0,58) width 712: "baseline-aligned, which should align their baseline with"
                         text run at (0,95) width 569: "the baseline of the rest of the text in the line."
                     RenderText {#text} at (0,0) size 0x0
                   RenderBlock {P} at (4,969) size 747x73
                     RenderImage {IMG} at (0,0) size 15x50
    -                RenderInline {SPAN} at (0,0) size 96x14
    +                RenderInline {SPAN} at (15,31) size 96x14
                       RenderText {#text} at (15,31) size 96x14
                         text run at (15,31) width 96: "The first four words"
    -                RenderText {#text} at (110,36) size 700x35
    +                RenderText {#text} at (0,36) size 700x35
                       text run at (110,36) width 590: " in this sentence should have a font-size of 12px and a line-height of 16px; they are also 50%-"
                       text run at (0,54) width 430: "aligned, which should raise them 8px relative to the natural baseline."
                   RenderBlock {P} at (4,1057) size 747x37
    @@ -494,7 +494,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (114,26) size 9x30
                     RenderText {#text} at (123,26) size 5x21
                       text run at (123,26) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 414x52
    +                RenderInline {SPAN} at (128,1) size 414x52
                       RenderText {#text} at (128,1) size 414x52
                         text run at (128,1) width 414: "contains many images"
                     RenderText {#text} at (541,26) size 6x21
    @@ -502,14 +502,14 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (546,26) size 16x50
                     RenderText {#text} at (561,26) size 6x21
                       text run at (561,26) width 6: " "
    -                RenderInline {BIG} at (0,0) size 157x24
    +                RenderInline {BIG} at (566,24) size 157x24
                       RenderText {#text} at (566,24) size 157x24
                         text run at (566,24) width 157: "of varying heights"
                     RenderText {#text} at (722,26) size 6x21
                       text run at (722,26) width 6: " "
                     RenderImage {IMG} at (727,26) size 4x10
                     RenderText {#text} at (0,0) size 0x0
    -                RenderInline {SMALL} at (0,0) size 69x17
    +                RenderInline {SMALL} at (0,125) size 69x17
                       RenderText {#text} at (0,125) size 69x17
                         text run at (0,125) width 69: "and widths"
                     RenderText {#text} at (69,122) size 5x21
    @@ -520,7 +520,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (177,122) size 20x65
                     RenderText {#text} at (196,122) size 6x21
                       text run at (196,122) width 6: " "
    -                RenderInline {SPAN} at (0,0) size 267x41
    +                RenderInline {SPAN} at (201,106) size 267x41
                       RenderText {#text} at (201,106) size 267x41
                         text run at (201,106) width 267: "should be aligned"
                     RenderText {#text} at (467,122) size 6x21
    @@ -531,11 +531,11 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (600,122) size 9x30
                     RenderText {#text} at (609,122) size 5x21
                       text run at (609,122) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 726x142
    +                RenderInline {SPAN} at (0,114) size 726x142
                       RenderText {#text} at (614,114) size 19x31
                         text run at (614,114) width 19: "a "
    -                  RenderInline {SPAN} at (0,0) size 726x188
    -                    RenderText {#text} at (633,77) size 726x188
    +                  RenderInline {SPAN} at (0,77) size 726x188
    +                    RenderText {#text} at (0,77) size 726x188
                           text run at (633,77) width 93: "14-"
                           text run at (0,188) width 143: "point"
                       RenderText {#text} at (143,225) size 144x31
    @@ -545,7 +545,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (292,233) size 15x50
                     RenderText {#text} at (307,233) size 5x21
                       text run at (307,233) width 5: " "
    -                RenderInline {SMALL} at (0,0) size 189x17
    +                RenderInline {SMALL} at (312,236) size 189x17
                       RenderText {#text} at (312,236) size 189x17
                         text run at (312,236) width 189: "regardless of the line in which"
                     RenderText {#text} at (501,233) size 5x21
    @@ -553,7 +553,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (506,233) size 5x15
                     RenderText {#text} at (510,233) size 6x21
                       text run at (510,233) width 6: " "
    -                RenderInline {BIG} at (0,0) size 157x24
    +                RenderInline {BIG} at (515,231) size 157x24
                       RenderText {#text} at (515,231) size 157x24
                         text run at (515,231) width 157: "the images appear."
                     RenderText {#text} at (671,233) size 6x21
    @@ -567,27 +567,27 @@ layer at (0,0) size 785x4408
                   RenderBlock {P} at (4,1505) size 747x232
                     RenderText {#text} at (0,23) size 99x17
                       text run at (0,23) width 99: "This paragraph "
    -                RenderImage {IMG} at (99,18) size 9x30
    +                RenderImage {IMG} at (99,18) size 9x31
                     RenderText {#text} at (108,23) size 4x17
                       text run at (108,23) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 357x45
    +                RenderInline {SPAN} at (112,1) size 357x45
                       RenderText {#text} at (112,1) size 357x45
                         text run at (112,1) width 357: "contains many images"
                     RenderText {#text} at (469,23) size 4x17
                       text run at (469,23) width 4: " "
    -                RenderImage {IMG} at (473,8) size 15x50
    +                RenderImage {IMG} at (473,8) size 15x51
                     RenderText {#text} at (488,23) size 122x17
                       text run at (488,23) width 122: " of varying heights "
    -                RenderImage {IMG} at (610,28) size 3x10
    +                RenderImage {IMG} at (610,28) size 3x11
                     RenderText {#text} at (613,23) size 4x17
                       text run at (613,23) width 4: " "
    -                RenderInline {SMALL} at (0,0) size 69x17
    +                RenderInline {SMALL} at (617,23) size 69x17
                       RenderText {#text} at (617,23) size 69x17
                         text run at (617,23) width 69: "and widths"
                     RenderText {#text} at (686,23) size 4x17
                       text run at (686,23) width 4: " "
    -                RenderImage {IMG} at (690,23) size 6x20
    -                RenderText {#text} at (696,23) size 732x93
    +                RenderImage {IMG} at (690,23) size 6x21
    +                RenderText {#text} at (0,23) size 732x93
                       text run at (696,23) width 36: " all of"
                       text run at (0,98) width 43: "which "
                     RenderImage {IMG} at (43,76) size 20x66
    @@ -596,7 +596,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (181,91) size 11x36
                     RenderText {#text} at (192,98) size 4x18
                       text run at (192,98) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 236x37
    +                RenderInline {SPAN} at (196,83) size 236x37
                       RenderText {#text} at (196,83) size 236x37
                         text run at (196,83) width 236: "with the middle of"
                     RenderText {#text} at (432,98) size 4x18
    @@ -604,33 +604,33 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (436,83) size 15x51
                     RenderText {#text} at (451,98) size 4x18
                       text run at (451,98) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 719x105
    +                RenderInline {SPAN} at (0,91) size 719x104
                       RenderText {#text} at (455,91) size 17x27
                         text run at (455,91) width 17: "a "
    -                  RenderInline {SPAN} at (0,0) size 204x67
    +                  RenderInline {SPAN} at (472,59) size 204x67
                         RenderText {#text} at (472,59) size 204x67
                           text run at (472,59) width 204: "14-point"
    -                  RenderText {#text} at (676,91) size 719x105
    +                  RenderText {#text} at (0,91) size 719x104
                         text run at (676,91) width 43: " text"
    -                    text run at (0,169) width 78: "element"
    -                RenderText {#text} at (77,176) size 5x18
    -                  text run at (77,176) width 5: " "
    +                    text run at (0,168) width 78: "element"
    +                RenderText {#text} at (77,175) size 5x18
    +                  text run at (77,175) width 5: " "
                     RenderImage {IMG} at (81,161) size 16x51
    -                RenderText {#text} at (96,176) size 5x18
    -                  text run at (96,176) width 5: " "
    -                RenderInline {SMALL} at (0,0) size 190x18
    -                  RenderText {#text} at (100,176) size 190x18
    -                    text run at (100,176) width 190: "regardless of the line in which"
    -                RenderText {#text} at (289,176) size 5x18
    -                  text run at (289,176) width 5: " "
    -                RenderImage {IMG} at (293,179) size 6x16
    -                RenderText {#text} at (298,176) size 5x18
    -                  text run at (298,176) width 5: " "
    -                RenderInline {BIG} at (0,0) size 157x25
    -                  RenderText {#text} at (302,171) size 157x25
    -                    text run at (302,171) width 157: "the images appear."
    -                RenderText {#text} at (458,176) size 5x18
    -                  text run at (458,176) width 5: " "
    +                RenderText {#text} at (96,175) size 5x18
    +                  text run at (96,175) width 5: " "
    +                RenderInline {SMALL} at (100,175) size 190x18
    +                  RenderText {#text} at (100,175) size 190x18
    +                    text run at (100,175) width 190: "regardless of the line in which"
    +                RenderText {#text} at (289,175) size 5x18
    +                  text run at (289,175) width 5: " "
    +                RenderImage {IMG} at (293,178) size 6x16
    +                RenderText {#text} at (298,175) size 5x18
    +                  text run at (298,175) width 5: " "
    +                RenderInline {BIG} at (302,170) size 157x25
    +                  RenderText {#text} at (302,170) size 157x25
    +                    text run at (302,170) width 157: "the images appear."
    +                RenderText {#text} at (458,175) size 5x18
    +                  text run at (458,175) width 5: " "
                     RenderImage {IMG} at (462,141) size 28x91
                     RenderText {#text} at (0,0) size 0x0
                   RenderBlock {P} at (4,1752) size 747x37
    @@ -647,7 +647,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (99,0) size 3x10
                     RenderText {#text} at (102,0) size 4x17
                       text run at (102,0) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 357x45
    +                RenderInline {SPAN} at (106,1) size 357x45
                       RenderText {#text} at (106,1) size 357x45
                         text run at (106,1) width 357: "contains many images"
                     RenderText {#text} at (463,0) size 4x17
    @@ -655,7 +655,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (467,0) size 3x10
                     RenderText {#text} at (470,0) size 4x17
                       text run at (470,0) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 87x17
    +                RenderInline {SPAN} at (474,0) size 87x17
                       RenderText {#text} at (474,0) size 87x17
                         text run at (474,0) width 87: "and some text"
                     RenderText {#text} at (561,0) size 4x17
    @@ -663,7 +663,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (565,0) size 3x10
                     RenderText {#text} at (568,0) size 4x17
                       text run at (568,0) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 114x17
    +                RenderInline {SPAN} at (572,0) size 114x17
                       RenderText {#text} at (572,0) size 114x17
                         text run at (572,0) width 114: "of varying heights"
                     RenderText {#text} at (686,0) size 4x17
    @@ -672,7 +672,7 @@ layer at (0,0) size 785x4408
                     RenderText {#text} at (693,0) size 4x17
                       text run at (693,0) width 4: " "
                     RenderInline {BIG} at (0,0) size 728x71
    -                  RenderText {#text} at (697,0) size 728x71
    +                  RenderText {#text} at (0,0) size 728x71
                         text run at (697,0) width 31: "and"
                         text run at (0,47) width 57: "widths"
                     RenderText {#text} at (56,47) size 5x17
    @@ -680,7 +680,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (60,47) size 7x20
                     RenderText {#text} at (66,47) size 5x17
                       text run at (66,47) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 76x17
    +                RenderInline {SPAN} at (70,47) size 76x17
                       RenderText {#text} at (70,47) size 76x17
                         text run at (70,47) width 76: "all of which"
                     RenderText {#text} at (145,47) size 5x17
    @@ -688,7 +688,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (149,47) size 21x65
                     RenderText {#text} at (169,47) size 5x17
                       text run at (169,47) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 112x17
    +                RenderInline {SPAN} at (173,47) size 112x17
                       RenderText {#text} at (173,47) size 112x17
                         text run at (173,47) width 112: "should be aligned"
                     RenderText {#text} at (284,47) size 5x17
    @@ -696,7 +696,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (288,47) size 11x35
                     RenderText {#text} at (298,47) size 5x17
                       text run at (298,47) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 189x36
    +                RenderInline {SPAN} at (302,47) size 189x36
                       RenderText {#text} at (302,47) size 189x36
                         text run at (302,47) width 189: "with the top of"
                     RenderText {#text} at (490,47) size 5x17
    @@ -704,7 +704,7 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (494,47) size 16x50
                     RenderText {#text} at (509,47) size 5x17
                       text run at (509,47) width 5: " "
    -                RenderInline {SPAN} at (0,0) size 128x17
    +                RenderInline {SPAN} at (514,47) size 128x17
                       RenderText {#text} at (514,47) size 128x17
                         text run at (514,47) width 128: "the tallest element in"
                     RenderText {#text} at (642,47) size 4x17
    @@ -712,8 +712,8 @@ layer at (0,0) size 785x4408
                     RenderImage {IMG} at (646,47) size 5x15
                     RenderText {#text} at (650,47) size 5x17
                       text run at (650,47) width 5: " "
    -                RenderInline {BIG} at (0,0) size 743x89
    -                  RenderText {#text} at (654,47) size 743x89
    +                RenderInline {BIG} at (0,47) size 743x89
    +                  RenderText {#text} at (0,47) size 743x89
                         text run at (654,47) width 89: "whichever"
                         text run at (0,112) width 208: "line the elements appear."
                     RenderText {#text} at (207,112) size 5x17
    diff --git a/LayoutTests/platform/glib/css1/text_properties/word_spacing-expected.txt b/LayoutTests/platform/glib/css1/text_properties/word_spacing-expected.txt
    index c7a51d0d9c75..3b17e30b2276 100644
    --- a/LayoutTests/platform/glib/css1/text_properties/word_spacing-expected.txt
    +++ b/LayoutTests/platform/glib/css1/text_properties/word_spacing-expected.txt
    @@ -141,7 +141,7 @@ layer at (0,0) size 785x914
               text run at (644,0) width 16: " in"
               text run at (665,0) width 23: " the"
               text run at (693,0) width 58: " sentence"
    -        RenderInline {SPAN} at (0,0) size 176x17
    +        RenderInline {SPAN} at (0,18) size 176x17
               RenderText {#text} at (0,18) size 176x17
                 text run at (0,18) width 176: "should have normal spacing"
             RenderText {#text} at (176,18) size 4x17
    @@ -171,12 +171,12 @@ layer at (0,0) size 785x914
             RenderTableSection {TBODY} at (1,1) size 767x342
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x316
                 RenderTableCell {TD} at (0,171) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,149) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 755x316 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -292,7 +292,7 @@ layer at (0,0) size 785x914
                       text run at (665,0) width 23: " the"
                       text run at (0,18) width 54: "sentence"
                       text run at (59,18) width 4: " "
    -                RenderInline {SPAN} at (0,0) size 176x17
    +                RenderInline {SPAN} at (63,18) size 176x17
                       RenderText {#text} at (63,18) size 176x17
                         text run at (63,18) width 176: "should have normal spacing"
                     RenderText {#text} at (239,18) size 4x17
    diff --git a/LayoutTests/platform/glib/css1/units/color_units-expected.txt b/LayoutTests/platform/glib/css1/units/color_units-expected.txt
    index f74b7f844798..2af30663998e 100644
    --- a/LayoutTests/platform/glib/css1/units/color_units-expected.txt
    +++ b/LayoutTests/platform/glib/css1/units/color_units-expected.txt
    @@ -56,7 +56,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,483) size 769x18
             RenderText {#text} at (0,0) size 407x17
               text run at (0,0) width 407: "This sentence should be black, because the value given for class "
    -        RenderInline {CODE} at (0,0) size 48x15
    +        RenderInline {CODE} at (407,3) size 48x15
               RenderText {#text} at (407,3) size 48x15
                 text run at (407,3) width 48: ".seven"
             RenderText {#text} at (455,0) size 65x17
    @@ -82,7 +82,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,741) size 769x18 [color=#008800]
             RenderText {#text} at (0,0) size 399x17
               text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
    -        RenderInline {TT} at (0,0) size 41x15
    +        RenderInline {TT} at (398,3) size 41x15
               RenderText {#text} at (398,3) size 41x15
                 text run at (398,3) width 41: "style"
             RenderText {#text} at (438,0) size 60x17
    @@ -90,7 +90,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,775) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 281x17
               text run at (0,0) width 281: "This sentence should be green, and used the "
    -        RenderInline {TT} at (0,0) size 40x15
    +        RenderInline {TT} at (281,3) size 40x15
               RenderText {#text} at (281,3) size 40x15
                 text run at (281,3) width 40: "style"
             RenderText {#text} at (321,0) size 59x17
    @@ -98,7 +98,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,809) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 281x17
               text run at (0,0) width 281: "This sentence should be green, and used the "
    -        RenderInline {TT} at (0,0) size 40x15
    +        RenderInline {TT} at (281,3) size 40x15
               RenderText {#text} at (281,3) size 40x15
                 text run at (281,3) width 40: "style"
             RenderText {#text} at (321,0) size 59x17
    @@ -106,7 +106,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,843) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 281x17
               text run at (0,0) width 281: "This sentence should be green, and used the "
    -        RenderInline {TT} at (0,0) size 40x15
    +        RenderInline {TT} at (281,3) size 40x15
               RenderText {#text} at (281,3) size 40x15
                 text run at (281,3) width 40: "style"
             RenderText {#text} at (321,0) size 59x17
    @@ -114,7 +114,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,877) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 281x17
               text run at (0,0) width 281: "This sentence should be green, and used the "
    -        RenderInline {TT} at (0,0) size 40x15
    +        RenderInline {TT} at (281,3) size 40x15
               RenderText {#text} at (281,3) size 40x15
                 text run at (281,3) width 40: "style"
             RenderText {#text} at (321,0) size 59x17
    @@ -122,7 +122,7 @@ layer at (0,0) size 785x1699
           RenderBlock {P} at (0,911) size 769x18 [color=#008000]
             RenderText {#text} at (0,0) size 281x17
               text run at (0,0) width 281: "This sentence should be green, and used the "
    -        RenderInline {TT} at (0,0) size 40x15
    +        RenderInline {TT} at (281,3) size 40x15
               RenderText {#text} at (281,3) size 40x15
                 text run at (281,3) width 40: "style"
             RenderText {#text} at (321,0) size 59x17
    @@ -131,12 +131,12 @@ layer at (0,0) size 785x1699
             RenderTableSection {TBODY} at (1,1) size 767x736
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 768x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x710
                 RenderTableCell {TD} at (0,368) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,346) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 756x710 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x18
    @@ -163,7 +163,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,242) size 747x18
                     RenderText {#text} at (0,0) size 407x17
                       text run at (0,0) width 407: "This sentence should be black, because the value given for class "
    -                RenderInline {CODE} at (0,0) size 48x15
    +                RenderInline {CODE} at (407,3) size 48x15
                       RenderText {#text} at (407,3) size 48x15
                         text run at (407,3) width 48: ".seven"
                     RenderText {#text} at (455,0) size 65x17
    @@ -190,7 +190,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,518) size 747x18 [color=#008800]
                     RenderText {#text} at (0,0) size 399x17
                       text run at (0,0) width 399: "This sentence should be a slightly different green, and used the "
    -                RenderInline {TT} at (0,0) size 41x15
    +                RenderInline {TT} at (398,3) size 41x15
                       RenderText {#text} at (398,3) size 41x15
                         text run at (398,3) width 41: "style"
                     RenderText {#text} at (438,0) size 60x17
    @@ -198,7 +198,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,552) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 281x17
                       text run at (0,0) width 281: "This sentence should be green, and used the "
    -                RenderInline {TT} at (0,0) size 40x15
    +                RenderInline {TT} at (281,3) size 40x15
                       RenderText {#text} at (281,3) size 40x15
                         text run at (281,3) width 40: "style"
                     RenderText {#text} at (321,0) size 59x17
    @@ -206,7 +206,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,586) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 281x17
                       text run at (0,0) width 281: "This sentence should be green, and used the "
    -                RenderInline {TT} at (0,0) size 40x15
    +                RenderInline {TT} at (281,3) size 40x15
                       RenderText {#text} at (281,3) size 40x15
                         text run at (281,3) width 40: "style"
                     RenderText {#text} at (321,0) size 59x17
    @@ -214,7 +214,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,620) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 281x17
                       text run at (0,0) width 281: "This sentence should be green, and used the "
    -                RenderInline {TT} at (0,0) size 40x15
    +                RenderInline {TT} at (281,3) size 40x15
                       RenderText {#text} at (281,3) size 40x15
                         text run at (281,3) width 40: "style"
                     RenderText {#text} at (321,0) size 59x17
    @@ -222,7 +222,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,654) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 281x17
                       text run at (0,0) width 281: "This sentence should be green, and used the "
    -                RenderInline {TT} at (0,0) size 40x15
    +                RenderInline {TT} at (281,3) size 40x15
                       RenderText {#text} at (281,3) size 40x15
                         text run at (281,3) width 40: "style"
                     RenderText {#text} at (321,0) size 59x17
    @@ -230,7 +230,7 @@ layer at (0,0) size 785x1699
                   RenderBlock {P} at (4,688) size 747x18 [color=#008000]
                     RenderText {#text} at (0,0) size 281x17
                       text run at (0,0) width 281: "This sentence should be green, and used the "
    -                RenderInline {TT} at (0,0) size 40x15
    +                RenderInline {TT} at (281,3) size 40x15
                       RenderText {#text} at (281,3) size 40x15
                         text run at (281,3) width 40: "style"
                     RenderText {#text} at (321,0) size 59x17
    diff --git a/LayoutTests/platform/glib/css1/units/length_units-expected.txt b/LayoutTests/platform/glib/css1/units/length_units-expected.txt
    index 624b4582bf5b..531878c93002 100644
    --- a/LayoutTests/platform/glib/css1/units/length_units-expected.txt
    +++ b/LayoutTests/platform/glib/css1/units/length_units-expected.txt
    @@ -34,7 +34,7 @@ layer at (0,0) size 785x1613
             RenderText {#text} at (0,0) size 761x35
               text run at (0,0) width 761: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer) edges"
               text run at (0,18) width 347: "should therefore be appropriately shifted to the right of "
    -        RenderInline {EM} at (0,0) size 22x17
    +        RenderInline {EM} at (347,18) size 22x17
               RenderText {#text} at (347,18) size 22x17
                 text run at (347,18) width 22: "this"
             RenderText {#text} at (369,18) size 138x17
    @@ -69,26 +69,26 @@ layer at (0,0) size 785x1613
           RenderBlock {P} at (0,612) size 769x239 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
             RenderText {#text} at (18,1) size 310x45
               text run at (18,1) width 310: "This element has a "
    -        RenderInline {CODE} at (0,0) size 216x45
    +        RenderInline {CODE} at (328,4) size 216x45
               RenderText {#text} at (328,4) size 216x45
                 text run at (328,4) width 216: "font-size"
             RenderText {#text} at (544,1) size 53x45
               text run at (544,1) width 53: " of "
    -        RenderInline {CODE} at (0,0) size 96x45
    +        RenderInline {CODE} at (597,4) size 96x45
               RenderText {#text} at (597,4) size 96x45
                 text run at (597,4) width 96: "40px"
    -        RenderText {#text} at (693,1) size 743x94
    +        RenderText {#text} at (18,1) size 743x94
               text run at (693,1) width 68: " and"
               text run at (18,50) width 28: "a "
    -        RenderInline {CODE} at (0,0) size 264x45
    +        RenderInline {CODE} at (46,53) size 264x45
               RenderText {#text} at (46,53) size 264x45
                 text run at (46,53) width 264: "border-left"
             RenderText {#text} at (310,50) size 53x45
               text run at (310,50) width 53: " of "
    -        RenderInline {CODE} at (0,0) size 384x45
    +        RenderInline {CODE} at (363,53) size 384x45
               RenderText {#text} at (363,53) size 384x45
                 text run at (363,53) width 384: "1ex solid purple"
    -        RenderText {#text} at (747,50) size 739x188
    +        RenderText {#text} at (18,50) size 739x188
               text run at (747,50) width 10: "."
               text run at (18,99) width 673: "This should make the left border the same"
               text run at (18,146) width 711: "number of pixels as the lower-case 'x' in this"
    @@ -97,19 +97,19 @@ layer at (0,0) size 785x1613
             RenderTableSection {TBODY} at (1,1) size 767x704
               RenderTableRow {TR} at (0,0) size 767x26
                 RenderTableCell {TD} at (0,0) size 768x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 767x678
                 RenderTableCell {TD} at (0,352) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,330) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 756x678 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 747x36
                     RenderText {#text} at (0,0) size 721x35
                       text run at (0,0) width 721: "This paragraph has no left margin. The following paragraphs have all been given a left margin and their left (outer)"
                       text run at (0,18) width 387: "edges should therefore be appropriately shifted to the right of "
    -                RenderInline {EM} at (0,0) size 22x17
    +                RenderInline {EM} at (387,18) size 22x17
                       RenderText {#text} at (387,18) size 22x17
                         text run at (387,18) width 22: "this"
                     RenderText {#text} at (409,18) size 138x17
    @@ -144,26 +144,26 @@ layer at (0,0) size 785x1613
                   RenderBlock {P} at (4,386) size 747x288 [bgcolor=#00FFFF] [border: none (18px solid #800080)]
                     RenderText {#text} at (18,1) size 310x45
                       text run at (18,1) width 310: "This element has a "
    -                RenderInline {CODE} at (0,0) size 216x45
    +                RenderInline {CODE} at (328,4) size 216x45
                       RenderText {#text} at (328,4) size 216x45
                         text run at (328,4) width 216: "font-size"
                     RenderText {#text} at (544,1) size 53x45
                       text run at (544,1) width 53: " of "
    -                RenderInline {CODE} at (0,0) size 96x45
    +                RenderInline {CODE} at (597,4) size 96x45
                       RenderText {#text} at (597,4) size 96x45
                         text run at (597,4) width 96: "40px"
                     RenderText {#text} at (18,50) size 96x45
                       text run at (18,50) width 96: "and a "
    -                RenderInline {CODE} at (0,0) size 264x45
    +                RenderInline {CODE} at (114,53) size 264x45
                       RenderText {#text} at (114,53) size 264x45
                         text run at (114,53) width 264: "border-left"
                     RenderText {#text} at (378,50) size 53x45
                       text run at (378,50) width 53: " of "
    -                RenderInline {CODE} at (0,0) size 629x94
    -                  RenderText {#text} at (431,53) size 629x94
    +                RenderInline {CODE} at (18,53) size 629x94
    +                  RenderText {#text} at (18,53) size 629x94
                         text run at (431,53) width 216: "1ex solid"
                         text run at (18,102) width 144: "purple"
    -                RenderText {#text} at (162,99) size 710x188
    +                RenderText {#text} at (18,99) size 710x188
                       text run at (162,99) width 20: ". "
                       text run at (182,99) width 521: "This should make the left border"
                       text run at (18,148) width 710: "the same number of pixels as the lower-case"
    diff --git a/LayoutTests/platform/glib/css1/units/percentage_units-expected.txt b/LayoutTests/platform/glib/css1/units/percentage_units-expected.txt
    index a1795aa94c50..68e7a9ad45f0 100644
    --- a/LayoutTests/platform/glib/css1/units/percentage_units-expected.txt
    +++ b/LayoutTests/platform/glib/css1/units/percentage_units-expected.txt
    @@ -38,12 +38,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x210
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 783x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x184
                 RenderTableCell {TD} at (0,105) size 13x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,83) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 771x184 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {DIV} at (4,4) size 762x124 [bgcolor=#FFFF00]
    diff --git a/LayoutTests/platform/glib/css1/units/urls-expected.txt b/LayoutTests/platform/glib/css1/units/urls-expected.txt
    index 9052e8447da0..1badfa52f766 100644
    --- a/LayoutTests/platform/glib/css1/units/urls-expected.txt
    +++ b/LayoutTests/platform/glib/css1/units/urls-expected.txt
    @@ -34,12 +34,12 @@ layer at (0,0) size 800x600
             RenderTableSection {TBODY} at (1,1) size 782x192
               RenderTableRow {TR} at (0,0) size 782x26
                 RenderTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
    -              RenderInline {STRONG} at (0,0) size 161x17
    +              RenderInline {STRONG} at (4,4) size 161x17
                     RenderText {#text} at (4,4) size 161x17
                       text run at (4,4) width 161: "TABLE Testing Section"
               RenderTableRow {TR} at (0,26) size 782x166
                 RenderTableCell {TD} at (0,96) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 4x17
    +              RenderText {#text} at (4,74) size 4x17
                     text run at (4,4) width 4: " "
                 RenderTableCell {TD} at (12,26) size 770x166 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock {P} at (4,4) size 762x18
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/block-non-replaced-width-008-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/block-non-replaced-width-008-expected.txt
    index 9b034b1bfcde..855bd4cc1bd7 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/block-non-replaced-width-008-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/block-non-replaced-width-008-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x258
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 337x17
               text run at (0,0) width 337: "Test passes if there is a filled green square below and "
    -        RenderInline {STRONG} at (0,0) size 45x17
    +        RenderInline {STRONG} at (336,0) size 45x17
               RenderText {#text} at (336,0) size 45x17
                 text run at (336,0) width 45: "no red"
             RenderText {#text} at (380,0) size 5x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/border-collapse-offset-002-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/border-collapse-offset-002-expected.txt
    index 51879bbca71a..da4e2a57a8c5 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/border-collapse-offset-002-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/border-collapse-offset-002-expected.txt
    @@ -10,5 +10,5 @@ layer at (0,0) size 800x82
             RenderTableSection {TBODY} at (2,28) size 106x36
               RenderTableRow {TR} at (0,0) size 106x36
                 RenderTableCell {TD} at (0,6) size 106x24 [border: (2px solid #FFA500)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (36,3) size 34x17
    +              RenderText {#text} at (36,9) size 34x17
                     text run at (36,3) width 34: "cell 1"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-079-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-079-expected.txt
    index 32129d551a6e..496189bf1ad9 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-079-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-079-expected.txt
    @@ -14,31 +14,31 @@ layer at (0,0) size 800x308
             RenderTableSection {TBODY} at (2,2) size 165x165
               RenderTableRow {TR} at (0,0) size 165x55
                 RenderTableCell {TD} at (0,15) size 55x25 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (55,15) size 55x25 [border: (3px outset #00FF00) (2px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (110,15) size 55x25 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,55) size 165x55
                 RenderTableCell {TD} at (0,70) size 55x25 [border: (3px outset #00FF00) (2px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (55,70) size 55x25 [border: (3px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (110,70) size 55x25 [border: (3px outset #00FF00) (3px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,110) size 165x55
                 RenderTableCell {TD} at (0,125) size 55x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (55,125) size 55x25 [border: (3px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (110,125) size 55x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-088-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-088-expected.txt
    index 2d3a2f988d94..ebdcd5ac271f 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-088-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/border-conflict-style-088-expected.txt
    @@ -14,31 +14,31 @@ layer at (0,0) size 800x308
             RenderTableSection {TBODY} at (2,2) size 165x165
               RenderTableRow {TR} at (0,0) size 165x55
                 RenderTableCell {TD} at (0,15) size 55x25 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (55,15) size 55x25 [border: (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (110,15) size 55x25 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,55) size 165x55
                 RenderTableCell {TD} at (0,70) size 55x25 [border: (3px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (55,70) size 55x25 [border: (3px outset #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (110,70) size 55x25 [border: (3px ridge #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,110) size 165x55
                 RenderTableCell {TD} at (0,125) size 55x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (55,125) size 55x25 [border: (3px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (110,125) size 55x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/c543-txt-decor-000-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/c543-txt-decor-000-expected.txt
    index b54b3389ec12..ca26159517c2 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/c543-txt-decor-000-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/c543-txt-decor-000-expected.txt
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x430
           RenderBlock {P} at (0,136) size 784x18 [color=#000080]
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "The sentence should be underlined. "
    -        RenderInline {B} at (0,0) size 238x17
    +        RenderInline {B} at (227,0) size 238x17
               RenderText {#text} at (227,0) size 238x17
                 text run at (227,0) width 238: "This sentence should be underlined"
             RenderText {#text} at (465,0) size 4x17
    @@ -39,12 +39,12 @@ layer at (0,0) size 800x430
           RenderBlock {P} at (0,273) size 784x39 [color=#000080]
             RenderText {#text} at (0,3) size 199x17
               text run at (0,3) width 199: "The text of this sentence and all"
    -        RenderInline {SPAN} at (0,0) size 4x17
    +        RenderInline {SPAN} at (199,3) size 4x17
               RenderText {#text} at (199,3) size 4x17
                 text run at (199,3) width 4: " "
             RenderText {#text} at (203,3) size 14x17
               text run at (203,3) width 14: "its"
    -        RenderInline {SPAN} at (0,0) size 4x17
    +        RenderInline {SPAN} at (217,3) size 4x17
               RenderText {#text} at (217,3) size 4x17
                 text run at (217,3) width 4: " "
             RenderText {#text} at (221,3) size 308x17
    @@ -53,11 +53,11 @@ layer at (0,0) size 800x430
             RenderText {#text} at (546,3) size 4x17
               text run at (546,3) width 4: " "
             RenderImage {IMG} at (550,0) size 17x17 [color=#FF0000]
    -        RenderText {#text} at (567,3) size 754x35
    +        RenderText {#text} at (0,3) size 754x35
               text run at (567,3) width 4: " "
               text run at (571,3) width 183: "should be underlined, but the"
               text run at (0,21) width 167: "images themselves should "
    -        RenderInline {EM} at (0,0) size 20x17
    +        RenderInline {EM} at (167,21) size 20x17
               RenderText {#text} at (167,21) size 20x17
                 text run at (167,21) width 20: "not"
             RenderText {#text} at (187,21) size 94x17
    @@ -66,16 +66,16 @@ layer at (0,0) size 800x430
             RenderText {#text} at (0,0) size 568x17
               text run at (0,0) width 478: "This sentence should have a long blue underline including between the two "
               text run at (478,0) width 90: "arrows here\x{2192}"
    -        RenderInline {SPAN} at (0,0) size 157x17 [color=#FFFFFF]
    +        RenderInline {SPAN} at (568,0) size 157x17 [color=#FFFFFF]
               RenderText {#text} at (568,0) size 157x17
                 text run at (568,0) width 157: " FAIL FAIL FAIL FAIL "
    -        RenderText {#text} at (724,0) size 764x35
    +        RenderText {#text} at (0,0) size 764x35
               text run at (724,0) width 40: "\x{2190}and"
               text run at (0,18) width 31: "here."
           RenderBlock {P} at (0,380) size 784x18 [color=#000080]
             RenderText {#text} at (0,0) size 343x17
               text run at (0,0) width 343: "There should be a long blue underline between here\x{2192}"
    -        RenderInline {SPAN} at (0,0) size 88x17
    +        RenderInline {SPAN} at (343,0) size 88x17
               RenderText {#text} at (343,0) size 88x17
                 text run at (343,0) width 88: "                      "
             RenderText {#text} at (431,0) size 74x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/empty-inline-002-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/empty-inline-002-expected.txt
    index 315de1af53eb..4b10013b9edd 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/empty-inline-002-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/empty-inline-002-expected.txt
    @@ -13,5 +13,5 @@ layer at (0,0) size 800x426 layerType: foreground only
               text run at (0,0) width 302: "Test passes if there is no red visible on the page."
           RenderBlock {DIV} at (0,114) size 784x288
             RenderBlock {DIV} at (0,0) size 528x144 [border: (24px solid #008000)]
    -          RenderInline {SPAN} at (0,0) size 240x336 [bgcolor=#008000] [border: (24px solid #008000)]
    +          RenderInline {SPAN} at (120,-96) size 240x336 [bgcolor=#008000] [border: (24px solid #008000)]
               RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/empty-inline-003-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/empty-inline-003-expected.txt
    index 25e9ddea693b..992d463c2639 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/empty-inline-003-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/empty-inline-003-expected.txt
    @@ -14,6 +14,6 @@ layer at (0,0) size 800x138 layerType: foreground only
     layer at (8,50) size 784x80
       RenderBlock (relative positioned) {DIV} at (0,34) size 784x80
         RenderBlock {DIV} at (0,0) size 784x80 [bgcolor=#00FF00]
    -      RenderInline {SPAN} at (0,0) size 0x17
    +      RenderInline {SPAN} at (0,31) size 0x17
           RenderText {#text} at (0,31) size 12x17
             text run at (0,31) width 12: "X"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/floating-replaced-height-008-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/floating-replaced-height-008-expected.txt
    index 25b09b458be5..102a74f7bf70 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/floating-replaced-height-008-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/floating-replaced-height-008-expected.txt
    @@ -6,17 +6,17 @@ layer at (0,0) size 800x186
           RenderBlock {P} at (0,0) size 784x36
             RenderText {#text} at (0,0) size 106x17
               text run at (0,0) width 106: "There should be "
    -        RenderInline {STRONG} at (0,0) size 143x17
    +        RenderInline {STRONG} at (106,0) size 143x17
               RenderText {#text} at (106,0) size 143x17
                 text run at (106,0) width 143: "5 filled green squares"
             RenderText {#text} at (248,0) size 186x17
               text run at (248,0) width 186: " with the same width and the "
    -        RenderInline {STRONG} at (0,0) size 81x17
    +        RenderInline {STRONG} at (433,0) size 81x17
               RenderText {#text} at (433,0) size 81x17
                 text run at (433,0) width 81: "same height"
             RenderText {#text} at (513,0) size 237x17
               text run at (513,0) width 237: ". The 5 filled green squares should be"
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (0,18) size 57x17
               RenderText {#text} at (0,18) size 57x17
                 text run at (0,18) width 57: "identical"
             RenderText {#text} at (57,18) size 445x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/height-width-inline-table-001-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/height-width-inline-table-001-expected.txt
    index eee9ad7a7ed1..398df7a4506a 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/height-width-inline-table-001-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/height-width-inline-table-001-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x162 layerType: foreground only
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 294x17
               text run at (0,0) width 294: "Test passes if there is a filled green square and "
    -        RenderInline {STRONG} at (0,0) size 45x17
    +        RenderInline {STRONG} at (293,0) size 45x17
               RenderText {#text} at (293,0) size 45x17
                 text run at (293,0) width 45: "no red"
             RenderText {#text} at (337,0) size 5x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/height-width-table-001-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/height-width-table-001-expected.txt
    index 9a2f9c2f32e7..06b26f93ea80 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/height-width-table-001-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/height-width-table-001-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x158 layerType: foreground only
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 294x17
               text run at (0,0) width 294: "Test passes if there is a filled green square and "
    -        RenderInline {STRONG} at (0,0) size 45x17
    +        RenderInline {STRONG} at (293,0) size 45x17
               RenderText {#text} at (293,0) size 45x17
                 text run at (293,0) width 45: "no red"
             RenderText {#text} at (337,0) size 5x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-block-replaced-height-008-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-block-replaced-height-008-expected.txt
    index 58610a6a5007..8acdfc23fd43 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-block-replaced-height-008-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-block-replaced-height-008-expected.txt
    @@ -6,17 +6,17 @@ layer at (0,0) size 800x198
           RenderBlock {P} at (0,0) size 784x36
             RenderText {#text} at (0,0) size 106x17
               text run at (0,0) width 106: "There should be "
    -        RenderInline {STRONG} at (0,0) size 143x17
    +        RenderInline {STRONG} at (106,0) size 143x17
               RenderText {#text} at (106,0) size 143x17
                 text run at (106,0) width 143: "5 filled green squares"
             RenderText {#text} at (248,0) size 186x17
               text run at (248,0) width 186: " with the same width and the "
    -        RenderInline {STRONG} at (0,0) size 81x17
    +        RenderInline {STRONG} at (433,0) size 81x17
               RenderText {#text} at (433,0) size 81x17
                 text run at (433,0) width 81: "same height"
             RenderText {#text} at (513,0) size 237x17
               text run at (513,0) width 237: ". The 5 filled green squares should be"
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (0,18) size 57x17
               RenderText {#text} at (0,18) size 57x17
                 text run at (0,18) width 57: "identical"
             RenderText {#text} at (57,18) size 445x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-002-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-002-expected.txt
    index 03d4bfae7e90..e59507ef7925 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-002-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-002-expected.txt
    @@ -8,7 +8,7 @@ layer at (0,0) size 800x282
               text run at (0,0) width 424: "Test passes if the blue and orange boxes below are the same height."
     layer at (8,130) size 784x144
       RenderBlock (relative positioned) {DIV} at (0,114) size 784x144
    -    RenderInline {SPAN} at (0,0) size 96x192 [color=#0000FF] [bgcolor=#0000FF]
    +    RenderInline {SPAN} at (0,-24) size 96x192 [color=#0000FF] [bgcolor=#0000FF]
           RenderText {#text} at (0,24) size 96x96
             text run at (0,24) width 96: "X"
         RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-003-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-003-expected.txt
    index 90384b50c665..f880825352f4 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-003-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-height-003-expected.txt
    @@ -8,7 +8,7 @@ layer at (0,0) size 800x282
               text run at (0,0) width 424: "Test passes if the blue and orange boxes below are the same height."
     layer at (8,130) size 784x144
       RenderBlock (relative positioned) {DIV} at (0,114) size 784x144
    -    RenderInline {SPAN} at (0,0) size 96x192 [color=#0000FF] [bgcolor=#0000FF] [border: (48px solid #0000FF) none (48px solid #0000FF) none]
    +    RenderInline {SPAN} at (0,-24) size 96x192 [color=#0000FF] [bgcolor=#0000FF] [border: (48px solid #0000FF) none (48px solid #0000FF) none]
           RenderText {#text} at (0,24) size 96x96
             text run at (0,24) width 96: "X"
         RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-001-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-001-expected.txt
    index ed18cce7029e..3a6aa6682af6 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-001-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-001-expected.txt
    @@ -9,6 +9,6 @@ layer at (0,0) size 800x256
           RenderBlock {DIV} at (0,34) size 198x198 [border: (3px solid #000000)]
             RenderText {#text} at (0,0) size 0x0
     layer at (8,50) size 96x96
    -  RenderInline (relative positioned) {SPAN} at (0,0) size 96x96 [color=#0000FF]
    +  RenderInline (relative positioned) {SPAN} at (3,3) size 96x96 [color=#0000FF]
         RenderText {#text} at (3,3) size 96x96
           text run at (3,3) width 96: "X"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-002-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-002-expected.txt
    index ed18cce7029e..3a6aa6682af6 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-002-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-non-replaced-width-002-expected.txt
    @@ -9,6 +9,6 @@ layer at (0,0) size 800x256
           RenderBlock {DIV} at (0,34) size 198x198 [border: (3px solid #000000)]
             RenderText {#text} at (0,0) size 0x0
     layer at (8,50) size 96x96
    -  RenderInline (relative positioned) {SPAN} at (0,0) size 96x96 [color=#0000FF]
    +  RenderInline (relative positioned) {SPAN} at (3,3) size 96x96 [color=#0000FF]
         RenderText {#text} at (3,3) size 96x96
           text run at (3,3) width 96: "X"
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/inline-replaced-height-008-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/inline-replaced-height-008-expected.txt
    index f62634b8e035..1234ec73a562 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/inline-replaced-height-008-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/inline-replaced-height-008-expected.txt
    @@ -6,17 +6,17 @@ layer at (0,0) size 800x198
           RenderBlock {P} at (0,0) size 784x36
             RenderText {#text} at (0,0) size 106x17
               text run at (0,0) width 106: "There should be "
    -        RenderInline {STRONG} at (0,0) size 143x17
    +        RenderInline {STRONG} at (106,0) size 143x17
               RenderText {#text} at (106,0) size 143x17
                 text run at (106,0) width 143: "5 filled green squares"
             RenderText {#text} at (248,0) size 186x17
               text run at (248,0) width 186: " with the same width and the "
    -        RenderInline {STRONG} at (0,0) size 81x17
    +        RenderInline {STRONG} at (433,0) size 81x17
               RenderText {#text} at (433,0) size 81x17
                 text run at (433,0) width 81: "same height"
             RenderText {#text} at (513,0) size 237x17
               text run at (513,0) width 237: ". The 5 filled green squares should be"
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (0,18) size 57x17
               RenderText {#text} at (0,18) size 57x17
                 text run at (0,18) width 57: "identical"
             RenderText {#text} at (57,18) size 445x17
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/margin-applies-to-008-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/margin-applies-to-008-expected.txt
    index 78df3cc21569..08fc1590cbf0 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/margin-applies-to-008-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/margin-applies-to-008-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x76
           RenderBlock (anonymous) at (0,34) size 784x18
             RenderInline {DIV} at (0,0) size 185x17 [border: none (5px solid #0000FF) none (5px solid #0000FF)]
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {DIV} at (0,0) size 75x17 [border: none (5px solid #FFA500) none (5px solid #FFA500)]
    +          RenderInline {DIV} at (55,0) size 75x17 [border: none (5px solid #FFA500) none (5px solid #FFA500)]
                 RenderText {#text} at (60,0) size 65x17
                   text run at (60,0) width 65: "Filler Text"
               RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/replaced-min-max-001-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/replaced-min-max-001-expected.txt
    index c1ed08f504ae..905e92bb0eec 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/replaced-min-max-001-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/replaced-min-max-001-expected.txt
    @@ -7,100 +7,100 @@ layer at (0,0) size 800x271
             RenderText {#text} at (0,0) size 298x17
               text run at (0,0) width 298: "All twenty images should be identically square."
           RenderBlock (anonymous) at (0,18) size 784x237
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (0,61) size 75x17
               RenderImage {IMG} at (0,0) size 75x75
             RenderText {#text} at (75,61) size 4x17
               text run at (75,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (79,61) size 75x17
               RenderImage {IMG} at (79,0) size 75x75
             RenderText {#text} at (154,61) size 4x17
               text run at (154,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (158,61) size 75x17
               RenderImage {IMG} at (158,0) size 75x75
             RenderText {#text} at (233,61) size 4x17
               text run at (233,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (237,61) size 75x17
               RenderImage {IMG} at (237,0) size 75x75
             RenderText {#text} at (312,61) size 4x17
               text run at (312,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (316,61) size 75x17
               RenderImage {IMG} at (316,0) size 75x75
             RenderText {#text} at (391,61) size 4x17
               text run at (391,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (395,61) size 75x17
               RenderImage {IMG} at (395,0) size 75x75
             RenderText {#text} at (470,61) size 4x17
               text run at (470,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (474,61) size 75x17
               RenderImage {IMG} at (474,0) size 75x75
             RenderText {#text} at (549,61) size 4x17
               text run at (549,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (553,61) size 75x17
               RenderImage {IMG} at (553,0) size 75x75
             RenderText {#text} at (628,61) size 4x17
               text run at (628,61) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (632,61) size 75x17
               RenderImage {IMG} at (632,0) size 75x75
             RenderText {#text} at (0,0) size 0x0
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (0,140) size 75x17
               RenderImage {IMG} at (0,79) size 75x75
             RenderText {#text} at (75,140) size 4x17
               text run at (75,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (79,140) size 75x17
               RenderImage {IMG} at (79,79) size 75x75
             RenderText {#text} at (154,140) size 4x17
               text run at (154,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (158,140) size 75x17
               RenderImage {IMG} at (158,79) size 75x75
             RenderText {#text} at (233,140) size 4x17
               text run at (233,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (237,140) size 75x17
               RenderImage {IMG} at (237,79) size 75x75
             RenderText {#text} at (312,140) size 4x17
               text run at (312,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (316,140) size 75x17
               RenderImage {IMG} at (316,79) size 75x75
             RenderText {#text} at (391,140) size 4x17
               text run at (391,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (395,140) size 75x17
               RenderImage {IMG} at (395,79) size 75x75
             RenderText {#text} at (470,140) size 4x17
               text run at (470,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (474,140) size 75x17
               RenderImage {IMG} at (474,79) size 75x75
             RenderText {#text} at (549,140) size 4x17
               text run at (549,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (553,140) size 75x17
               RenderImage {IMG} at (553,79) size 75x75
             RenderText {#text} at (628,140) size 4x17
               text run at (628,140) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (632,140) size 75x17
               RenderImage {IMG} at (632,79) size 75x75
             RenderText {#text} at (0,0) size 0x0
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (0,219) size 75x17
               RenderImage {IMG} at (0,158) size 75x75
             RenderText {#text} at (75,219) size 4x17
               text run at (75,219) width 4: " "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {P} at (0,0) size 75x17
    +        RenderInline {P} at (79,219) size 75x17
               RenderImage {IMG} at (79,158) size 75x75
             RenderText {#text} at (0,0) size 0x0
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-023-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-023-expected.txt
    index 20430ecf7a22..194dacb5e0ff 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-023-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-023-expected.txt
    @@ -10,11 +10,11 @@ layer at (0,0) size 800x158
             RenderTableSection {TBODY} at (0,0) size 347x100
               RenderTableRow {TR} at (0,2) size 347x96
                 RenderTableCell {TD} at (2,27) size 59x18 [r=0 c=0 rs=1 cs=1]
    -              RenderBlock {DIV} at (1,1) size 57x16
    +              RenderBlock {DIV} at (1,26) size 57x16
                     RenderText {#text} at (0,0) size 57x15
                       text run at (0,0) width 57: "Filler Text"
                 RenderTableCell {TD} at (62,15) size 113x33 [r=0 c=1 rs=1 cs=1]
    -              RenderBlock {DIV} at (1,1) size 111x31
    +              RenderBlock {DIV} at (1,14) size 111x31
                     RenderText {#text} at (0,0) size 111x30
                       text run at (0,0) width 111: "Filler Text"
                 RenderTableCell {TD} at (176,2) size 169x49 [r=0 c=2 rs=1 cs=1]
    diff --git a/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-024-expected.txt b/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-024-expected.txt
    index 20430ecf7a22..194dacb5e0ff 100644
    --- a/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-024-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/20110323/table-height-algorithm-024-expected.txt
    @@ -10,11 +10,11 @@ layer at (0,0) size 800x158
             RenderTableSection {TBODY} at (0,0) size 347x100
               RenderTableRow {TR} at (0,2) size 347x96
                 RenderTableCell {TD} at (2,27) size 59x18 [r=0 c=0 rs=1 cs=1]
    -              RenderBlock {DIV} at (1,1) size 57x16
    +              RenderBlock {DIV} at (1,26) size 57x16
                     RenderText {#text} at (0,0) size 57x15
                       text run at (0,0) width 57: "Filler Text"
                 RenderTableCell {TD} at (62,15) size 113x33 [r=0 c=1 rs=1 cs=1]
    -              RenderBlock {DIV} at (1,1) size 111x31
    +              RenderBlock {DIV} at (1,14) size 111x31
                     RenderText {#text} at (0,0) size 111x30
                       text run at (0,0) width 111: "Filler Text"
                 RenderTableCell {TD} at (176,2) size 169x49 [r=0 c=2 rs=1 cs=1]
    diff --git a/LayoutTests/platform/glib/css2.1/t010403-shand-border-00-c-expected.txt b/LayoutTests/platform/glib/css2.1/t010403-shand-border-00-c-expected.txt
    index 70685db9d686..c884152c877d 100644
    --- a/LayoutTests/platform/glib/css2.1/t010403-shand-border-00-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t010403-shand-border-00-c-expected.txt
    @@ -4,6 +4,6 @@ layer at (0,0) size 800x56
       RenderBlock {HTML} at (0,0) size 800x56
         RenderBody {BODY} at (8,16) size 784x24 [bgcolor=#FFFFFF]
           RenderBlock {P} at (0,0) size 784x24 [color=#008000] [border: (3px solid #008000)]
    -        RenderInline {SPAN} at (0,0) size 234x17 [color=#000000]
    +        RenderInline {SPAN} at (3,3) size 234x17 [color=#000000]
               RenderText {#text} at (3,3) size 234x17
                 text run at (3,3) width 234: "This text should have a green border."
    diff --git a/LayoutTests/platform/glib/css2.1/t040306-c63-color-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t040306-c63-color-00-b-ag-expected.txt
    index 8e19e71d2642..4350d45cfc95 100644
    --- a/LayoutTests/platform/glib/css2.1/t040306-c63-color-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t040306-c63-color-00-b-ag-expected.txt
    @@ -9,10 +9,10 @@ layer at (0,0) size 800x112
           RenderBlock {DIV} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 38x17
               text run at (0,0) width 38: "Blue: "
    -        RenderInline {SPAN} at (0,0) size 15x15
    +        RenderInline {SPAN} at (38,3) size 15x15
               RenderText {#text} at (38,3) size 15x15
                 text run at (38,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15
    +        RenderInline {SPAN} at (53,3) size 15x15
               RenderText {#text} at (53,3) size 15x15
                 text run at (53,3) width 15: "X"
             RenderImage {IMG} at (68,3) size 15x15 [color=#FF0000]
    @@ -20,16 +20,16 @@ layer at (0,0) size 800x112
           RenderBlock {DIV} at (0,52) size 784x18
             RenderText {#text} at (0,0) size 55x17
               text run at (0,0) width 55: "Orange: "
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
    +        RenderInline {SPAN} at (55,3) size 15x15 [color=#FFA500]
               RenderText {#text} at (55,3) size 15x15
                 text run at (55,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
    +        RenderInline {SPAN} at (70,3) size 15x15 [color=#FFA500]
               RenderText {#text} at (70,3) size 15x15
                 text run at (70,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
    +        RenderInline {SPAN} at (85,3) size 15x15 [color=#FFA500]
               RenderText {#text} at (85,3) size 15x15
                 text run at (85,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#FFA500]
    +        RenderInline {SPAN} at (100,3) size 15x15 [color=#FFA500]
               RenderText {#text} at (100,3) size 15x15
                 text run at (100,3) width 15: "X"
             RenderImage {IMG} at (115,3) size 15x15 [color=#FF0000]
    @@ -37,40 +37,40 @@ layer at (0,0) size 800x112
           RenderBlock {DIV} at (0,70) size 784x18
             RenderText {#text} at (0,0) size 41x17
               text run at (0,0) width 41: "Lime: "
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (41,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (41,3) size 15x15
                 text run at (41,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (56,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (56,3) size 15x15
                 text run at (56,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (71,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (71,3) size 15x15
                 text run at (71,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (86,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (86,3) size 15x15
                 text run at (86,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (101,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (101,3) size 15x15
                 text run at (101,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (116,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (116,3) size 15x15
                 text run at (116,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (131,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (131,3) size 15x15
                 text run at (131,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (146,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (146,3) size 15x15
                 text run at (146,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (161,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (161,3) size 15x15
                 text run at (161,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (176,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (176,3) size 15x15
                 text run at (176,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (191,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (191,3) size 15x15
                 text run at (191,3) width 15: "X"
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00]
    +        RenderInline {SPAN} at (206,3) size 15x15 [color=#00FF00]
               RenderText {#text} at (206,3) size 15x15
                 text run at (206,3) width 15: "X"
             RenderImage {IMG} at (221,3) size 15x15 [color=#FF0000]
    diff --git a/LayoutTests/platform/glib/css2.1/t051201-c23-first-line-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t051201-c23-first-line-00-b-expected.txt
    index 465042568cb1..ca30a4f94d4c 100644
    --- a/LayoutTests/platform/glib/css2.1/t051201-c23-first-line-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t051201-c23-first-line-00-b-expected.txt
    @@ -6,16 +6,16 @@ layer at (0,0) size 800x407
           RenderBlock {P} at (0,0) size 784x108
             RenderText {#text} at (0,0) size 29x17
               text run at (0,0) width 29: "The "
    -        RenderInline {STRONG} at (0,0) size 55x17
    +        RenderInline {STRONG} at (29,0) size 55x17
               RenderText {#text} at (29,0) size 55x17
                 text run at (29,0) width 55: "first line"
             RenderText {#text} at (84,0) size 300x17
               text run at (84,0) width 204: " of this paragraph, and only that "
               text run at (288,0) width 96: "one, should be "
    -        RenderInline {STRONG} at (0,0) size 38x17
    +        RenderInline {STRONG} at (384,0) size 38x17
               RenderText {#text} at (384,0) size 38x17
                 text run at (384,0) width 38: "green"
    -        RenderText {#text} at (421,0) size 780x107
    +        RenderText {#text} at (0,0) size 780x107
               text run at (421,0) width 179: ". If this precise combination "
               text run at (599,0) width 181: "does not occur, then the user"
               text run at (0,18) width 230: "agent has failed this test. Remember "
    @@ -32,22 +32,22 @@ layer at (0,0) size 800x407
           RenderBlock {P} at (0,124) size 784x127
             RenderText {#text} at (0,0) size 58x36
               text run at (0,0) width 58: "The "
    -        RenderInline {STRONG} at (0,0) size 115x36
    +        RenderInline {STRONG} at (58,0) size 115x36
               RenderText {#text} at (58,0) size 115x36
                 text run at (58,0) width 115: "first line"
    -        RenderText {#text} at (173,0) size 774x54
    +        RenderText {#text} at (0,0) size 774x54
               text run at (173,0) width 416: " of this paragraph, and only that "
               text run at (589,0) width 185: "one, should be"
               text run at (0,37) width 11: "a "
    -        RenderInline {STRONG} at (0,0) size 41x17
    +        RenderInline {STRONG} at (11,37) size 41x17
               RenderText {#text} at (11,37) size 41x17
                 text run at (11,37) width 41: "larger"
             RenderText {#text} at (52,37) size 126x17
               text run at (52,37) width 126: " font size as well as "
    -        RenderInline {STRONG} at (0,0) size 38x17
    +        RenderInline {STRONG} at (178,37) size 38x17
               RenderText {#text} at (178,37) size 38x17
                 text run at (178,37) width 38: "green"
    -        RenderText {#text} at (215,37) size 779x89
    +        RenderText {#text} at (0,37) size 779x89
               text run at (215,37) width 279: ". If this precise combination does not occur, "
               text run at (493,37) width 238: "then the user agent has failed this test."
               text run at (0,55) width 169: "Remember that in order to "
    @@ -64,22 +64,22 @@ layer at (0,0) size 800x407
           RenderBlock {P} at (0,267) size 784x108
             RenderText {#text} at (0,0) size 29x17
               text run at (0,0) width 29: "The "
    -        RenderInline {STRONG} at (0,0) size 62x17
    +        RenderInline {STRONG} at (29,0) size 62x17
               RenderText {#text} at (29,0) size 62x17
                 text run at (29,0) width 62: "first line"
             RenderText {#text} at (91,0) size 398x17
               text run at (91,0) width 219: " of this paragraph, and only that "
               text run at (309,0) width 180: "one, should be displayed in "
    -        RenderInline {STRONG} at (0,0) size 74x17
    +        RenderInline {STRONG} at (488,0) size 74x17
               RenderText {#text} at (488,0) size 74x17
                 text run at (488,0) width 74: "small-caps"
             RenderText {#text} at (561,0) size 116x17
               text run at (561,0) width 62: " style as "
               text run at (622,0) width 55: "well as "
    -        RenderInline {STRONG} at (0,0) size 40x17
    +        RenderInline {STRONG} at (676,0) size 40x17
               RenderText {#text} at (676,0) size 40x17
                 text run at (676,0) width 40: "green"
    -        RenderText {#text} at (715,0) size 784x107
    +        RenderText {#text} at (0,0) size 784x107
               text run at (715,0) width 59: ". Thus, if"
               text run at (0,18) width 132: "the first line is not in "
               text run at (132,18) width 341: "small-caps style, or if the entire paragraph turns out in "
    diff --git a/LayoutTests/platform/glib/css2.1/t051202-c24-first-lttr-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t051202-c24-first-lttr-00-b-expected.txt
    index 88340d7d8380..b3405e079813 100644
    --- a/LayoutTests/platform/glib/css2.1/t051202-c24-first-lttr-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t051202-c24-first-lttr-00-b-expected.txt
    @@ -9,16 +9,16 @@ layer at (0,0) size 800x255
                 text run at (0,0) width 10: "T"
             RenderText {#text} at (10,0) size 19x17
               text run at (10,0) width 19: "he "
    -        RenderInline {STRONG} at (0,0) size 66x17
    +        RenderInline {STRONG} at (29,0) size 66x17
               RenderText {#text} at (29,0) size 66x17
                 text run at (29,0) width 66: "first letter"
             RenderText {#text} at (95,0) size 300x17
               text run at (95,0) width 204: " of this paragraph, and only that "
               text run at (299,0) width 96: "one, should be "
    -        RenderInline {STRONG} at (0,0) size 38x17
    +        RenderInline {STRONG} at (395,0) size 38x17
               RenderText {#text} at (395,0) size 38x17
                 text run at (395,0) width 38: "green"
    -        RenderText {#text} at (432,0) size 761x35
    +        RenderText {#text} at (0,0) size 761x35
               text run at (432,0) width 179: ". If this precise combination "
               text run at (610,0) width 151: "does not occur, then the"
               text run at (0,18) width 183: "user agent has failed this test."
    @@ -28,47 +28,47 @@ layer at (0,0) size 800x255
                 text run at (0,0) width 20: "T"
             RenderText {#text} at (20,15) size 19x17
               text run at (20,15) width 19: "he "
    -        RenderInline {STRONG} at (0,0) size 66x17
    +        RenderInline {STRONG} at (39,15) size 66x17
               RenderText {#text} at (39,15) size 66x17
                 text run at (39,15) width 66: "first letter"
             RenderText {#text} at (105,15) size 327x17
               text run at (105,15) width 204: " of this paragraph, and only that "
               text run at (309,15) width 123: "one, should be in a "
    -        RenderInline {STRONG} at (0,0) size 41x17
    +        RenderInline {STRONG} at (432,15) size 41x17
               RenderText {#text} at (432,15) size 41x17
                 text run at (432,15) width 41: "larger"
             RenderText {#text} at (473,15) size 130x17
               text run at (473,15) width 130: " font size, as well as "
    -        RenderInline {STRONG} at (0,0) size 38x17
    +        RenderInline {STRONG} at (603,15) size 38x17
               RenderText {#text} at (603,15) size 38x17
                 text run at (603,15) width 38: "green"
    -        RenderText {#text} at (640,15) size 733x39
    +        RenderText {#text} at (0,15) size 733x39
               text run at (640,15) width 93: ". If this precise"
               text run at (0,37) width 182: "combination does not occur, "
               text run at (181,37) width 238: "then the user agent has failed this test."
           RenderBlock {P} at (0,123) size 784x100
    -        RenderInline (generated) at (0,0) size 57x62 [color=#008000]
    +        RenderInline (generated) at (0,1) size 57x62 [color=#008000]
               RenderText at (0,1) size 57x62
                 text run at (0,1) width 57: "\"T"
             RenderText {#text} at (57,37) size 19x17
               text run at (57,37) width 19: "he "
    -        RenderInline {STRONG} at (0,0) size 131x17
    +        RenderInline {STRONG} at (76,37) size 131x17
               RenderText {#text} at (76,37) size 131x17
                 text run at (76,37) width 131: "first two characters"
             RenderText {#text} at (207,37) size 452x17
               text run at (207,37) width 129: " in this paragraph (a "
               text run at (336,37) width 323: "double-quote mark and a capital 'T') should be in a "
    -        RenderInline {STRONG} at (0,0) size 83x17
    +        RenderInline {STRONG} at (659,37) size 83x17
               RenderText {#text} at (659,37) size 83x17
                 text run at (659,37) width 42: "much "
                 text run at (701,37) width 41: "larger"
    -        RenderText {#text} at (742,37) size 771x44
    +        RenderText {#text} at (0,37) size 771x44
               text run at (742,37) width 29: " font"
               text run at (0,64) width 246: "size than the rest of the paragraph, and "
    -        RenderInline {STRONG} at (0,0) size 38x17
    +        RenderInline {STRONG} at (246,64) size 38x17
               RenderText {#text} at (246,64) size 38x17
                 text run at (246,64) width 38: "green"
    -        RenderText {#text} at (283,64) size 770x35
    +        RenderText {#text} at (0,64) size 770x35
               text run at (283,64) width 279: ". If this precise combination does not occur, "
               text run at (561,64) width 209: "then the user agent has failed this"
               text run at (0,82) width 25: "test."
    diff --git a/LayoutTests/platform/glib/css2.1/t051202-c26-psudo-nest-00-c-expected.txt b/LayoutTests/platform/glib/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
    index 93ab572d25f6..289efbb5acc5 100644
    --- a/LayoutTests/platform/glib/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t051202-c26-psudo-nest-00-c-expected.txt
    @@ -4,44 +4,44 @@ layer at (0,0) size 800x454
       RenderBlock {HTML} at (0,0) size 800x454
         RenderBody {BODY} at (8,16) size 784x430 [color=#0000FF]
           RenderBlock {P} at (0,0) size 784x237
    -        RenderInline (generated) at (0,0) size 88x159 [color=#00FFFF]
    +        RenderInline (generated) at (0,3) size 88x159 [color=#00FFFF]
               RenderText at (0,3) size 88x159
                 text run at (0,3) width 88: "T"
             RenderText {#text} at (87,88) size 58x53
               text run at (87,88) width 58: "he "
    -        RenderInline {STRONG} at (0,0) size 206x53
    +        RenderInline {STRONG} at (144,88) size 206x53
               RenderText {#text} at (144,88) size 206x53
                 text run at (144,88) width 206: "first letter"
    -        RenderText {#text} at (350,88) size 779x94
    +        RenderText {#text} at (0,88) size 779x94
               text run at (350,88) width 429: " of this paragraph, and"
               text run at (0,165) width 59: "only that "
               text run at (59,165) width 96: "one, should be "
    -        RenderInline {STRONG} at (0,0) size 87x17
    +        RenderInline {STRONG} at (155,165) size 87x17
               RenderText {#text} at (155,165) size 87x17
                 text run at (155,165) width 87: "600% bigger"
             RenderText {#text} at (242,165) size 513x17
               text run at (242,165) width 133: " than the normal text "
               text run at (375,165) width 380: "(300% bigger than the rest of first line of this paragraph) and"
    -        RenderInline {STRONG} at (0,0) size 34x17
    +        RenderInline {STRONG} at (0,183) size 34x17
               RenderText {#text} at (0,183) size 34x17
                 text run at (0,183) width 34: "aqua"
             RenderText {#text} at (34,183) size 109x17
               text run at (34,183) width 109: ", while the entire "
    -        RenderInline {STRONG} at (0,0) size 55x17
    +        RenderInline {STRONG} at (143,183) size 55x17
               RenderText {#text} at (143,183) size 55x17
                 text run at (143,183) width 55: "first line"
             RenderText {#text} at (198,183) size 69x17
               text run at (198,183) width 4: " "
               text run at (202,183) width 65: "should be "
    -        RenderInline {STRONG} at (0,0) size 87x17
    +        RenderInline {STRONG} at (267,183) size 87x17
               RenderText {#text} at (267,183) size 87x17
                 text run at (267,183) width 87: "300% bigger"
             RenderText {#text} at (354,183) size 110x17
               text run at (354,183) width 110: " than normal and "
    -        RenderInline {STRONG} at (0,0) size 24x17
    +        RenderInline {STRONG} at (464,183) size 24x17
               RenderText {#text} at (464,183) size 24x17
                 text run at (464,183) width 24: "teal"
    -        RenderText {#text} at (488,183) size 779x53
    +        RenderText {#text} at (0,183) size 779x53
               text run at (488,183) width 274: ". If this precise combination does not occur,"
               text run at (0,201) width 410: "then the user agent has failed this test. Remember that in order to "
               text run at (410,201) width 369: "ensure a complete test, the paragraph must be displayed on"
    @@ -53,34 +53,34 @@ layer at (0,0) size 800x454
                 text run at (0,0) width 33: "\"T"
             RenderText {#text} at (33,15) size 98x17
               text run at (33,15) width 98: "est\": The first "
    -        RenderInline {STRONG} at (0,0) size 108x17
    +        RenderInline {STRONG} at (131,15) size 108x17
               RenderText {#text} at (131,15) size 108x17
                 text run at (131,15) width 108: "two characters"
             RenderText {#text} at (239,15) size 447x17
               text run at (239,15) width 118: " in this paragraph "
               text run at (356,15) width 330: "(a double-quote mark and a capital 'T') should be "
    -        RenderInline {STRONG} at (0,0) size 89x17
    +        RenderInline {STRONG} at (685,15) size 89x17
               RenderText {#text} at (685,15) size 89x17
                 text run at (685,15) width 45: "200% "
                 text run at (729,15) width 45: "bigger"
             RenderText {#text} at (0,37) size 218x17
               text run at (0,37) width 218: "than the rest of the paragraph, and "
    -        RenderInline {STRONG} at (0,0) size 34x17
    +        RenderInline {STRONG} at (218,37) size 34x17
               RenderText {#text} at (218,37) size 34x17
                 text run at (218,37) width 34: "aqua"
             RenderText {#text} at (252,37) size 146x17
               text run at (252,37) width 146: ". In addition, the entire "
    -        RenderInline {STRONG} at (0,0) size 55x17
    +        RenderInline {STRONG} at (398,37) size 55x17
               RenderText {#text} at (398,37) size 55x17
                 text run at (398,37) width 31: "first "
                 text run at (429,37) width 24: "line"
             RenderText {#text} at (453,37) size 96x17
               text run at (453,37) width 96: " should be in a "
    -        RenderInline {STRONG} at (0,0) size 159x17
    +        RenderInline {STRONG} at (549,37) size 159x17
               RenderText {#text} at (549,37) size 159x17
                 text run at (549,37) width 135: "small-caps font and "
                 text run at (684,37) width 24: "teal"
    -        RenderText {#text} at (708,37) size 724x35
    +        RenderText {#text} at (0,37) size 724x35
               text run at (708,37) width 4: "."
               text run at (0,55) width 315: "Remember that in order to ensure a complete test, "
               text run at (315,55) width 409: "the paragraph must be displayed on more than one line. (TEST2)"
    @@ -90,26 +90,26 @@ layer at (0,0) size 800x454
                 text run at (0,0) width 10: "T"
             RenderText {#text} at (10,0) size 19x17
               text run at (10,0) width 19: "he "
    -        RenderInline {STRONG} at (0,0) size 66x17
    +        RenderInline {STRONG} at (29,0) size 66x17
               RenderText {#text} at (29,0) size 66x17
                 text run at (29,0) width 66: "first letter"
             RenderText {#text} at (95,0) size 300x17
               text run at (95,0) width 204: " of this paragraph, and only that "
               text run at (299,0) width 96: "one, should be "
    -        RenderInline {STRONG} at (0,0) size 34x17
    +        RenderInline {STRONG} at (395,0) size 34x17
               RenderText {#text} at (395,0) size 34x17
                 text run at (395,0) width 34: "aqua"
             RenderText {#text} at (429,0) size 109x17
               text run at (429,0) width 109: ", while the entire "
    -        RenderInline {STRONG} at (0,0) size 55x17
    +        RenderInline {STRONG} at (538,0) size 55x17
               RenderText {#text} at (538,0) size 55x17
                 text run at (538,0) width 55: "first line"
             RenderText {#text} at (593,0) size 69x17
               text run at (593,0) width 69: " should be "
    -        RenderInline {STRONG} at (0,0) size 24x17
    +        RenderInline {STRONG} at (662,0) size 24x17
               RenderText {#text} at (662,0) size 24x17
                 text run at (662,0) width 24: "teal"
    -        RenderText {#text} at (686,0) size 778x53
    +        RenderText {#text} at (0,0) size 778x53
               text run at (686,0) width 22: ". If "
               text run at (708,0) width 70: "this precise"
               text run at (0,18) width 329: "combination does not occur, then the user agent has "
    @@ -119,17 +119,17 @@ layer at (0,0) size 800x454
           RenderBlock {DIV} at (0,412) size 784x18
             RenderText {#text} at (0,0) size 167x17
               text run at (0,0) width 167: "You should see the words "
    -        RenderInline {STRONG} at (0,0) size 69x17
    +        RenderInline {STRONG} at (166,0) size 69x17
               RenderText {#text} at (166,0) size 69x17
                 text run at (166,0) width 69: "\"TEST1\""
             RenderText {#text} at (234,0) size 9x17
               text run at (234,0) width 9: ", "
    -        RenderInline {STRONG} at (0,0) size 69x17
    +        RenderInline {STRONG} at (242,0) size 69x17
               RenderText {#text} at (242,0) size 69x17
                 text run at (242,0) width 69: "\"TEST2\""
             RenderText {#text} at (310,0) size 36x17
               text run at (310,0) width 36: ", and "
    -        RenderInline {STRONG} at (0,0) size 69x17
    +        RenderInline {STRONG} at (345,0) size 69x17
               RenderText {#text} at (345,0) size 69x17
                 text run at (345,0) width 69: "\"TEST3\""
             RenderText {#text} at (413,0) size 237x17
    diff --git a/LayoutTests/platform/glib/css2.1/t0602-c13-inh-underlin-00-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0602-c13-inh-underlin-00-e-expected.txt
    index cf2d6fc8a6fd..11c51accec8a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0602-c13-inh-underlin-00-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0602-c13-inh-underlin-00-e-expected.txt
    @@ -9,23 +9,23 @@ layer at (0,0) size 800x152
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 293x17
               text run at (0,0) width 293: "This sentence should be underlined, including "
    -        RenderInline {CODE} at (0,0) size 72x15
    +        RenderInline {CODE} at (293,3) size 72x15
               RenderText {#text} at (293,3) size 72x15
                 text run at (293,3) width 72: "this part"
             RenderText {#text} at (365,0) size 8x17
               text run at (365,0) width 8: ", "
    -        RenderInline {CITE} at (0,0) size 52x17
    +        RenderInline {CITE} at (373,0) size 52x17
               RenderText {#text} at (373,0) size 52x17
                 text run at (373,0) width 52: "this part"
             RenderText {#text} at (425,0) size 8x17
               text run at (425,0) width 8: ", "
    -        RenderInline {EM} at (0,0) size 52x17
    +        RenderInline {EM} at (433,0) size 52x17
               RenderText {#text} at (433,0) size 52x17
                 text run at (433,0) width 52: "this part"
             RenderText {#text} at (485,0) size 35x17
               text run at (485,0) width 8: ", "
               text run at (493,0) width 27: "and "
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (520,0) size 57x17
               RenderText {#text} at (520,0) size 57x17
                 text run at (520,0) width 57: "this part"
             RenderText {#text} at (577,0) size 4x17
    @@ -34,7 +34,7 @@ layer at (0,0) size 800x152
             RenderText {#text} at (0,0) size 371x17
               text run at (0,0) width 278: "This sentence should also be underlined, as "
               text run at (278,0) width 93: "well as italics, "
    -        RenderInline {STRONG} at (0,0) size 119x17
    +        RenderInline {STRONG} at (371,0) size 119x17
               RenderText {#text} at (371,0) size 119x17
                 text run at (371,0) width 119: "including this part"
             RenderText {#text} at (490,0) size 4x17
    @@ -42,12 +42,12 @@ layer at (0,0) size 800x152
           RenderBlock {P} at (0,102) size 784x18
             RenderText {#text} at (0,0) size 336x17
               text run at (0,0) width 336: "This sentence should be blue but not underlined, like "
    -        RenderInline {STRONG} at (0,0) size 57x17
    +        RenderInline {STRONG} at (336,0) size 57x17
               RenderText {#text} at (336,0) size 57x17
                 text run at (336,0) width 57: "this part"
             RenderText {#text} at (393,0) size 32x17
               text run at (393,0) width 32: ", but "
    -        RenderInline {EM} at (0,0) size 189x17
    +        RenderInline {EM} at (425,0) size 189x17
               RenderText {#text} at (425,0) size 189x17
                 text run at (425,0) width 189: "this part should be underlined"
             RenderText {#text} at (614,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css2.1/t0602-c13-inheritance-00-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0602-c13-inheritance-00-e-expected.txt
    index 5d15b2a4a276..907036240c3d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0602-c13-inheritance-00-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0602-c13-inheritance-00-e-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x152
           RenderBlock {P} at (0,34) size 784x18 [color=#FFFFFF] [bgcolor=#008000]
             RenderText {#text} at (0,0) size 90x17
               text run at (0,0) width 90: "This sentence "
    -        RenderInline {SPAN} at (0,0) size 61x17
    +        RenderInline {SPAN} at (90,0) size 61x17
               RenderText {#text} at (90,0) size 61x17
                 text run at (90,0) width 61: "should be"
             RenderText {#text} at (151,0) size 102x17
    @@ -20,14 +20,14 @@ layer at (0,0) size 800x152
                 text run at (0,0) width 34: "PASS"
             RenderText {#text} at (33,0) size 5x17
               text run at (33,0) width 5: " "
    -        RenderInline {STRONG} at (0,0) size 39x17
    +        RenderInline {STRONG} at (37,0) size 39x17
               RenderText {#text} at (37,0) size 39x17
                 text run at (37,0) width 39: "FAIL"
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,102) size 784x18
             RenderText {#text} at (0,0) size 42x17
               text run at (0,0) width 42: "PASS "
    -        RenderInline {DFN} at (0,0) size 33x17 [color=#FFFFFF]
    +        RenderInline {DFN} at (41,0) size 33x17 [color=#FFFFFF]
               RenderText {#text} at (41,0) size 33x17
                 text run at (41,0) width 33: "FAIL"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt b/LayoutTests/platform/glib/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
    index e47bcf507feb..20c739537435 100644
    --- a/LayoutTests/platform/glib/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0602-inherit-bdr-pad-b-00-expected.txt
    @@ -6,13 +6,13 @@ layer at (0,0) size 800x84
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 239x17
               text run at (0,0) width 239: "This sentence should have no border. "
    -        RenderInline {SPAN} at (0,0) size 275x27 [border: (5px solid #00FF00)]
    +        RenderInline {SPAN} at (238,-5) size 275x27 [border: (5px solid #00FF00)]
               RenderText {#text} at (243,0) size 265x17
                 text run at (243,0) width 265: "This sentence should have a green border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
    -        RenderInline {SPAN} at (0,0) size 374x33 [bgcolor=#FF0000]
    -          RenderInline {SPAN} at (0,0) size 374x33 [bgcolor=#00FF00]
    +        RenderInline {SPAN} at (0,-8) size 374x33 [bgcolor=#FF0000]
    +          RenderInline {SPAN} at (0,-8) size 374x33 [bgcolor=#00FF00]
                 RenderText {#text} at (0,0) size 374x17
                   text run at (0,0) width 374: "This sentence should be in a green bar, with no red present."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt
    index e02eadb64cc3..d041081919ae 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5501-imrgn-t-00-b-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x238
           RenderBlock {P} at (0,34) size 160x48 [color=#FFA500] [bgcolor=#FFFF00]
             RenderText {#text} at (0,0) size 112x16
               text run at (0,0) width 112: "xxx xxx"
    -        RenderInline {SPAN} at (0,0) size 112x16 [bgcolor=#00FF00]
    +        RenderInline {SPAN} at (0,16) size 112x16 [bgcolor=#00FF00]
               RenderText {#text} at (0,16) size 112x16
                 text run at (0,16) width 112: "xxx xxx"
             RenderText {#text} at (0,32) size 112x16
    @@ -17,7 +17,7 @@ layer at (0,0) size 800x238
           RenderBlock {P} at (0,98) size 160x48 [color=#FFA500] [bgcolor=#FFFF00]
             RenderText {#text} at (0,0) size 112x16
               text run at (0,0) width 112: "xxx xxx"
    -        RenderInline {SPAN} at (0,0) size 112x16 [bgcolor=#00FF00]
    +        RenderInline {SPAN} at (0,16) size 112x16 [bgcolor=#00FF00]
               RenderText {#text} at (0,16) size 112x16
                 text run at (0,16) width 112: "xxx xxx"
             RenderText {#text} at (0,32) size 112x16
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt
    index 0fb99278b464..91e4d64bc85d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-00-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x95
             RenderBlock {P} at (0,0) size 105x30 [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 15x15
                 text run at (0,0) width 15: "x"
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (0,15) size 15x15
                 RenderText {#text} at (0,15) size 15x15
                   text run at (0,15) width 15: "x"
               RenderText {#text} at (75,15) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt
    index 36ca847d855c..322101a02199 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-01-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x15
                 text run at (0,0) width 30: "x "
               RenderInline {SPAN} at (0,0) size 105x30
    -            RenderText {#text} at (30,0) size 105x30
    +            RenderText {#text} at (0,0) size 105x30
                   text run at (30,0) width 75: "xxxxx"
                   text run at (0,15) width 75: "xxxxx"
               RenderText {#text} at (135,15) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt
    index 619e0f26b133..d76a9cf695e4 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-02-b-a-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x125
             RenderBlock {P} at (0,0) size 75x60 [color=#FFFFFF] [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 75x15
                 text run at (0,0) width 75: "xx xx"
    -          RenderInline {SPAN} at (0,0) size 30x30 [color=#008000] [bgcolor=#FF0000]
    +          RenderInline {SPAN} at (0,15) size 30x30 [color=#008000] [bgcolor=#FF0000]
                 RenderText {#text} at (0,15) size 30x30
                   text run at (0,15) width 30: "xx"
                   text run at (0,30) width 30: "xx"
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt
    index 2bf334f007e3..e37fc39820ce 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-03-b-a-expected.txt
    @@ -10,11 +10,11 @@ layer at (0,0) size 800x140
             RenderText {#text} at (0,0) size 135x15
               text run at (0,0) width 135: "xx xx xx "
             RenderInline {SPAN} at (0,0) size 165x45
    -          RenderText {#text} at (135,0) size 165x45
    +          RenderText {#text} at (0,0) size 165x45
                 text run at (135,0) width 30: "xx"
                 text run at (0,15) width 165: "xx xx xx xx"
                 text run at (0,30) width 30: "xx"
    -        RenderText {#text} at (75,30) size 165x45
    +        RenderText {#text} at (0,30) size 165x45
               text run at (75,30) width 90: " xx xx"
               text run at (0,45) width 165: "xx xx xx xx"
               text run at (0,60) width 165: "xx xx xx xx"
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt
    index b4bbd6aeecf1..91d696a4b035 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-04-b-ag-expected.txt
    @@ -10,9 +10,9 @@ layer at (0,0) size 800x110
             RenderBlock {P} at (0,0) size 120x30 [color=#FFFFFF] [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 105x15
                 text run at (0,0) width 105: "x x x x"
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (105,0) size 15x15
                 RenderText {#text} at (105,0) size 15x15
                   text run at (105,0) width 15: "x"
    -          RenderText {#text} at (60,0) size 105x30
    +          RenderText {#text} at (0,0) size 105x30
                 text run at (60,0) width 45: "x x"
                 text run at (0,15) width 105: "x x x x"
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt
    index bdc70a89c9f4..dbe9e7be877f 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5502-imrgn-r-05-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x113
             RenderBlock {P} at (0,0) size 180x15 [color=#00FF00] [bgcolor=#FFFF00]
               RenderText {#text} at (0,0) size 45x15
                 text run at (0,0) width 45: "xx "
    -          RenderInline {SPAN} at (0,0) size 135x15 [color=#FFA500] [bgcolor=#0000FF]
    +          RenderInline {SPAN} at (45,0) size 135x15 [color=#FFA500] [bgcolor=#0000FF]
                 RenderText {#text} at (45,0) size 135x15
                   text run at (45,0) width 135: "xx xx xx "
               RenderText {#text} at (120,0) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt
    index e02eadb64cc3..d041081919ae 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5503-imrgn-b-00-b-a-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x238
           RenderBlock {P} at (0,34) size 160x48 [color=#FFA500] [bgcolor=#FFFF00]
             RenderText {#text} at (0,0) size 112x16
               text run at (0,0) width 112: "xxx xxx"
    -        RenderInline {SPAN} at (0,0) size 112x16 [bgcolor=#00FF00]
    +        RenderInline {SPAN} at (0,16) size 112x16 [bgcolor=#00FF00]
               RenderText {#text} at (0,16) size 112x16
                 text run at (0,16) width 112: "xxx xxx"
             RenderText {#text} at (0,32) size 112x16
    @@ -17,7 +17,7 @@ layer at (0,0) size 800x238
           RenderBlock {P} at (0,98) size 160x48 [color=#FFA500] [bgcolor=#FFFF00]
             RenderText {#text} at (0,0) size 112x16
               text run at (0,0) width 112: "xxx xxx"
    -        RenderInline {SPAN} at (0,0) size 112x16 [bgcolor=#00FF00]
    +        RenderInline {SPAN} at (0,16) size 112x16 [bgcolor=#00FF00]
               RenderText {#text} at (0,16) size 112x16
                 text run at (0,16) width 112: "xxx xxx"
             RenderText {#text} at (0,32) size 112x16
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt
    index 7a9bc52fc0ed..310bb9ad7c18 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-00-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x95
             RenderBlock {P} at (0,0) size 105x30 [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 15x15
                 text run at (0,0) width 15: "x"
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (60,15) size 15x15
                 RenderText {#text} at (60,15) size 15x15
                   text run at (60,15) width 15: "x"
               RenderText {#text} at (75,15) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt
    index 880ffbfeaf74..7daeccb4f76c 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-01-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x15
                 text run at (0,0) width 30: "x "
               RenderInline {SPAN} at (0,0) size 165x30
    -            RenderText {#text} at (90,0) size 165x30
    +            RenderText {#text} at (0,0) size 165x30
                   text run at (90,0) width 75: "xxxxx"
                   text run at (0,15) width 75: "xxxxx"
               RenderText {#text} at (75,15) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt
    index ab3ca174581c..9115259d9acb 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-02-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x30
                 text run at (0,0) width 30: "xx"
                 text run at (0,15) width 30: "xx"
    -          RenderInline {SPAN} at (0,0) size 15x15 [color=#00FF00] [bgcolor=#FF0000]
    +          RenderInline {SPAN} at (90,15) size 15x15 [color=#00FF00] [bgcolor=#FF0000]
                 RenderText {#text} at (90,15) size 15x15
                   text run at (90,15) width 15: "x"
               RenderText {#text} at (0,30) size 75x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt
    index 649b80721c43..a31ce2b36d48 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-03-b-a-expected.txt
    @@ -11,8 +11,8 @@ layer at (0,0) size 800x140
               text run at (0,0) width 165: "xx xx xx xx"
               text run at (0,15) width 165: "xx xx xx xx"
               text run at (0,30) width 45: "xx "
    -        RenderInline {SPAN} at (0,0) size 165x30
    -          RenderText {#text} at (90,30) size 165x30
    +        RenderInline {SPAN} at (0,30) size 165x30
    +          RenderText {#text} at (0,30) size 165x30
                 text run at (90,30) width 75: "xx xx"
                 text run at (0,45) width 165: "xx xx xx xx"
             RenderText {#text} at (0,60) size 165x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt
    index 38aba7d9fc19..016186cfecaf 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-04-b-ag-expected.txt
    @@ -10,9 +10,9 @@ layer at (0,0) size 800x110
             RenderBlock {P} at (0,0) size 120x30 [color=#FFFFFF] [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 105x15
                 text run at (0,0) width 105: "x x x x"
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (45,0) size 15x15
                 RenderText {#text} at (45,0) size 15x15
                   text run at (45,0) width 15: "x"
    -          RenderText {#text} at (60,0) size 105x30
    +          RenderText {#text} at (0,0) size 105x30
                 text run at (60,0) width 45: "x x"
                 text run at (0,15) width 105: "x x x x"
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt
    index 2135a5337ae8..8b0d49d5a87d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-05-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x113
             RenderBlock {P} at (0,0) size 195x15 [color=#00FF00] [bgcolor=#FFFF00]
               RenderText {#text} at (0,0) size 135x15
                 text run at (0,0) width 135: "xx xx xx "
    -          RenderInline {SPAN} at (0,0) size 90x15 [color=#FFA500] [bgcolor=#0000FF]
    +          RenderInline {SPAN} at (75,0) size 90x15 [color=#FFA500] [bgcolor=#0000FF]
                 RenderText {#text} at (75,0) size 90x15
                   text run at (75,0) width 90: "xx xx "
               RenderText {#text} at (165,0) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt
    index 092dbb798128..a3f4db95c641 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5504-imrgn-l-06-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x107
             RenderBlock {P} at (0,0) size 75x15 [color=#00FF00] [bgcolor=#FFFF00]
               RenderText {#text} at (0,0) size 45x15
                 text run at (0,0) width 45: "xx "
    -          RenderInline {SPAN} at (0,0) size 30x15 [color=#FFA500] [bgcolor=#FF0000]
    +          RenderInline {SPAN} at (-15,0) size 30x15 [color=#FFA500] [bgcolor=#FF0000]
                 RenderText {#text} at (-15,0) size 30x15
                   text run at (-15,0) width 30: "xx"
           RenderBlock {DIV} at (0,64) size 784x19
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt
    index a9bebcde0d0d..c781eef59ebb 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5505-imrgn-00-a-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x116
             RenderBlock {DIV} at (0,0) size 105x15 [color=#008000] [bgcolor=#00FF00]
               RenderText {#text} at (0,0) size 15x15
                 text run at (0,0) width 15: "x"
    -          RenderInline {SPAN} at (0,0) size 45x15 [color=#FFFF00] [bgcolor=#FFA500]
    +          RenderInline {SPAN} at (30,0) size 45x15 [color=#FFFF00] [bgcolor=#FFA500]
                 RenderText {#text} at (30,0) size 45x15
                   text run at (30,0) width 45: " x "
               RenderText {#text} at (90,0) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt
    index 130ab8d85a9e..5c572343a14a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0803-c5505-mrgn-00-b-ag-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x238
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 291x17
               text run at (0,0) width 291: "The five \"matches\" below should be identical "
    -        RenderInline {STRONG} at (0,0) size 129x17
    +        RenderInline {STRONG} at (291,0) size 129x17
               RenderText {#text} at (291,0) size 129x17
                 text run at (291,0) width 129: "and equally spaced"
             RenderText {#text} at (420,0) size 4x17
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt
    index 82b0bcfd4a09..85d735b38b2a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-00-b-a-expected.txt
    @@ -9,12 +9,12 @@ layer at (0,0) size 800x118
           RenderBlock {DIV} at (0,34) size 120x60 [color=#FFFFFF]
             RenderText {#text} at (0,0) size 100x20
               text run at (0,0) width 100: "xx xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [color=#FF0000]
    +        RenderInline {SPAN} at (0,20) size 40x20 [color=#FF0000]
               RenderText {#text} at (0,20) size 40x20
                 text run at (0,20) width 40: "xx"
             RenderText {#text} at (40,20) size 60x20
               text run at (40,20) width 60: " xx"
    -        RenderInline {SPAN} at (0,0) size 40x40 [bgcolor=#008000]
    +        RenderInline {SPAN} at (0,20) size 40x40 [bgcolor=#008000]
               RenderText {#text} at (0,40) size 40x20
                 text run at (0,40) width 40: "xx"
             RenderText {#text} at (40,40) size 60x20
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt
    index e3125850987c..d99a5d3193f7 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-01-b-a-expected.txt
    @@ -9,12 +9,12 @@ layer at (0,0) size 800x118
           RenderBlock {DIV} at (0,34) size 120x60 [color=#FFFFFF]
             RenderText {#text} at (0,0) size 100x20
               text run at (0,0) width 100: "xx xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [color=#008000]
    +        RenderInline {SPAN} at (0,20) size 40x20 [color=#008000]
               RenderText {#text} at (0,20) size 40x20
                 text run at (0,20) width 40: "xx"
             RenderText {#text} at (40,20) size 60x20
               text run at (40,20) width 60: " xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (0,40) size 40x20 [bgcolor=#FF0000]
               RenderText {#text} at (0,40) size 40x20
                 text run at (0,40) width 40: "xx"
             RenderText {#text} at (40,40) size 60x20
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt
    index 3f90cbdc249b..aef952b836aa 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5506-ipadn-t-02-b-a-expected.txt
    @@ -7,7 +7,7 @@ layer at (0,0) size 800x110
             RenderText {#text} at (0,0) size 223x17
               text run at (0,0) width 223: "There should be a green bar below:"
           RenderBlock {DIV} at (0,66) size 120x20 [color=#FFFFFF]
    -        RenderInline {SPAN} at (0,0) size 40x40 [bgcolor=#008000]
    +        RenderInline {SPAN} at (0,-20) size 40x40 [bgcolor=#008000]
               RenderText {#text} at (0,0) size 40x20
                 text run at (0,0) width 40: "xx"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt
    index 35451e14869a..9e0ca1a292ad 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-00-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x95
             RenderBlock {P} at (0,0) size 105x30 [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 15x15
                 text run at (0,0) width 15: "x"
    -          RenderInline {SPAN} at (0,0) size 75x15
    +          RenderInline {SPAN} at (0,15) size 75x15
                 RenderText {#text} at (0,15) size 15x15
                   text run at (0,15) width 15: "x"
               RenderText {#text} at (75,15) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt
    index 152f3b934e59..9de56786a272 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-01-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x15
                 text run at (0,0) width 30: "x "
               RenderInline {SPAN} at (0,0) size 135x30
    -            RenderText {#text} at (30,0) size 105x30
    +            RenderText {#text} at (0,0) size 105x30
                   text run at (30,0) width 75: "xxxxx"
                   text run at (0,15) width 75: "xxxxx"
               RenderText {#text} at (135,15) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt
    index 88a85d685954..121e0eaadfc9 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-02-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x125
               RenderBlock {P} at (0,0) size 75x60 [color=#FFFFFF] [bgcolor=#FFFFFF]
                 RenderText {#text} at (0,0) size 75x15
                   text run at (0,0) width 75: "xx xx"
    -            RenderInline {SPAN} at (0,0) size 90x30 [color=#008000]
    +            RenderInline {SPAN} at (0,15) size 90x30 [color=#008000]
                   RenderText {#text} at (0,15) size 30x30
                     text run at (0,15) width 30: "xx"
                     text run at (0,30) width 30: "xx"
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt
    index 2bf334f007e3..e37fc39820ce 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-03-b-a-expected.txt
    @@ -10,11 +10,11 @@ layer at (0,0) size 800x140
             RenderText {#text} at (0,0) size 135x15
               text run at (0,0) width 135: "xx xx xx "
             RenderInline {SPAN} at (0,0) size 165x45
    -          RenderText {#text} at (135,0) size 165x45
    +          RenderText {#text} at (0,0) size 165x45
                 text run at (135,0) width 30: "xx"
                 text run at (0,15) width 165: "xx xx xx xx"
                 text run at (0,30) width 30: "xx"
    -        RenderText {#text} at (75,30) size 165x45
    +        RenderText {#text} at (0,30) size 165x45
               text run at (75,30) width 90: " xx xx"
               text run at (0,45) width 165: "xx xx xx xx"
               text run at (0,60) width 165: "xx xx xx xx"
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt
    index df797dfaaf4d..7eb02ca3f9f4 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5507-ipadn-r-04-b-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x116
           RenderBlock {DIV} at (15,34) size 135x15 [color=#FFFF00] [bgcolor=#FFA500]
             RenderText {#text} at (0,0) size 15x15
               text run at (0,0) width 15: "x"
    -        RenderInline {SPAN} at (0,0) size 60x15
    +        RenderInline {SPAN} at (15,0) size 60x15
               RenderText {#text} at (15,0) size 15x15
                 text run at (15,0) width 15: "x"
             RenderText {#text} at (75,0) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt
    index 231a1d26cf09..75054da93ba4 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-00-b-a-expected.txt
    @@ -9,12 +9,12 @@ layer at (0,0) size 800x118
           RenderBlock {DIV} at (0,34) size 120x60 [color=#FFFFFF]
             RenderText {#text} at (0,0) size 100x20
               text run at (0,0) width 100: "xx xx"
    -        RenderInline {SPAN} at (0,0) size 40x40 [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (0,20) size 40x40 [bgcolor=#FF0000]
               RenderText {#text} at (0,20) size 40x20
                 text run at (0,20) width 40: "xx"
             RenderText {#text} at (40,20) size 60x20
               text run at (40,20) width 60: " xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [color=#008000]
    +        RenderInline {SPAN} at (0,40) size 40x20 [color=#008000]
               RenderText {#text} at (0,40) size 40x20
                 text run at (0,40) width 40: "xx"
             RenderText {#text} at (40,40) size 60x20
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt
    index c805cca10469..1ba926c57dc0 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5508-ipadn-b-01-f-a-expected.txt
    @@ -9,12 +9,12 @@ layer at (0,0) size 800x118
           RenderBlock {DIV} at (0,34) size 120x60 [color=#FFFFFF]
             RenderText {#text} at (0,0) size 100x20
               text run at (0,0) width 100: "xx xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (0,20) size 40x20 [bgcolor=#FF0000]
               RenderText {#text} at (0,20) size 40x20
                 text run at (0,20) width 40: "xx"
             RenderText {#text} at (40,20) size 60x20
               text run at (40,20) width 60: " xx"
    -        RenderInline {SPAN} at (0,0) size 40x20 [color=#008000]
    +        RenderInline {SPAN} at (0,40) size 40x20 [color=#008000]
               RenderText {#text} at (0,40) size 40x20
                 text run at (0,40) width 40: "xx"
             RenderText {#text} at (40,40) size 60x20
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt
    index 7ca66ff44059..26d60675a637 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-00-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x95
             RenderBlock {P} at (0,0) size 105x30 [bgcolor=#FFFFFF]
               RenderText {#text} at (0,0) size 15x15
                 text run at (0,0) width 15: "x"
    -          RenderInline {SPAN} at (0,0) size 75x15
    +          RenderInline {SPAN} at (0,15) size 75x15
                 RenderText {#text} at (60,15) size 15x15
                   text run at (60,15) width 15: "x"
               RenderText {#text} at (75,15) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt
    index faabff19536c..7d71e8cc0793 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-01-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x15
                 text run at (0,0) width 30: "x "
               RenderInline {SPAN} at (0,0) size 150x30
    -            RenderText {#text} at (90,0) size 150x30
    +            RenderText {#text} at (0,0) size 150x30
                   text run at (90,0) width 60: "xxxx"
                   text run at (0,15) width 60: "xxxx"
               RenderText {#text} at (60,15) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt
    index c5f26a9c7648..e4e4f65c0b71 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-02-b-ag-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x110
               RenderText {#text} at (0,0) size 30x30
                 text run at (0,0) width 30: "xx"
                 text run at (0,15) width 30: "xx"
    -          RenderInline {SPAN} at (0,0) size 75x15 [color=#00FF00]
    +          RenderInline {SPAN} at (30,15) size 75x15 [color=#00FF00]
                 RenderText {#text} at (90,15) size 15x15
                   text run at (90,15) width 15: "x"
               RenderText {#text} at (0,30) size 75x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt
    index 649b80721c43..a31ce2b36d48 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-03-b-a-expected.txt
    @@ -11,8 +11,8 @@ layer at (0,0) size 800x140
               text run at (0,0) width 165: "xx xx xx xx"
               text run at (0,15) width 165: "xx xx xx xx"
               text run at (0,30) width 45: "xx "
    -        RenderInline {SPAN} at (0,0) size 165x30
    -          RenderText {#text} at (90,30) size 165x30
    +        RenderInline {SPAN} at (0,30) size 165x30
    +          RenderText {#text} at (0,30) size 165x30
                 text run at (90,30) width 75: "xx xx"
                 text run at (0,45) width 165: "xx xx xx xx"
             RenderText {#text} at (0,60) size 165x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt
    index 9fc6ad3df8f0..0eebd2d34256 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5509-ipadn-l-04-f-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x116
           RenderBlock {DIV} at (15,34) size 135x15 [color=#FFFF00] [bgcolor=#FFA500]
             RenderText {#text} at (0,0) size 15x15
               text run at (0,0) width 15: "x"
    -        RenderInline {SPAN} at (0,0) size 60x15
    +        RenderInline {SPAN} at (15,0) size 60x15
               RenderText {#text} at (60,0) size 15x15
                 text run at (60,0) width 15: "x"
             RenderText {#text} at (75,0) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt
    index d31427580c97..a41ae33bc6dc 100644
    --- a/LayoutTests/platform/glib/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0804-c5510-ipadn-00-b-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x192
             RenderBlock {P} at (0,0) size 105x15 [color=#008000] [bgcolor=#00FF00]
               RenderText {#text} at (0,0) size 30x15
                 text run at (0,0) width 30: "x "
    -          RenderInline {SPAN} at (0,0) size 45x45 [color=#FFFF00] [bgcolor=#FFA500]
    +          RenderInline {SPAN} at (30,-15) size 45x45 [color=#FFFF00] [bgcolor=#FFA500]
                 RenderText {#text} at (45,0) size 15x15
                   text run at (45,0) width 15: "x"
               RenderText {#text} at (75,0) size 30x15
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt
    index b6577482ca41..965228a5a693 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5511-brdr-tw-00-b-expected.txt
    @@ -14,10 +14,10 @@ layer at (0,0) size 800x122
                     RenderText {#text} at (3,5) size 12x17
                       text run at (3,5) width 12: "A"
                 RenderTableCell {TD} at (24,4) size 19x58 [r=0 c=1 rs=1 cs=1]
    -              RenderBlock {P} at (1,17) size 17x24 [border: (3px solid #000080)]
    +              RenderBlock {P} at (1,19) size 17x24 [border: (3px solid #000080)]
                     RenderText {#text} at (3,3) size 11x17
                       text run at (3,3) width 11: "B"
                 RenderTableCell {TD} at (45,6) size 19x56 [r=0 c=2 rs=1 cs=1]
    -              RenderBlock {P} at (1,17) size 17x22 [border: (1px solid #000080) (3px solid #000080)]
    +              RenderBlock {P} at (1,21) size 17x22 [border: (1px solid #000080) (3px solid #000080)]
                     RenderText {#text} at (3,1) size 11x17
                       text run at (3,1) width 11: "C"
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
    index a52ba5640fc9..83080a0ca7b0 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5511-ibrdr-tw-00-a-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x84
       RenderBlock {HTML} at (0,0) size 800x84
         RenderBody {BODY} at (8,16) size 784x52
           RenderBlock {P} at (0,0) size 784x18
    -        RenderInline {SPAN} at (0,0) size 254x21 [border: (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (0,-1) size 254x21 [border: (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (3,0) size 248x17
                 text run at (3,0) width 248: "This box should have a thin top border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "There should be no red on this line. "
    -        RenderInline {SPAN} at (0,0) size 12x17 [color=#FF0000]
    +        RenderInline {SPAN} at (227,0) size 12x17 [color=#FF0000]
               RenderText {#text} at (227,0) size 12x17
                 text run at (227,0) width 12: "   "
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
    index a173e6e4f550..17c53b766654 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5512-ibrdr-rw-00-a-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x84
       RenderBlock {HTML} at (0,0) size 800x84
         RenderBody {BODY} at (8,16) size 784x52
           RenderBlock {P} at (0,0) size 784x18
    -        RenderInline {SPAN} at (0,0) size 261x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (0,-3) size 261x23 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (3,0) size 257x17
                 text run at (3,0) width 257: "This box should have a thin right border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "There should be no red on this line. "
    -        RenderInline {SPAN} at (0,0) size 12x17 [color=#FF0000]
    +        RenderInline {SPAN} at (227,0) size 12x17 [color=#FF0000]
               RenderText {#text} at (227,0) size 12x17
                 text run at (227,0) width 12: "   "
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
    index 9fe4dae7d303..916a18772c05 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5513-ibrdr-bw-00-a-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x84
       RenderBlock {HTML} at (0,0) size 800x84
         RenderBody {BODY} at (8,16) size 784x52
           RenderBlock {P} at (0,0) size 784x18
    -        RenderInline {SPAN} at (0,0) size 278x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
    +        RenderInline {SPAN} at (0,-3) size 278x21 [border: (3px solid #000000) (1px solid #000000) (3px solid #000000)]
               RenderText {#text} at (3,0) size 272x17
                 text run at (3,0) width 272: "This box should have a thin bottom border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "There should be no red on this line. "
    -        RenderInline {SPAN} at (0,0) size 12x17 [color=#FF0000]
    +        RenderInline {SPAN} at (227,0) size 12x17 [color=#FF0000]
               RenderText {#text} at (227,0) size 12x17
                 text run at (227,0) width 12: "   "
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
    index bccfc615babf..f49d1993864a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5514-ibrdr-lw-00-a-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x84
       RenderBlock {HTML} at (0,0) size 800x84
         RenderBody {BODY} at (8,16) size 784x52
           RenderBlock {P} at (0,0) size 784x18
    -        RenderInline {SPAN} at (0,0) size 252x23 [border: (3px solid #000000) (1px solid #000000)]
    +        RenderInline {SPAN} at (0,-3) size 252x23 [border: (3px solid #000000) (1px solid #000000)]
               RenderText {#text} at (1,0) size 248x17
                 text run at (1,0) width 248: "This box should have a thin left border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "There should be no red on this line. "
    -        RenderInline {SPAN} at (0,0) size 12x17 [color=#FF0000]
    +        RenderInline {SPAN} at (227,0) size 12x17 [color=#FF0000]
               RenderText {#text} at (227,0) size 12x17
                 text run at (227,0) width 12: "   "
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5515-ibrdr-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
    index 58b7a72b585d..b820db0af79d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5515-ibrdr-00-b-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x84
       RenderBlock {HTML} at (0,0) size 800x84
         RenderBody {BODY} at (8,16) size 784x52
           RenderBlock {P} at (0,0) size 784x18
    -        RenderInline {SPAN} at (0,0) size 226x19 [border: (1px solid #000000)]
    +        RenderInline {SPAN} at (0,-1) size 226x19 [border: (1px solid #000000)]
               RenderText {#text} at (1,0) size 224x17
                 text run at (1,0) width 224: "This box should have a thin border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 227x17
               text run at (0,0) width 227: "There should be no red on this line. "
    -        RenderInline {SPAN} at (0,0) size 12x17 [color=#FF0000]
    +        RenderInline {SPAN} at (227,0) size 12x17 [color=#FF0000]
               RenderText {#text} at (227,0) size 12x17
                 text run at (227,0) width 12: "   "
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
    index 4c6ccd11cf2d..3afff41084d8 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5516-ibrdr-c-00-a-expected.txt
    @@ -4,17 +4,17 @@ layer at (0,0) size 800x246
       RenderBlock {HTML} at (0,0) size 800x246
         RenderBody {BODY} at (8,48) size 784x150
           RenderBlock {P} at (48,0) size 688x18
    -        RenderInline {SPAN} at (0,0) size 241x23 [border: (3px solid #008000)]
    +        RenderInline {SPAN} at (0,-3) size 241x23 [border: (3px solid #008000)]
               RenderText {#text} at (3,0) size 235x17
                 text run at (3,0) width 235: "This box should have a green border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (48,66) size 688x18
    -        RenderInline {SPAN} at (0,0) size 241x23 [border: (3px solid #008000)]
    +        RenderInline {SPAN} at (0,-3) size 241x23 [border: (3px solid #008000)]
               RenderText {#text} at (3,0) size 235x17
                 text run at (3,0) width 235: "This box should have a green border."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (48,132) size 688x18
    -        RenderInline {SPAN} at (0,0) size 595x81 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
    +        RenderInline {SPAN} at (0,-32) size 595x81 [border: (32px solid #800080) (32px solid #008000) (32px solid #0000FF) (32px solid #FFFF00)]
               RenderText {#text} at (32,0) size 531x17
                 text run at (32,0) width 531: "Clockwise from top, the borders should be: PURPLE, GREEN, BLUE, YELLOW."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
    index a552e4241944..d9a77b476a94 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5517-ibrdr-s-00-a-expected.txt
    @@ -7,12 +7,12 @@ layer at (0,0) size 800x152
             RenderText {#text} at (0,0) size 269x17
               text run at (0,0) width 269: "The borders below should be as described:"
           RenderBlock {P} at (0,34) size 784x18
    -        RenderInline {SPAN} at (0,0) size 126x27 [border: (5px dashed #000000)]
    +        RenderInline {SPAN} at (0,-5) size 126x27 [border: (5px dashed #000000)]
               RenderText {#text} at (5,0) size 116x17
                 text run at (5,0) width 116: "Black and dashed."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (0,68) size 784x18
    -        RenderInline {SPAN} at (0,0) size 144x27 [border: (5px groove #FFA500)]
    +        RenderInline {SPAN} at (0,-5) size 144x27 [border: (5px groove #FFA500)]
               RenderText {#text} at (5,0) size 134x17
                 text run at (5,0) width 134: "Orange and grooved."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5518-brdr-t-01-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5518-brdr-t-01-e-expected.txt
    index 6cae854ab25f..9fbf72af65dc 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5518-brdr-t-01-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5518-brdr-t-01-e-expected.txt
    @@ -6,10 +6,10 @@ layer at (0,0) size 800x297
           RenderBlock {P} at (0,0) size 784x37
             RenderText {#text} at (0,1) size 483x17
               text run at (0,1) width 483: "There should be a solid blue line directly over every occurance of the word \""
    -        RenderInline {SPAN} at (0,0) size 60x19 [border: (2px solid #0000FF) none]
    +        RenderInline {SPAN} at (483,-1) size 60x19 [border: (2px solid #0000FF) none]
               RenderText {#text} at (483,1) size 60x17
                 text run at (483,1) width 60: "HERE \x{21E7}"
    -        RenderText {#text} at (543,1) size 776x35
    +        RenderText {#text} at (0,1) size 776x35
               text run at (543,1) width 233: "\". (So there should be 8 blue lines on"
               text run at (0,19) width 65: "this page.)"
           RenderTable {TABLE} at (0,53) size 136x79
    @@ -20,7 +20,7 @@ layer at (0,0) size 800x297
                     text run at (36,4) width 60: "HERE \x{21E7}"
               RenderTableRow {TR} at (0,27) size 136x50
                 RenderTableCell {TD} at (2,40) size 62x24 [border: (2px solid #0000FF) none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,3) size 60x19
    +              RenderText {#text} at (1,17) size 60x18
                     text run at (1,4) width 60: "HERE \x{21E7}"
                 RenderTableCell {TD} at (66,27) size 68x50 [border: (2px solid #0000FF) none] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (1,3) size 66x19
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt
    index cf6197927c2c..981353e5b355 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5518-ibrdr-t-00-a-expected.txt
    @@ -17,10 +17,10 @@ layer at (0,0) size 800x318
               text run at (395,36) width 364: "dummy text dummy text dummy text dummy text dummy"
               text run at (0,54) width 106: "text dummy text "
               text run at (106,54) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 130x27 [color=#0000FF] [border: (10px double #0000FF) none]
    +        RenderInline {SPAN} at (580,44) size 130x27 [color=#0000FF] [border: (10px double #0000FF) none]
               RenderText {#text} at (580,54) size 130x17
                 text run at (580,54) width 130: "two blue lines above"
    -        RenderText {#text} at (710,54) size 762x107
    +        RenderText {#text} at (0,54) size 762x107
               text run at (710,54) width 52: " dummy"
               text run at (0,72) width 106: "text dummy text "
               text run at (106,72) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    @@ -34,11 +34,11 @@ layer at (0,0) size 800x318
               text run at (237,126) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (711,126) width 48: "dummy"
               text run at (0,144) width 106: "text dummy text "
    -        RenderInline {SPAN} at (0,0) size 151x18 [color=#0000FF] [border: (1px solid #0000FF) none]
    +        RenderInline {SPAN} at (106,143) size 151x18 [color=#0000FF] [border: (1px solid #0000FF) none]
               RenderText {#text} at (106,144) size 151x17
                 text run at (106,144) width 113: "one thin blue line "
                 text run at (219,144) width 38: "above"
    -        RenderText {#text} at (257,144) size 783x89
    +        RenderText {#text} at (0,144) size 783x89
               text run at (257,144) width 399: " dummy text dummy text dummy text dummy text dummy text "
               text run at (656,144) width 127: "dummy text dummy"
               text run at (0,162) width 343: "text dummy text dummy text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-00-a-expected.txt
    index 16c49a20260a..9a24cb686666 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-00-a-expected.txt
    @@ -6,8 +6,8 @@ layer at (0,0) size 800x230
           RenderBlock {P} at (0,0) size 764x91 [color=#0000FF] [border: none (10px double #0000FF) none]
             RenderText {#text} at (0,1) size 363x17
               text run at (0,1) width 363: "This paragraph should have two blue lines on its right. \x{21E8} "
    -        RenderInline {SPAN} at (0,0) size 754x89 [color=#C0C0C0]
    -          RenderText {#text} at (363,1) size 754x89
    +        RenderInline {SPAN} at (0,1) size 754x89 [color=#C0C0C0]
    +          RenderText {#text} at (0,1) size 754x89
                 text run at (363,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (0,19) width 52: "dummy "
                 text run at (52,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    @@ -22,8 +22,8 @@ layer at (0,0) size 800x230
           RenderBlock {P} at (0,107) size 764x91 [color=#0000FF] [border: none (1px solid #0000FF) none]
             RenderText {#text} at (0,1) size 368x17
               text run at (0,1) width 368: "This paragraph should have a thin blue line on its right. \x{21E8} "
    -        RenderInline {SPAN} at (0,0) size 759x89 [color=#C0C0C0]
    -          RenderText {#text} at (368,1) size 759x89
    +        RenderInline {SPAN} at (0,1) size 759x89 [color=#C0C0C0]
    +          RenderText {#text} at (0,1) size 759x89
                 text run at (368,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (0,19) width 52: "dummy "
                 text run at (52,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-01-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-01-e-expected.txt
    index b8590afd6f16..61c491082937 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-01-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5519-brdr-r-01-e-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x250
           RenderBlock {P} at (0,0) size 784x38
             RenderText {#text} at (0,16) size 489x17
               text run at (0,16) width 489: "There should be a solid blue line to the right of every occurance of the word \""
    -        RenderInline {SPAN} at (0,0) size 141x36 [border: none (2px solid #0000FF) none]
    +        RenderInline {SPAN} at (489,1) size 141x36 [border: none (2px solid #0000FF) none]
               RenderText {#text} at (489,1) size 139x36
                 text run at (489,1) width 139: "THERE \x{2799}"
             RenderText {#text} at (630,16) size 11x17
    @@ -19,7 +19,7 @@ layer at (0,0) size 800x250
                     text run at (154,2) width 139: "THERE \x{2799}"
               RenderTableRow {TR} at (0,44) size 300x84
                 RenderTableCell {TD} at (2,66) size 143x40 [border: none (2px solid #0000FF) none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,2) size 139x36
    +              RenderText {#text} at (1,24) size 139x36
                     text run at (1,2) width 139: "THERE \x{2799}"
                 RenderTableCell {TD} at (147,44) size 151x84 [border: none (2px solid #0000FF) none] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (1,1) size 147x38
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt
    index 338b06270102..0d489a3004da 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5519-ibrdr-r-00-a-expected.txt
    @@ -14,16 +14,16 @@ layer at (0,0) size 800x318
               text run at (185,18) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (659,18) width 75: "dummy text"
               text run at (0,36) width 395: "dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 759x35 [color=#0000FF] [border: none (10px double #0000FF) none]
    -          RenderInline {SPAN} at (0,0) size 759x35 [color=#C0C0C0]
    -            RenderText {#text} at (395,36) size 759x35
    +        RenderInline {SPAN} at (0,36) size 759x35 [color=#0000FF] [border: none (10px double #0000FF) none]
    +          RenderInline {SPAN} at (0,36) size 759x35 [color=#C0C0C0]
    +            RenderText {#text} at (0,36) size 759x35
                   text run at (395,36) width 316: "dummy text dummy text dummy text dummy text "
                   text run at (711,36) width 48: "dummy"
                   text run at (0,54) width 422: "text dummy text dummy text dummy text dummy text dummy text "
                   text run at (422,54) width 154: "dummy text dummy text"
               RenderText {#text} at (576,54) size 131x17
                 text run at (576,54) width 131: " two blue lines here: "
    -        RenderText {#text} at (717,54) size 765x107
    +        RenderText {#text} at (0,54) size 765x107
               text run at (717,54) width 48: "dummy"
               text run at (0,72) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
               text run at (474,72) width 260: "text dummy text dummy text dummy text"
    @@ -36,11 +36,11 @@ layer at (0,0) size 800x318
               text run at (131,126) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
               text run at (605,126) width 154: "text dummy text dummy"
               text run at (0,144) width 106: "text dummy text "
    -        RenderInline {SPAN} at (0,0) size 149x17 [color=#0000FF] [border: none (1px solid #0000FF) none]
    +        RenderInline {SPAN} at (106,144) size 149x17 [color=#0000FF] [border: none (1px solid #0000FF) none]
               RenderText {#text} at (106,144) size 148x17
                 text run at (106,144) width 55: "one thin "
                 text run at (161,144) width 93: "blue line here: "
    -        RenderText {#text} at (255,144) size 777x89
    +        RenderText {#text} at (0,144) size 777x89
               text run at (255,144) width 316: "dummy text dummy text dummy text dummy text "
               text run at (571,144) width 206: "dummy text dummy text dummy"
               text run at (0,162) width 264: "text dummy text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5520-brdr-b-01-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5520-brdr-b-01-e-expected.txt
    index c6ee8c0e53ed..32e71c38a80a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5520-brdr-b-01-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5520-brdr-b-01-e-expected.txt
    @@ -6,10 +6,10 @@ layer at (0,0) size 800x297
           RenderBlock {P} at (0,0) size 784x37
             RenderText {#text} at (0,1) size 496x17
               text run at (0,1) width 496: "There should be a solid blue line directly under every occurrence of the word \""
    -        RenderInline {SPAN} at (0,0) size 60x19 [border: none (2px solid #0000FF) none]
    +        RenderInline {SPAN} at (496,1) size 60x19 [border: none (2px solid #0000FF) none]
               RenderText {#text} at (496,1) size 60x17
                 text run at (496,1) width 60: "HERE \x{21E9}"
    -        RenderText {#text} at (556,1) size 769x35
    +        RenderText {#text} at (0,1) size 769x35
               text run at (556,1) width 213: "\". (So there should be 8 blue lines"
               text run at (0,19) width 85: "on this page.)"
           RenderTable {TABLE} at (0,53) size 136x79
    @@ -20,7 +20,7 @@ layer at (0,0) size 800x297
                     text run at (36,2) width 60: "HERE \x{21E9}"
               RenderTableRow {TR} at (0,27) size 136x50
                 RenderTableCell {TD} at (2,40) size 62x24 [border: none (2px solid #0000FF) none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 60x19
    +              RenderText {#text} at (1,15) size 60x18
                     text run at (1,2) width 60: "HERE \x{21E9}"
                 RenderTableCell {TD} at (66,27) size 68x50 [border: none (2px solid #0000FF) none] [r=1 c=1 rs=1 cs=1]
                   RenderTable {TABLE} at (1,1) size 66x27
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt
    index 90ae93332422..2b5d26b710a3 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5520-ibrdr-b-00-a-expected.txt
    @@ -17,10 +17,10 @@ layer at (0,0) size 800x318
               text run at (395,36) width 364: "dummy text dummy text dummy text dummy text dummy"
               text run at (0,54) width 106: "text dummy text "
               text run at (106,54) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 131x27 [color=#0000FF] [border: none (10px double #0000FF) none]
    +        RenderInline {SPAN} at (580,54) size 131x27 [color=#0000FF] [border: none (10px double #0000FF) none]
               RenderText {#text} at (580,54) size 131x17
                 text run at (580,54) width 131: "two blue lines below"
    -        RenderText {#text} at (711,54) size 763x107
    +        RenderText {#text} at (0,54) size 763x107
               text run at (711,54) width 52: " dummy"
               text run at (0,72) width 106: "text dummy text "
               text run at (106,72) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    @@ -34,11 +34,11 @@ layer at (0,0) size 800x318
               text run at (237,126) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (711,126) width 48: "dummy"
               text run at (0,144) width 106: "text dummy text "
    -        RenderInline {SPAN} at (0,0) size 152x18 [color=#0000FF] [border: none (1px solid #0000FF) none]
    +        RenderInline {SPAN} at (106,144) size 152x18 [color=#0000FF] [border: none (1px solid #0000FF) none]
               RenderText {#text} at (106,144) size 152x17
                 text run at (106,144) width 113: "one thin blue line "
                 text run at (219,144) width 39: "below"
    -        RenderText {#text} at (258,144) size 784x89
    +        RenderText {#text} at (0,144) size 784x89
               text run at (258,144) width 399: " dummy text dummy text dummy text dummy text dummy text "
               text run at (657,144) width 127: "dummy text dummy"
               text run at (0,162) width 343: "text dummy text dummy text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-00-a-expected.txt
    index 0d45320c2575..401ebe1db2c5 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-00-a-expected.txt
    @@ -6,8 +6,8 @@ layer at (0,0) size 800x230
           RenderBlock {P} at (20,0) size 764x91 [color=#0000FF] [border: none (10px double #0000FF)]
             RenderText {#text} at (10,1) size 354x17
               text run at (10,1) width 354: "\x{21E6} This paragraph should have two blue lines on its left. "
    -        RenderInline {SPAN} at (0,0) size 745x89 [color=#C0C0C0]
    -          RenderText {#text} at (364,1) size 745x89
    +        RenderInline {SPAN} at (10,1) size 745x89 [color=#C0C0C0]
    +          RenderText {#text} at (10,1) size 745x89
                 text run at (364,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (10,19) width 52: "dummy "
                 text run at (62,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    @@ -22,8 +22,8 @@ layer at (0,0) size 800x230
           RenderBlock {P} at (20,107) size 764x91 [color=#0000FF] [border: none (1px solid #0000FF)]
             RenderText {#text} at (1,1) size 359x17
               text run at (1,1) width 359: "\x{21E6} This paragraph should have a thin blue line on its left. "
    -        RenderInline {SPAN} at (0,0) size 759x89 [color=#C0C0C0]
    -          RenderText {#text} at (360,1) size 759x89
    +        RenderInline {SPAN} at (1,1) size 759x89 [color=#C0C0C0]
    +          RenderText {#text} at (1,1) size 759x89
                 text run at (360,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (1,19) width 52: "dummy "
                 text run at (53,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-01-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-01-e-expected.txt
    index cb552a475b91..6427dd3e482a 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-01-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5521-brdr-l-01-e-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x250
           RenderBlock {P} at (0,0) size 784x38
             RenderText {#text} at (0,16) size 480x17
               text run at (0,16) width 480: "There should be a solid blue line to the left of every occurance of the word \""
    -        RenderInline {SPAN} at (0,0) size 133x36 [border: none (2px solid #0000FF)]
    +        RenderInline {SPAN} at (480,1) size 133x36 [border: none (2px solid #0000FF)]
               RenderText {#text} at (482,1) size 131x36
                 text run at (482,1) width 131: "\x{21E6}THERE"
             RenderText {#text} at (613,16) size 11x17
    @@ -19,7 +19,7 @@ layer at (0,0) size 800x250
                     text run at (3,2) width 131: "\x{21E6}THERE"
               RenderTableRow {TR} at (0,44) size 284x84
                 RenderTableCell {TD} at (2,66) size 135x40 [border: none (2px solid #0000FF)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (3,2) size 131x36
    +              RenderText {#text} at (3,24) size 131x36
                     text run at (3,2) width 131: "\x{21E6}THERE"
                 RenderTableCell {TD} at (139,44) size 143x84 [border: none (2px solid #0000FF)] [r=1 c=1 rs=1 cs=1]
                   RenderBlock (anonymous) at (3,1) size 139x38
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt
    index d11bbd1943cc..82b8de4102af 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5521-ibrdr-l-00-a-expected.txt
    @@ -14,11 +14,11 @@ layer at (0,0) size 800x320
               text run at (185,18) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (659,18) width 75: "dummy text"
               text run at (0,37) width 395: "dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 783x35 [color=#0000FF] [border: none (10px double #0000FF)]
    +        RenderInline {SPAN} at (0,37) size 783x35 [color=#0000FF] [border: none (10px double #0000FF)]
               RenderText {#text} at (405,37) size 172x17
                 text run at (405,37) width 172: "\x{21E6} two blue lines to the left "
    -          RenderInline {SPAN} at (0,0) size 783x35 [color=#C0C0C0]
    -            RenderText {#text} at (577,37) size 783x35
    +          RenderInline {SPAN} at (0,37) size 783x35 [color=#C0C0C0]
    +            RenderText {#text} at (0,37) size 783x35
                   text run at (577,37) width 52: "dummy "
                   text run at (629,37) width 154: "text dummy text dummy"
                   text run at (0,55) width 316: "text dummy text dummy text dummy text dummy "
    @@ -36,10 +36,10 @@ layer at (0,0) size 800x320
               text run at (27,127) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (501,127) width 233: "dummy text dummy text dummy text"
               text run at (0,146) width 158: "dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 194x17 [color=#0000FF] [border: none (1px solid #0000FF)]
    +        RenderInline {SPAN} at (158,146) size 194x17 [color=#0000FF] [border: none (1px solid #0000FF)]
               RenderText {#text} at (159,146) size 193x17
                 text run at (159,146) width 193: "\x{21E6} one thin blue line to the left "
    -        RenderText {#text} at (352,146) size 759x89
    +        RenderText {#text} at (0,146) size 759x89
               text run at (352,146) width 52: "dummy "
               text run at (404,146) width 339: "text dummy text dummy text dummy text dummy text"
               text run at (0,164) width 131: "dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-01-b-g-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-01-b-g-expected.txt
    index 6d0dc7a9c322..abded178acb5 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-01-b-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-01-b-g-expected.txt
    @@ -7,6 +7,6 @@ layer at (0,0) size 800x201
             RenderText {#text} at (0,0) size 264x17
               text run at (0,0) width 264: "There should be no border around the cat:"
           RenderBlock {DIV} at (32,50) size 720x103 [color=#FF0000]
    -        RenderInline {A} at (0,0) size 98x17 [color=#0000EE]
    +        RenderInline {A} at (0,85) size 98x17 [color=#0000EE]
               RenderImage {IMG} at (0,0) size 98x99
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-02-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-02-e-expected.txt
    index c9d59281186f..2584d501f64e 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-02-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5522-brdr-02-e-expected.txt
    @@ -11,7 +11,7 @@ layer at (0,0) size 800x80
                     text run at (3,3) width 325: "There should be a blue border around this sentence."
               RenderTableRow {TR} at (0,28) size 708x34
                 RenderTableCell {TD} at (2,33) size 331x24 [border: (2px solid #0000FF)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (3,3) size 325x17
    +              RenderText {#text} at (3,8) size 325x17
                     text run at (3,3) width 325: "There should be a blue border around this sentence."
                 RenderTableCell {TD} at (335,28) size 371x34 [border: (2px solid #0000FF)] [r=1 c=1 rs=1 cs=1]
                   RenderTable {TABLE} at (3,3) size 365x28
    @@ -20,8 +20,8 @@ layer at (0,0) size 800x80
                         RenderTableCell {TD} at (2,2) size 361x24 [border: (2px solid #0000FF)] [r=0 c=0 rs=1 cs=1]
                           RenderText {#text} at (3,3) size 106x17
                             text run at (3,3) width 106: "There should be "
    -                      RenderInline {STRONG} at (0,0) size 113x17
    -                        RenderInline {EM} at (0,0) size 23x17
    +                      RenderInline {STRONG} at (109,3) size 113x17
    +                        RenderInline {EM} at (109,3) size 23x17
                               RenderText {#text} at (109,3) size 23x17
                                 text run at (109,3) width 23: "two"
                             RenderText {#text} at (132,3) size 90x17
    diff --git a/LayoutTests/platform/glib/css2.1/t0805-c5522-ibrdr-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t0805-c5522-ibrdr-00-a-expected.txt
    index df46c1ba7d54..8d4fc8f87f67 100644
    --- a/LayoutTests/platform/glib/css2.1/t0805-c5522-ibrdr-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0805-c5522-ibrdr-00-a-expected.txt
    @@ -14,10 +14,10 @@ layer at (0,0) size 800x300
               text run at (185,18) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (659,18) width 75: "dummy text"
               text run at (0,36) width 395: "dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 259x37 [color=#0000FF] [border: (10px double #0000FF)]
    +        RenderInline {SPAN} at (395,26) size 259x37 [color=#0000FF] [border: (10px double #0000FF)]
               RenderText {#text} at (405,36) size 239x17
                 text run at (405,36) width 239: "two blue lines all around this blue text"
    -        RenderText {#text} at (654,36) size 759x107
    +        RenderText {#text} at (0,36) size 759x107
               text run at (654,36) width 4: " "
               text run at (658,36) width 75: "dummy text"
               text run at (0,54) width 395: "dummy text dummy text dummy text dummy text dummy text "
    @@ -31,11 +31,11 @@ layer at (0,0) size 800x300
               text run at (27,108) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (501,108) width 233: "dummy text dummy text dummy text"
               text run at (0,126) width 79: "dummy text "
    -        RenderInline {SPAN} at (0,0) size 234x19 [color=#0000FF] [border: (1px solid #0000FF)]
    +        RenderInline {SPAN} at (79,125) size 234x19 [color=#0000FF] [border: (1px solid #0000FF)]
               RenderText {#text} at (80,126) size 232x17
                 text run at (80,126) width 27: "one "
                 text run at (107,126) width 205: "blue line all around this blue text"
    -        RenderText {#text} at (313,126) size 760x89
    +        RenderText {#text} at (0,126) size 760x89
               text run at (313,126) width 162: " dummy text dummy text "
               text run at (475,126) width 285: "dummy text dummy text dummy text dummy"
               text run at (0,144) width 185: "text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t09-c5526c-display-00-e-expected.txt b/LayoutTests/platform/glib/css2.1/t09-c5526c-display-00-e-expected.txt
    index a6096f4d2d44..494bfb69c30a 100644
    --- a/LayoutTests/platform/glib/css2.1/t09-c5526c-display-00-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t09-c5526c-display-00-e-expected.txt
    @@ -52,17 +52,17 @@ layer at (0,0) size 800x420
               text run at (0,1) width 463: "This is a nonsensical document, but syntactically valid HTML 4.0. All 100%-conformant CSS1 agents"
               text run at (0,14) width 467: "should be able to render the document elements above this paragraph indistinguishably (to the pixel)"
               text run at (0,27) width 42: "from this "
    -        RenderInline {A} at (0,0) size 94x11 [color=#999999]
    +        RenderInline {A} at (42,27) size 94x11 [color=#999999]
               RenderText {#text} at (42,27) size 94x11
                 text run at (42,27) width 94: "reference rendering,"
    -        RenderText {#text} at (136,27) size 470x24
    +        RenderText {#text} at (0,27) size 470x24
               text run at (136,27) width 3: " "
               text run at (139,27) width 331: "(except font rasterization and form widgets). All discrepancies should be"
               text run at (0,40) width 228: "traceable to CSS1 implementation shortcomings. "
               text run at (228,40) width 35: "Please "
    -        RenderInline {A} at (0,0) size 76x11 [color=#CC0000]
    +        RenderInline {A} at (263,40) size 76x11 [color=#CC0000]
               RenderText {#text} at (263,40) size 76x11
                 text run at (263,40) width 76: "report any errors"
    -        RenderText {#text} at (339,40) size 464x24
    +        RenderText {#text} at (0,40) size 464x24
               text run at (339,40) width 125: " you find between the CSS"
               text run at (0,53) width 133: "and the reference rendering."
    diff --git a/LayoutTests/platform/glib/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt
    index d083d3367b33..5cf79b5829a5 100644
    --- a/LayoutTests/platform/glib/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090402-c42-ibx-pad-00-d-ag-expected.txt
    @@ -14,12 +14,12 @@ layer at (0,0) size 800x186
                     RenderText {#text} at (0,7) size 190x34
                       text run at (0,7) width 190: "1 2 3 4 5 6 7 8 9 0"
                       text run at (0,31) width 60: "1 2 3 "
    -                RenderInline {SPAN} at (0,0) size 190x82 [border: (10px solid #0000FF)]
    -                  RenderText {#text} at (120,31) size 190x58
    +                RenderInline {SPAN} at (0,19) size 190x82 [border: (10px solid #0000FF)]
    +                  RenderText {#text} at (0,31) size 190x58
                         text run at (120,31) width 70: "7 8 9 0"
                         text run at (0,55) width 190: "1 2 3 4 5 6 7 8 9 0"
                         text run at (0,79) width 80: "1 2 3 4 "
    -                RenderText {#text} at (140,79) size 190x34
    +                RenderText {#text} at (0,79) size 190x34
                       text run at (140,79) width 50: "8 9 0"
                       text run at (0,103) width 190: "1 2 3 4 5 6 7 8 9 0"
                 RenderTableCell {TD} at (218,2) size 214x124 [color=#FFFF00] [bgcolor=#FF0000] [border: (2px solid #000000)] [r=0 c=1 rs=1 cs=1]
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-fit-00-d-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-fit-00-d-expected.txt
    index 7099044c1b01..3d430bdcd925 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-fit-00-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-fit-00-d-expected.txt
    @@ -16,6 +16,6 @@ layer at (0,0) size 800x134
             RenderBlock (floating) {P} at (19,37) size 80x18
               RenderText {#text} at (0,0) size 8x17
                 text run at (0,0) width 8: "4"
    -        RenderText {#text} at (179,19) size 88x35
    +        RenderText {#text} at (99,19) size 88x35
               text run at (179,19) width 8: "3"
               text run at (99,37) width 88: "5                    "
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-00-e-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
    index 15b135844bae..567a4340dd9c 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-00-e-expected.txt
    @@ -13,7 +13,7 @@ layer at (0,0) size 800x193
             RenderBlock (floating) {P} at (0,18) size 240x19 [color=#00FFFF] [bgcolor=#008080]
               RenderText {#text} at (101,0) size 38x18
                 text run at (101,0) width 38: "PASS"
    -        RenderText {#text} at (42,0) size 236x126
    +        RenderText {#text} at (0,0) size 236x126
               text run at (42,0) width 189: "fail fail fail fail fail fail fail fail"
               text run at (0,36) width 48: "fail fail "
               text run at (48,36) width 188: "fail fail fail fail fail fail fail fail"
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
    index 3caa5d8f2662..1fb65cde7fa2 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x267
           RenderBlock {DIV} at (16,34) size 240x201 [color=#FFFFFF] [bgcolor=#FFFFFF]
             RenderImage {IMG} at (0,0) size 1x1
             RenderImage {IMG} at (0,1) size 240x112
    -        RenderInline {SPAN} at (0,0) size 188x215
    +        RenderInline {SPAN} at (0,-14) size 188x215
               RenderText {#text} at (0,113) size 188x88
                 text run at (0,113) width 188: "FAIL"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
    index c8807a53e3a8..ba86da85330d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltclr-00-c-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 785x709
           RenderBlock {DIV} at (0,34) size 306x651 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
             RenderImage {IMG} at (3,3) size 50x50
             RenderBlock {P} at (3,18) size 300x90
    -          RenderText {#text} at (50,0) size 290x90
    +          RenderText {#text} at (0,0) size 290x90
                 text run at (50,0) width 210: "xxxxx xxxx xxx"
                 text run at (50,15) width 240: "xx x xx xxx xxxx"
                 text run at (50,30) width 210: "xxxxx xxxx xxx"
    @@ -44,7 +44,7 @@ layer at (0,0) size 785x709
             RenderImage {IMG} at (3,498) size 50x50
             RenderImage {IMG} at (253,498) size 50x50
             RenderBlock {P} at (3,498) size 300x135
    -          RenderText {#text} at (50,0) size 300x135
    +          RenderText {#text} at (0,0) size 300x135
                 text run at (50,0) width 150: "xxxxx xxxx"
                 text run at (50,15) width 165: "xxx xx x xx"
                 text run at (50,30) width 120: "xxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
    index c17c028ac7dc..7dfe27a6a8d5 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt
    @@ -17,8 +17,8 @@ layer at (0,0) size 800x261
               RenderText {#text} at (0,0) size 277x36
                 text run at (0,0) width 277: "Inside this blue block on the right there"
                 text run at (0,19) width 163: "should be a teal box. \x{21E8} "
    -          RenderInline {SPAN} at (0,0) size 588x233 [color=#000080]
    -            RenderText {#text} at (162,19) size 588x233
    +          RenderInline {SPAN} at (0,19) size 588x233 [color=#000080]
    +            RenderText {#text} at (0,19) size 588x233
                   text run at (162,19) width 115: "FAIL FAIL FAIL"
                   text run at (0,37) width 277: "FAIL FAIL FAIL FAIL FAIL FAIL FAIL"
                   text run at (0,55) width 82: "FAIL FAIL "
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
    index d7a3a86ee75e..1e83d6fe64f9 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltinln-00-c-ag-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x182
             RenderBlock (floating) {SPAN} at (3,3) size 45x30
               RenderText {#text} at (0,0) size 30x30
                 text run at (0,0) width 30: "X"
    -        RenderText {#text} at (48,3) size 90x45
    +        RenderText {#text} at (3,3) size 90x45
               text run at (48,3) width 45: "x x"
               text run at (48,18) width 30: "xx"
               text run at (3,33) width 45: "x x"
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x182
             RenderBlock (floating) {SPAN} at (3,3) size 45x30 [bgcolor=#008000]
               RenderText {#text} at (0,0) size 30x30
                 text run at (0,0) width 30: "X"
    -        RenderText {#text} at (48,3) size 90x45
    +        RenderText {#text} at (3,3) size 90x45
               text run at (48,3) width 45: "x x"
               text run at (48,18) width 30: "xx"
               text run at (3,33) width 45: "x x"
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
    index 39904f027cc7..c424598947e7 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.txt
    @@ -14,14 +14,14 @@ layer at (0,0) size 785x619
                 text run at (0,30) width 15: "x"
             RenderBlock {P} at (18,78) size 90x60
               RenderImage {IMG} at (0,0) size 45x45 [color=#FF0000]
    -          RenderText {#text} at (45,0) size 90x60
    +          RenderText {#text} at (0,0) size 90x60
                 text run at (45,0) width 45: "x x"
                 text run at (45,15) width 15: "x"
                 text run at (45,30) width 30: "xx"
                 text run at (0,45) width 75: "x x x"
             RenderBlock {P} at (18,153) size 90x105
               RenderImage {IMG} at (30,30) size 45x45 [color=#FF0000]
    -          RenderText {#text} at (75,0) size 90x105
    +          RenderText {#text} at (0,0) size 90x105
                 text run at (75,0) width 15: "x"
                 text run at (75,15) width 15: "x"
                 text run at (75,30) width 15: "x"
    @@ -29,14 +29,14 @@ layer at (0,0) size 785x619
                 text run at (0,90) width 15: "x"
             RenderBlock {P} at (48,303) size 60x60
               RenderImage {IMG} at (-30,-30) size 45x45 [color=#FF0000]
    -          RenderText {#text} at (15,0) size 60x60
    +          RenderText {#text} at (0,0) size 60x60
                 text run at (15,0) width 45: "x x"
                 text run at (0,15) width 60: "x xx"
                 text run at (0,30) width 45: "x x"
                 text run at (0,45) width 15: "x"
             RenderBlock {P} at (18,378) size 90x105
               RenderImage {IMG} at (0,0) size 45x45 [color=#FF0000]
    -          RenderText {#text} at (75,0) size 90x105
    +          RenderText {#text} at (0,0) size 90x105
                 text run at (75,0) width 15: "x"
                 text run at (75,15) width 15: "x"
                 text run at (75,30) width 15: "x"
    @@ -44,7 +44,7 @@ layer at (0,0) size 785x619
                 text run at (0,90) width 15: "x"
             RenderBlock {P} at (18,498) size 90x45
               RenderImage {IMG} at (0,0) size 45x45 [color=#FF0000]
    -          RenderText {#text} at (15,0) size 90x45
    +          RenderText {#text} at (0,0) size 90x45
                 text run at (15,0) width 75: "x x x"
                 text run at (0,15) width 90: "xx x x"
                 text run at (0,30) width 15: "x"
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
    index fd7df429333f..e030a366c4a2 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt
    @@ -46,7 +46,7 @@ layer at (0,0) size 785x783
               text run at (234,306) width 151: "ignore this float text"
               text run at (0,324) width 257: "ignore this float text ignore this float"
           RenderBlock {DIV} at (0,144) size 769x468 [color=#C0C0C0]
    -        RenderText {#text} at (384,0) size 770x467
    +        RenderText {#text} at (0,0) size 770x467
               text run at (384,0) width 385: "this is some dummy text this is some dummy text this is"
               text run at (384,18) width 98: "some dummy "
               text run at (481,18) width 288: "text this is some dummy text this is some"
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
    index 4e64ebb9becb..bfb1bc9ecc4c 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt
    @@ -7,7 +7,7 @@ layer at (0,0) size 800x45
             RenderBlock {DIV} at (0,0) size 784x18
               RenderBlock (floating) {P} at (392,0) size 392x37
                 RenderImage {IMG} at (0,0) size 15x15 [color=#FF0000]
    -            RenderText {#text} at (15,1) size 359x35
    +            RenderText {#text} at (0,1) size 359x35
                   text run at (15,1) width 4: " "
                   text run at (19,1) width 340: "\x{21E6} There should be a green square at the top left of the"
                   text run at (0,19) width 55: "window."
    diff --git a/LayoutTests/platform/glib/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
    index c8807a53e3a8..ba86da85330d 100644
    --- a/LayoutTests/platform/glib/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t0905-c5526-fltclr-00-c-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 785x709
           RenderBlock {DIV} at (0,34) size 306x651 [color=#008000] [bgcolor=#FF0000] [border: (3px solid #000000)]
             RenderImage {IMG} at (3,3) size 50x50
             RenderBlock {P} at (3,18) size 300x90
    -          RenderText {#text} at (50,0) size 290x90
    +          RenderText {#text} at (0,0) size 290x90
                 text run at (50,0) width 210: "xxxxx xxxx xxx"
                 text run at (50,15) width 240: "xx x xx xxx xxxx"
                 text run at (50,30) width 210: "xxxxx xxxx xxx"
    @@ -44,7 +44,7 @@ layer at (0,0) size 785x709
             RenderImage {IMG} at (3,498) size 50x50
             RenderImage {IMG} at (253,498) size 50x50
             RenderBlock {P} at (3,498) size 300x135
    -          RenderText {#text} at (50,0) size 300x135
    +          RenderText {#text} at (0,0) size 300x135
                 text run at (50,0) width 150: "xxxxx xxxx"
                 text run at (50,15) width 165: "xxx xx x xx"
                 text run at (50,30) width 120: "xxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-03-b-g-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-03-b-g-expected.txt
    index 94e47116fdb0..7b2546fa2af4 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-03-b-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-03-b-g-expected.txt
    @@ -1,20 +1,20 @@
     layer at (0,0) size 800x600
       RenderView at (0,0) size 800x600
     layer at (0,0) size 800x238
    -  RenderBlock {HTML} at (0,0) size 800x238
    -    RenderBody {BODY} at (8,16) size 784x124
    -      RenderBlock {P} at (0,0) size 784x38 [color=#000080]
    -        RenderText {#text} at (0,2) size 396x17
    +  RenderBlock {HTML} at (0,0) size 800x239
    +    RenderBody {BODY} at (8,16) size 784x125
    +      RenderBlock {P} at (0,0) size 784x39 [color=#000080]
    +        RenderText {#text} at (0,2) size 396x18
               text run at (0,2) width 246: "In the following test, the purple square "
               text run at (246,2) width 150: "should be on the left (\x{21E6}"
             RenderImage {IMG} at (396,0) size 20x20
    -        RenderText {#text} at (415,2) size 216x17
    +        RenderText {#text} at (415,2) size 216x18
               text run at (415,2) width 216: "), and the teal square on the right ("
             RenderImage {IMG} at (630,0) size 20x20
    -        RenderText {#text} at (649,2) size 739x35
    +        RenderText {#text} at (0,2) size 739x36
               text run at (649,2) width 90: "\x{21E8}) of the blue"
               text run at (0,20) width 61: "rectangle."
    -      RenderBlock {DIV} at (0,54) size 784x70
    +      RenderBlock {DIV} at (0,54) size 784x71
             RenderBlock {DIV} at (16,0) size 752x70 [color=#0000FF] [bgcolor=#000080]
               RenderImage {IMG} at (8,8) size 160x160
               RenderImage {IMG} at (584,8) size 160x160
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-00-d-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-00-d-expected.txt
    index 4be710007575..e4c08304f653 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-00-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-00-d-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x484
           RenderBlock {DIV} at (16,70) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
             RenderText {#text} at (171,22) size 474x17
               text run at (171,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    +        RenderInline {SPAN} at (645,19) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (648,22) size 12x17
                 text run at (648,22) width 12: "A"
             RenderText {#text} at (663,22) size 4x17
    @@ -23,10 +23,10 @@ layer at (0,0) size 800x484
             RenderBlock (floating) {P} at (21,21) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (19,20) size 48x17
                 text run at (19,20) width 48: "AAAA"
    -        RenderText {#text} at (667,22) size 544x37
    +        RenderText {#text} at (171,22) size 544x37
               text run at (667,22) width 48: "dummy"
               text run at (171,42) width 422: "text dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    +        RenderInline {SPAN} at (593,39) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (596,42) size 11x17
                 text run at (596,42) width 11: "B"
             RenderText {#text} at (610,42) size 4x17
    @@ -34,7 +34,7 @@ layer at (0,0) size 800x484
             RenderBlock (floating) {P} at (581,61) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (19,20) size 44x17
                 text run at (19,20) width 44: "BBBB"
    -        RenderText {#text} at (614,42) size 707x317
    +        RenderText {#text} at (21,42) size 707x317
               text run at (614,42) width 75: "dummy text"
               text run at (171,62) width 391: "dummy text dummy text dummy text dummy text dummy text"
               text run at (21,82) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt
    index 7622c5640d2d..9c6f396e3c09 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-01-d-g-expected.txt
    @@ -15,22 +15,22 @@ layer at (0,0) size 800x484
           RenderBlock {DIV} at (16,70) size 752x382 [color=#C0C0C0] [border: (5px solid #800080)]
             RenderText {#text} at (133,22) size 474x17
               text run at (133,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 19x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    +        RenderInline {SPAN} at (607,19) size 19x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (610,22) size 13x17
                 text run at (610,22) width 13: "\x{21E6}"
             RenderText {#text} at (626,22) size 4x17
               text run at (626,22) width 4: " "
             RenderImage {IMG} at (21,21) size 112x112 [color=#FF0000]
    -        RenderText {#text} at (630,22) size 572x37
    +        RenderText {#text} at (133,22) size 572x37
               text run at (630,22) width 75: "dummy text"
               text run at (133,42) width 395: "dummy text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 19x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    +        RenderInline {SPAN} at (528,39) size 19x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (531,42) size 13x17
                 text run at (531,42) width 13: "\x{21E8}"
             RenderText {#text} at (547,42) size 4x17
               text run at (547,42) width 4: " "
             RenderImage {IMG} at (619,41) size 112x112 [color=#FF0000]
    -        RenderText {#text} at (551,42) size 707x317
    +        RenderText {#text} at (21,42) size 707x317
               text run at (551,42) width 48: "dummy"
               text run at (133,62) width 422: "text dummy text dummy text dummy text dummy text dummy text "
               text run at (555,62) width 48: "dummy"
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-02-d-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-02-d-expected.txt
    index a78eee85702b..db11b4841fe1 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-02-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-02-d-expected.txt
    @@ -16,7 +16,7 @@ layer at (0,0) size 800x544
             RenderText {#text} at (21,22) size 553x17
               text run at (21,22) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
               text run at (495,22) width 79: "dummy text "
    -        RenderInline {SPAN} at (0,0) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    +        RenderInline {SPAN} at (574,19) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (577,22) size 12x17
                 text run at (577,22) width 12: "A"
             RenderText {#text} at (592,22) size 4x17
    @@ -24,10 +24,10 @@ layer at (0,0) size 800x544
             RenderBlock (floating) {P} at (21,41) size 150x58 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (19,20) size 48x17
                 text run at (19,20) width 48: "AAAA"
    -        RenderText {#text} at (596,22) size 552x37
    +        RenderText {#text} at (171,22) size 552x37
               text run at (596,22) width 127: "dummy text dummy"
               text run at (171,42) width 343: "text dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    +        RenderInline {SPAN} at (514,39) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (517,42) size 11x17
                 text run at (517,42) width 11: "B"
             RenderText {#text} at (0,0) size 0x0
    @@ -36,7 +36,7 @@ layer at (0,0) size 800x544
                 text run at (19,20) width 44: "BBBB"
             RenderText {#text} at (321,62) size 237x17
               text run at (321,62) width 237: "dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 17x23 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
    +        RenderInline {SPAN} at (558,59) size 17x23 [color=#FFFFFF] [bgcolor=#FFA500] [border: (3px solid #FFFF00)]
               RenderText {#text} at (561,62) size 11x17
                 text run at (561,62) width 11: "C"
             RenderText {#text} at (0,0) size 0x0
    @@ -46,14 +46,14 @@ layer at (0,0) size 800x544
             RenderText {#text} at (321,82) size 387x37
               text run at (321,82) width 233: "dummy text dummy text dummy text"
               text run at (471,102) width 237: "dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 18x23 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
    +        RenderInline {SPAN} at (708,99) size 18x23 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
               RenderText {#text} at (711,102) size 12x17
                 text run at (711,102) width 12: "D"
             RenderText {#text} at (0,0) size 0x0
             RenderBlock (floating) {P} at (321,101) size 150x58 [color=#FFFFFF] [bgcolor=#008000] [border: (3px solid #00FF00)]
               RenderText {#text} at (19,20) size 48x17
                 text run at (19,20) width 48: "DDDD"
    -        RenderText {#text} at (471,122) size 707x297
    +        RenderText {#text} at (21,122) size 707x297
               text run at (471,122) width 233: "dummy text dummy text dummy text"
               text run at (471,142) width 233: "dummy text dummy text dummy text"
               text run at (21,162) width 474: "dummy text dummy text dummy text dummy text dummy text dummy text "
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-03-d-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-03-d-expected.txt
    index 82f179dcbfa4..81d71c495f8e 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-03-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c414-flt-ln-03-d-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x464
           RenderBlock {DIV} at (16,70) size 752x362 [color=#C0C0C0] [border: (5px solid #800080)]
             RenderText {#text} at (171,22) size 316x17
               text run at (171,22) width 316: "dummy text dummy text dummy text dummy text "
    -        RenderInline {SPAN} at (0,0) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
    +        RenderInline {SPAN} at (487,19) size 18x23 [color=#FFFFFF] [bgcolor=#008080] [border: (3px solid #00FFFF)]
               RenderText {#text} at (490,22) size 12x17
                 text run at (490,22) width 12: "A"
             RenderText {#text} at (505,22) size 4x17
    @@ -24,7 +24,7 @@ layer at (0,0) size 800x464
               RenderText {#text} at (19,20) size 48x17
                 text run at (19,20) width 48: "AAAA"
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {SPAN} at (0,0) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
    +        RenderInline {SPAN} at (509,19) size 17x23 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (512,22) size 11x17
                 text run at (512,22) width 11: "B"
             RenderText {#text} at (526,22) size 4x17
    @@ -32,7 +32,7 @@ layer at (0,0) size 800x464
             RenderBlock (floating) {P} at (581,21) size 150x58 [color=#FFFFFF] [bgcolor=#800080] [border: (3px solid #FF00FF)]
               RenderText {#text} at (19,20) size 44x17
                 text run at (19,20) width 44: "BBBB"
    -        RenderText {#text} at (530,22) size 707x317
    +        RenderText {#text} at (21,22) size 707x317
               text run at (530,22) width 48: "dummy"
               text run at (171,42) width 391: "text dummy text dummy text dummy text dummy text dummy"
               text run at (171,62) width 27: "text "
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt
    index 2a6a0514eb42..aecab02b2ac3 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-l-00-b-g-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x285
             RenderImage {IMG} at (0,0) size 50x50
             RenderText {#text} at (50,1) size 325x17
               text run at (50,1) width 325: "\x{21E6} This text should flow around the box on the left. "
    -        RenderInline {SPAN} at (0,0) size 766x251 [color=#C0C0C0]
    -          RenderText {#text} at (375,1) size 766x251
    +        RenderInline {SPAN} at (0,1) size 766x251 [color=#C0C0C0]
    +          RenderText {#text} at (0,1) size 766x251
                 text run at (375,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (50,19) width 52: "dummy "
                 text run at (102,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt b/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt
    index 9120cec6ddcd..14cf91711af4 100644
    --- a/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t090501-c5525-flt-r-00-b-g-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x285
             RenderImage {IMG} at (734,0) size 50x50
             RenderText {#text} at (0,1) size 334x17
               text run at (0,1) width 334: "This text should flow around the box on the right. \x{21E8} "
    -        RenderInline {SPAN} at (0,0) size 759x251 [color=#C0C0C0]
    -          RenderText {#text} at (334,1) size 759x251
    +        RenderInline {SPAN} at (0,1) size 759x251 [color=#C0C0C0]
    +          RenderText {#text} at (0,1) size 759x251
                 text run at (334,1) width 391: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (0,19) width 52: "dummy "
                 text run at (52,19) width 474: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.txt
    index d34204e2fd86..b50870db848d 100644
    --- a/LayoutTests/platform/glib/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1004-c43-rpl-ibx-00-d-ag-expected.txt
    @@ -12,7 +12,7 @@ layer at (0,0) size 800x169
             RenderImage {IMG} at (381,0) size 15x15
             RenderText {#text} at (396,1) size 4x17
               text run at (396,1) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x15 [color=#0000FF] [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (400,0) size 15x15 [color=#0000FF] [bgcolor=#FF0000]
               RenderText {#text} at (400,0) size 15x15
                 text run at (400,0) width 15: "X"
             RenderText {#text} at (0,0) size 0x0
    @@ -22,7 +22,7 @@ layer at (0,0) size 800x169
             RenderImage {IMG} at (381,0) size 64x64
             RenderText {#text} at (445,50) size 4x17
               text run at (445,50) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 64x64 [color=#0000FF] [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (449,0) size 64x64 [color=#0000FF] [bgcolor=#FF0000]
               RenderText {#text} at (449,0) size 64x64
                 text run at (449,0) width 64: "X"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
    index 760daa0e62c9..efed5ddd3153 100644
    --- a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-00-d-ag-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x218
               text run at (60,85) width 10: " "
               text run at (70,85) width 50: "xxxx "
             RenderImage {IMG} at (120,85) size 40x40
    -        RenderText {#text} at (160,85) size 190x55
    +        RenderText {#text} at (20,85) size 190x55
               text run at (160,85) width 10: " "
               text run at (170,85) width 40: "xxxx"
               text run at (20,130) width 190: "xxxx xxxx xxxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
    index 6d1679da7b33..e1000408414f 100644
    --- a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-01-d-ag-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x298
               text run at (160,115) width 10: " "
               text run at (170,115) width 100: "xxxx xxxx "
             RenderImage {IMG} at (285,130) size 60x60 [border: (10px solid #FFFFFF)]
    -        RenderText {#text} at (360,115) size 390x105
    +        RenderText {#text} at (20,115) size 390x105
               text run at (360,115) width 10: " "
               text run at (370,115) width 40: "xxxx"
               text run at (20,210) width 390: "xxxx xxxx xxxx xxxx xxxx xxxx xxxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
    index bcd132cfbaeb..647d3bcddfb5 100644
    --- a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-02-d-ag-expected.txt
    @@ -10,10 +10,10 @@ layer at (0,0) size 800x320
             RenderText {#text} at (40,40) size 280x102
               text run at (40,40) width 280: "xxxx xxxx xxxx"
               text run at (40,80) width 280: "xxxx xxxx xxxx"
    -          text run at (40,122) width 100: "xxxx "
    +          text run at (40,121) width 100: "xxxx "
             RenderImage {IMG} at (130,80) size 100x100 [border: (20px solid #FFFFFF)]
    -        RenderText {#text} at (220,122) size 280x100
    -          text run at (220,122) width 20: " "
    -          text run at (240,122) width 80: "xxxx"
    +        RenderText {#text} at (40,121) size 280x101
    +          text run at (220,121) width 20: " "
    +          text run at (240,121) width 80: "xxxx"
               text run at (40,162) width 280: "xxxx xxxx xxxx"
               text run at (40,202) width 280: "xxxx xxxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
    index bdb661e47112..4e42d2dc6bbe 100644
    --- a/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1008-c44-ln-box-03-d-ag-expected.txt
    @@ -12,7 +12,7 @@ layer at (0,0) size 800x318
               text run at (40,80) width 280: "xxxx xxxx xxxx"
               text run at (40,120) width 100: "xxxx "
             RenderImage {IMG} at (130,80) size 100x100 [border: (20px solid #FFFFFF)]
    -        RenderText {#text} at (220,120) size 280x100
    +        RenderText {#text} at (40,120) size 280x100
               text run at (220,120) width 20: " "
               text run at (240,120) width 80: "xxxx"
               text run at (40,160) width 280: "xxxx xxxx xxxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
    index 56418aa6677b..6184166a9a40 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c42-ibx-ht-00-d-a-expected.txt
    @@ -9,21 +9,21 @@ layer at (0,0) size 800x118
           RenderBlock {DIV} at (0,34) size 200x60 [color=#008000]
             RenderText {#text} at (0,1) size 40x10
               text run at (0,1) width 40: "z z "
    -        RenderInline {EM} at (0,0) size 190x22 [color=#FF0000]
    -          RenderText {#text} at (40,1) size 190x22
    +        RenderInline {EM} at (0,1) size 190x22 [color=#FF0000]
    +          RenderText {#text} at (0,1) size 190x22
                 text run at (40,1) width 150: "x x x x x x x x"
                 text run at (0,13) width 40: "x x "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {SPAN} at (0,0) size 190x58 [border: (10px solid #00FF00)]
    +        RenderInline {SPAN} at (0,1) size 190x58 [border: (10px solid #00FF00)]
               RenderText {#text} at (0,0) size 0x0
    -          RenderInline {EM} at (0,0) size 190x22 [color=#FF0000]
    -            RenderText {#text} at (60,13) size 190x22
    +          RenderInline {EM} at (0,13) size 190x22 [color=#FF0000]
    +            RenderText {#text} at (0,13) size 190x22
                   text run at (60,13) width 130: "x x x x x x x"
                   text run at (0,25) width 60: "x x x "
                   text run at (60,25) width 60: "x x x "
    -          RenderText {#text} at (120,25) size 190x22
    +          RenderText {#text} at (0,25) size 190x22
                 text run at (120,25) width 70: "y y y y"
                 text run at (0,37) width 100: "y y y y y "
    -        RenderText {#text} at (120,37) size 190x22
    +        RenderText {#text} at (0,37) size 190x22
               text run at (120,37) width 70: "y y y y"
               text run at (0,49) width 190: "y y y y y y z z z z"
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-00-a-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
    index 4fab63ef063a..ced57a63f40f 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-00-a-ag-expected.txt
    @@ -8,7 +8,7 @@ layer at (0,0) size 800x256
               text run at (0,0) width 754: "There should be four identical white boxes in the teal block below, all the same size, each one a little lower down on the"
               text run at (0,18) width 134: "line, in a step pattern."
           RenderBlock {DIV} at (50,86) size 684x104 [color=#FFFFFF] [bgcolor=#008080]
    -        RenderInline {SPAN} at (0,0) size 51x51
    +        RenderInline {SPAN} at (12,12) size 51x51
               RenderText {#text} at (12,12) size 51x51
                 text run at (12,12) width 51: "X"
             RenderText {#text} at (62,30) size 51x51
    @@ -16,6 +16,6 @@ layer at (0,0) size 800x256
             RenderImage {IMG} at (112,20) size 51x51
             RenderText {#text} at (162,30) size 151x51
               text run at (162,30) width 151: " X "
    -        RenderInline {SPAN} at (0,0) size 51x51
    +        RenderInline {SPAN} at (312,41) size 51x51
               RenderText {#text} at (312,41) size 51x51
                 text run at (312,41) width 51: "X"
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-01-d-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
    index 5b830ad9491e..f7deba043eb5 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-01-d-ag-expected.txt
    @@ -9,50 +9,50 @@ layer at (0,0) size 800x298
           RenderBlock {DIV} at (15,34) size 90x240 [color=#008000] [bgcolor=#FF0000]
             RenderBlock {DIV} at (0,0) size 90x33
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,0) size 15x15
                 RenderText {#text} at (30,0) size 15x15
                   text run at (30,0) width 15: "X"
               RenderText {#text} at (45,18) size 15x15
                 text run at (45,18) width 15: "X"
             RenderBlock {DIV} at (0,33) size 90x36
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 45x30
    -            RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,6) size 45x30
    +            RenderInline {SPAN} at (30,6) size 15x15
                   RenderText {#text} at (30,6) size 15x15
                     text run at (30,6) width 15: "X"
                 RenderText {#text} at (45,6) size 30x30
                   text run at (45,6) width 30: "X"
             RenderBlock {DIV} at (0,69) size 90x30
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderText {#text} at (30,9) size 15x15
    +          RenderText {#text} at (30,9) size 15x16
                 text run at (30,9) width 15: "X"
             RenderBlock {DIV} at (0,99) size 90x36
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 45x30
    -            RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,6) size 45x30
    +            RenderInline {SPAN} at (30,21) size 15x15
                   RenderText {#text} at (30,21) size 15x15
                     text run at (30,21) width 15: "X"
                 RenderText {#text} at (45,6) size 30x30
                   text run at (45,6) width 30: "X"
             RenderBlock {DIV} at (0,135) size 90x36
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 45x30
    -            RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,6) size 45x30
    +            RenderInline {SPAN} at (30,21) size 15x15
                   RenderText {#text} at (30,21) size 15x15
                     text run at (30,21) width 15: "X"
                 RenderText {#text} at (45,6) size 30x30
                   text run at (45,6) width 30: "X"
             RenderBlock {DIV} at (0,171) size 90x36
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 45x30
    -            RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,6) size 45x30
    +            RenderInline {SPAN} at (30,18) size 15x15
                   RenderText {#text} at (30,18) size 15x15
                     text run at (30,18) width 15: "X"
                 RenderText {#text} at (45,6) size 30x30
                   text run at (45,6) width 30: "X"
             RenderBlock {DIV} at (0,207) size 90x33
               RenderImage {IMG} at (0,0) size 30x30
    -          RenderInline {SPAN} at (0,0) size 15x15
    +          RenderInline {SPAN} at (30,8) size 15x15
                 RenderText {#text} at (30,8) size 15x15
                   text run at (30,8) width 15: "X"
               RenderText {#text} at (45,18) size 15x15
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-02-d-agi-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-02-d-agi-expected.txt
    index 66b5fe700adf..39604b358303 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-02-d-agi-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-02-d-agi-expected.txt
    @@ -15,7 +15,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (68,25) size 31x31
             RenderText {#text} at (98,25) size 16x16
               text run at (98,25) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 115x39 [color=#C0C0C0]
    +        RenderInline {SPAN} at (113,7) size 115x39 [color=#C0C0C0]
               RenderText {#text} at (113,7) size 115x39
                 text run at (113,7) width 115: "xxx"
             RenderText {#text} at (227,25) size 16x16
    @@ -23,7 +23,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (242,25) size 51x51
             RenderText {#text} at (292,25) size 16x16
               text run at (292,25) width 16: " "
    -        RenderInline {BIG} at (0,0) size 61x21 [color=#C0C0C0]
    +        RenderInline {BIG} at (307,21) size 61x21 [color=#C0C0C0]
               RenderText {#text} at (307,21) size 61x21
                 text run at (307,21) width 61: "xxx"
             RenderText {#text} at (367,25) size 16x16
    @@ -31,7 +31,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (382,25) size 11x11
             RenderText {#text} at (392,25) size 16x16
               text run at (392,25) width 16: " "
    -        RenderInline {SMALL} at (0,0) size 31x11 [color=#C0C0C0]
    +        RenderInline {SMALL} at (407,29) size 31x11 [color=#C0C0C0]
               RenderText {#text} at (407,29) size 31x11
                 text run at (407,29) width 31: "xxx"
             RenderText {#text} at (437,25) size 16x16
    @@ -43,7 +43,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (547,25) size 66x66
             RenderText {#text} at (612,25) size 16x16
               text run at (612,25) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 91x31 [color=#C0C0C0]
    +        RenderInline {SPAN} at (627,13) size 91x31 [color=#C0C0C0]
               RenderText {#text} at (627,13) size 91x31
                 text run at (627,13) width 91: "xxx"
             RenderText {#text} at (0,0) size 0x0
    @@ -54,10 +54,10 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (118,123) size 31x31
             RenderText {#text} at (148,123) size 16x16
               text run at (148,123) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 353x24 [color=#C0C0C0]
    +        RenderInline {SPAN} at (163,117) size 353x24 [color=#C0C0C0]
               RenderText {#text} at (163,117) size 93x24
                 text run at (163,117) width 93: "xxx "
    -          RenderInline {SPAN} at (0,0) size 169x57
    +          RenderInline {SPAN} at (255,90) size 169x57
                 RenderText {#text} at (255,90) size 169x57
                   text run at (255,90) width 169: "xxx"
               RenderText {#text} at (423,117) size 93x24
    @@ -67,7 +67,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (530,123) size 51x51
             RenderText {#text} at (580,123) size 16x16
               text run at (580,123) width 16: " "
    -        RenderInline {SMALL} at (0,0) size 31x11 [color=#C0C0C0]
    +        RenderInline {SMALL} at (595,127) size 31x11 [color=#C0C0C0]
               RenderText {#text} at (595,127) size 31x11
                 text run at (595,127) width 31: "xxx"
             RenderText {#text} at (625,123) size 16x16
    @@ -75,7 +75,7 @@ layer at (0,0) size 800x355
             RenderImage {IMG} at (640,123) size 16x16
             RenderText {#text} at (655,123) size 16x16
               text run at (655,123) width 16: " "
    -        RenderInline {BIG} at (0,0) size 61x21 [color=#C0C0C0]
    +        RenderInline {BIG} at (670,119) size 61x21 [color=#C0C0C0]
               RenderText {#text} at (670,119) size 61x21
                 text run at (670,119) width 61: "xxx"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-03-d-agi-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-03-d-agi-expected.txt
    index db7cc5fc5733..295ba0f76571 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-03-d-agi-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-03-d-agi-expected.txt
    @@ -12,27 +12,27 @@ layer at (0,0) size 800x319
           RenderBlock {P} at (15,52) size 754x236 [color=#0000FF] [bgcolor=#FFFFFF] [border: (1px solid #C0C0C0)]
             RenderText {#text} at (8,35) size 61x16
               text run at (8,35) width 61: "\x{C9}\x{C9}\x{C9} "
    -        RenderImage {IMG} at (68,26) size 31x31
    +        RenderImage {IMG} at (68,26) size 31x30
             RenderText {#text} at (98,35) size 16x16
               text run at (98,35) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 115x39 [color=#C0C0C0]
    +        RenderInline {SPAN} at (113,17) size 115x38 [color=#C0C0C0]
               RenderText {#text} at (113,17) size 115x39
                 text run at (113,17) width 115: "xxx"
             RenderText {#text} at (227,35) size 16x16
               text run at (227,35) width 16: " "
    -        RenderImage {IMG} at (242,16) size 51x51
    +        RenderImage {IMG} at (242,16) size 51x50
             RenderText {#text} at (292,35) size 76x16
               text run at (292,35) width 16: " "
               text run at (307,35) width 61: "\x{C9}\x{C9}\x{C9} "
    -        RenderImage {IMG} at (367,36) size 11x11
    +        RenderImage {IMG} at (367,36) size 11x10
             RenderText {#text} at (377,35) size 16x16
               text run at (377,35) width 16: " "
    -        RenderInline {SMALL} at (0,0) size 31x11 [color=#C0C0C0]
    +        RenderInline {SMALL} at (392,39) size 31x10 [color=#C0C0C0]
               RenderText {#text} at (392,39) size 31x11
                 text run at (392,39) width 31: "xxx"
             RenderText {#text} at (422,35) size 16x16
               text run at (422,35) width 16: " "
    -        RenderImage {IMG} at (437,31) size 21x21
    +        RenderImage {IMG} at (437,31) size 21x20
             RenderText {#text} at (457,35) size 76x16
               text run at (457,35) width 16: " "
               text run at (472,35) width 61: "\x{C9}\x{C9}\x{C9} "
    @@ -42,7 +42,7 @@ layer at (0,0) size 800x319
               text run at (612,35) width 61: "\x{C9}\x{C9}\x{C9} "
             RenderImage {IMG} at (672,23) size 36x36
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {SPAN} at (0,0) size 91x31 [color=#C0C0C0]
    +        RenderInline {SPAN} at (8,94) size 91x31 [color=#C0C0C0]
               RenderText {#text} at (8,94) size 91x31
                 text run at (8,94) width 91: "xxx"
             RenderText {#text} at (98,106) size 16x16
    @@ -50,10 +50,10 @@ layer at (0,0) size 800x319
             RenderImage {IMG} at (113,87) size 51x51
             RenderText {#text} at (163,106) size 16x16
               text run at (163,106) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 353x24 [color=#C0C0C0]
    +        RenderInline {SPAN} at (178,100) size 353x24 [color=#C0C0C0]
               RenderText {#text} at (178,100) size 93x24
                 text run at (178,100) width 93: "xxx "
    -          RenderInline {SPAN} at (0,0) size 169x57
    +          RenderInline {SPAN} at (270,73) size 169x57
                 RenderText {#text} at (270,73) size 169x57
                   text run at (270,73) width 169: "xxx"
               RenderText {#text} at (438,100) size 93x24
    @@ -63,7 +63,7 @@ layer at (0,0) size 800x319
             RenderImage {IMG} at (545,87) size 51x51
             RenderText {#text} at (595,106) size 16x16
               text run at (595,106) width 16: " "
    -        RenderInline {SMALL} at (0,0) size 31x11 [color=#C0C0C0]
    +        RenderInline {SMALL} at (610,110) size 31x11 [color=#C0C0C0]
               RenderText {#text} at (610,110) size 31x11
                 text run at (610,110) width 31: "xxx"
             RenderText {#text} at (640,106) size 16x16
    @@ -71,7 +71,7 @@ layer at (0,0) size 800x319
             RenderImage {IMG} at (655,104) size 16x16
             RenderText {#text} at (670,106) size 16x16
               text run at (670,106) width 16: " "
    -        RenderInline {BIG} at (0,0) size 61x21 [color=#C0C0C0]
    +        RenderInline {BIG} at (685,102) size 61x21 [color=#C0C0C0]
               RenderText {#text} at (685,102) size 61x21
                 text run at (685,102) width 61: "xxx"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-04-d-agi-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-04-d-agi-expected.txt
    index 427a695f58f5..b2d030a2f020 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-04-d-agi-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c544-valgn-04-d-agi-expected.txt
    @@ -10,7 +10,7 @@ layer at (0,0) size 800x255
               text run at (0,18) width 83: "alignment as "
               text run at (83,18) width 204: "other blue rectangles on the line."
           RenderBlock {P} at (15,52) size 754x172 [color=#0000FF] [bgcolor=#FFFFFF] [border: (1px solid #C0C0C0)]
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (8,8) size 46x16
               RenderText {#text} at (8,8) size 46x16
                 text run at (8,8) width 46: "xxx"
             RenderText {#text} at (53,8) size 16x16
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (68,8) size 11x11
             RenderText {#text} at (78,8) size 16x16
               text run at (78,8) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 115x39
    +        RenderInline {SPAN} at (93,7) size 115x39
               RenderText {#text} at (93,7) size 115x39
                 text run at (93,7) width 115: "xxx"
             RenderText {#text} at (207,8) size 16x16
    @@ -26,7 +26,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (222,8) size 11x11
             RenderText {#text} at (232,8) size 16x16
               text run at (232,8) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (247,8) size 46x16
               RenderText {#text} at (247,8) size 46x16
                 text run at (247,8) width 46: "xxx"
             RenderText {#text} at (292,8) size 16x16
    @@ -34,7 +34,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (307,8) size 11x11
             RenderText {#text} at (317,8) size 16x16
               text run at (317,8) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (332,8) size 46x16
               RenderText {#text} at (332,8) size 46x16
                 text run at (332,8) width 46: "xxx"
             RenderText {#text} at (377,8) size 16x16
    @@ -42,7 +42,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (392,8) size 11x11
             RenderText {#text} at (402,8) size 16x16
               text run at (402,8) width 16: " "
    -        RenderInline {BIG} at (0,0) size 61x21
    +        RenderInline {BIG} at (417,8) size 61x21
               RenderText {#text} at (417,8) size 61x21
                 text run at (417,8) width 61: "xxx"
             RenderText {#text} at (477,8) size 16x16
    @@ -50,7 +50,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (492,8) size 21x21
             RenderText {#text} at (512,8) size 16x16
               text run at (512,8) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (527,8) size 46x16
               RenderText {#text} at (527,8) size 46x16
                 text run at (527,8) width 46: "xxx"
             RenderText {#text} at (572,8) size 16x16
    @@ -58,14 +58,14 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (587,8) size 66x66
             RenderText {#text} at (652,8) size 16x16
               text run at (652,8) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (667,8) size 46x16
               RenderText {#text} at (667,8) size 46x16
                 text run at (667,8) width 46: "xxx"
             RenderText {#text} at (0,0) size 0x0
             RenderImage {IMG} at (8,73) size 36x36
             RenderText {#text} at (43,73) size 16x16
               text run at (43,73) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 91x31
    +        RenderInline {SPAN} at (58,73) size 91x31
               RenderText {#text} at (58,73) size 91x31
                 text run at (58,73) width 91: "xxx"
             RenderText {#text} at (148,73) size 16x16
    @@ -73,7 +73,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (163,73) size 51x51
             RenderText {#text} at (213,73) size 16x16
               text run at (213,73) width 16: " "
    -        RenderInline {SPAN} at (0,0) size 46x16
    +        RenderInline {SPAN} at (228,73) size 46x16
               RenderText {#text} at (228,73) size 46x16
                 text run at (228,73) width 46: "xxx"
             RenderText {#text} at (273,73) size 16x16
    @@ -81,7 +81,7 @@ layer at (0,0) size 800x255
             RenderImage {IMG} at (288,73) size 16x16
             RenderText {#text} at (303,73) size 16x16
               text run at (303,73) width 16: " "
    -        RenderInline {BIG} at (0,0) size 61x21
    +        RenderInline {BIG} at (318,73) size 61x21
               RenderText {#text} at (318,73) size 61x21
                 text run at (318,73) width 61: "xxx"
             RenderText {#text} at (378,73) size 16x16
    diff --git a/LayoutTests/platform/glib/css2.1/t100801-c548-leadin-00-d-a-expected.txt b/LayoutTests/platform/glib/css2.1/t100801-c548-leadin-00-d-a-expected.txt
    index 7943854e58a6..30f01a75a215 100644
    --- a/LayoutTests/platform/glib/css2.1/t100801-c548-leadin-00-d-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t100801-c548-leadin-00-d-a-expected.txt
    @@ -7,7 +7,7 @@ layer at (0,0) size 800x164
             RenderText {#text} at (0,0) size 458x17
               text run at (0,0) width 458: "There should be stripes of dark green and light green below, with no red."
           RenderBlock {DIV} at (0,34) size 81x106 [color=#00FF00] [bgcolor=#008000] [border: (3px solid #000000)]
    -        RenderInline {SPAN} at (0,0) size 75x75 [bgcolor=#FF0000]
    +        RenderInline {SPAN} at (3,15) size 75x75 [bgcolor=#FF0000]
               RenderText {#text} at (3,15) size 75x75
                 text run at (3,15) width 75: "xxx"
                 text run at (3,65) width 75: "xxx"
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-00-b-expected.txt
    index 334a720c7b1f..c7926db5f7d7 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-00-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "1"
             RenderText {#text} at (8,0) size 4x17
               text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline (generated) at (12,0) size 8x17
                 RenderCounter at (12,0) size 8x17
                   text run at (12,0) width 8: "2"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (24,0) size 8x17
    +          RenderInline (generated) at (24,0) size 8x17
                 RenderCounter at (24,0) size 8x17
                   text run at (24,0) width 8: "3"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (36,0) size 8x17
    +          RenderInline (generated) at (36,0) size 8x17
                 RenderCounter at (36,0) size 8x17
                   text run at (36,0) width 8: "4"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (48,0) size 8x17
    +          RenderInline (generated) at (48,0) size 8x17
                 RenderCounter at (48,0) size 8x17
                   text run at (48,0) width 8: "5"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (60,0) size 8x17
    +          RenderInline (generated) at (60,0) size 8x17
                 RenderCounter at (60,0) size 8x17
                   text run at (60,0) width 8: "6"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (72,0) size 8x17
    +          RenderInline (generated) at (72,0) size 8x17
                 RenderCounter at (72,0) size 8x17
                   text run at (72,0) width 8: "7"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (84,0) size 8x17
    +          RenderInline (generated) at (84,0) size 8x17
                 RenderCounter at (84,0) size 8x17
                   text run at (84,0) width 8: "8"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (96,0) size 8x17
    +          RenderInline (generated) at (96,0) size 8x17
                 RenderCounter at (96,0) size 8x17
                   text run at (96,0) width 8: "9"
             RenderText {#text} at (104,0) size 4x17
               text run at (104,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (108,0) size 16x17
    +          RenderInline (generated) at (108,0) size 16x17
                 RenderCounter at (108,0) size 16x17
                   text run at (108,0) width 16: "10"
             RenderText {#text} at (124,0) size 4x17
               text run at (124,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (128,0) size 16x17
    +          RenderInline (generated) at (128,0) size 16x17
                 RenderCounter at (128,0) size 16x17
                   text run at (128,0) width 16: "11"
             RenderText {#text} at (143,0) size 5x17
               text run at (143,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (147,0) size 17x17
    +          RenderInline (generated) at (147,0) size 17x17
                 RenderCounter at (147,0) size 17x17
                   text run at (147,0) width 17: "12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-02-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-02-b-expected.txt
    index ac352146587a..203ac77b2a5f 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-02-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-02-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x94
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 6: "\x{2022}"
             RenderText {#text} at (6,0) size 4x17
               text run at (6,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (10,0) size 6x17
    +          RenderInline (generated) at (10,0) size 6x17
                 RenderCounter at (10,0) size 6x17
                   text run at (10,0) width 6: "\x{2022}"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (20,0) size 6x17
    +          RenderInline (generated) at (20,0) size 6x17
                 RenderCounter at (20,0) size 6x17
                   text run at (20,0) width 6: "\x{2022}"
             RenderText {#text} at (26,0) size 4x17
               text run at (26,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (30,0) size 6x17
    +          RenderInline (generated) at (30,0) size 6x17
                 RenderCounter at (30,0) size 6x17
                   text run at (30,0) width 6: "\x{2022}"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (40,0) size 6x17
    +          RenderInline (generated) at (40,0) size 6x17
                 RenderCounter at (40,0) size 6x17
                   text run at (40,0) width 6: "\x{2022}"
             RenderText {#text} at (46,0) size 4x17
               text run at (46,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (50,0) size 6x17
    +          RenderInline (generated) at (50,0) size 6x17
                 RenderCounter at (50,0) size 6x17
                   text run at (50,0) width 6: "\x{2022}"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (60,0) size 6x17
    +          RenderInline (generated) at (60,0) size 6x17
                 RenderCounter at (60,0) size 6x17
                   text run at (60,0) width 6: "\x{2022}"
             RenderText {#text} at (66,0) size 4x17
               text run at (66,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (70,0) size 6x17
    +          RenderInline (generated) at (70,0) size 6x17
                 RenderCounter at (70,0) size 6x17
                   text run at (70,0) width 6: "\x{2022}"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (80,0) size 6x17
    +          RenderInline (generated) at (80,0) size 6x17
                 RenderCounter at (80,0) size 6x17
                   text run at (80,0) width 6: "\x{2022}"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (90,0) size 6x17
    +          RenderInline (generated) at (90,0) size 6x17
                 RenderCounter at (90,0) size 6x17
                   text run at (90,0) width 6: "\x{2022}"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (100,0) size 6x17
    +          RenderInline (generated) at (100,0) size 6x17
                 RenderCounter at (100,0) size 6x17
                   text run at (100,0) width 6: "\x{2022}"
             RenderText {#text} at (106,0) size 4x17
               text run at (106,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (110,0) size 6x17
    +          RenderInline (generated) at (110,0) size 6x17
                 RenderCounter at (110,0) size 6x17
                   text run at (110,0) width 6: "\x{2022}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-03-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-03-b-expected.txt
    index 29a0f7673ef4..04600c7ef3ef 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-03-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-03-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x94
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 6: "\x{25E6}"
             RenderText {#text} at (6,0) size 4x17
               text run at (6,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (10,0) size 6x17
    +          RenderInline (generated) at (10,0) size 6x17
                 RenderCounter at (10,0) size 6x17
                   text run at (10,0) width 6: "\x{25E6}"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (20,0) size 6x17
    +          RenderInline (generated) at (20,0) size 6x17
                 RenderCounter at (20,0) size 6x17
                   text run at (20,0) width 6: "\x{25E6}"
             RenderText {#text} at (26,0) size 4x17
               text run at (26,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (30,0) size 6x17
    +          RenderInline (generated) at (30,0) size 6x17
                 RenderCounter at (30,0) size 6x17
                   text run at (30,0) width 6: "\x{25E6}"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (40,0) size 6x17
    +          RenderInline (generated) at (40,0) size 6x17
                 RenderCounter at (40,0) size 6x17
                   text run at (40,0) width 6: "\x{25E6}"
             RenderText {#text} at (46,0) size 4x17
               text run at (46,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (50,0) size 6x17
    +          RenderInline (generated) at (50,0) size 6x17
                 RenderCounter at (50,0) size 6x17
                   text run at (50,0) width 6: "\x{25E6}"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (60,0) size 6x17
    +          RenderInline (generated) at (60,0) size 6x17
                 RenderCounter at (60,0) size 6x17
                   text run at (60,0) width 6: "\x{25E6}"
             RenderText {#text} at (66,0) size 4x17
               text run at (66,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (70,0) size 6x17
    +          RenderInline (generated) at (70,0) size 6x17
                 RenderCounter at (70,0) size 6x17
                   text run at (70,0) width 6: "\x{25E6}"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (80,0) size 6x17
    +          RenderInline (generated) at (80,0) size 6x17
                 RenderCounter at (80,0) size 6x17
                   text run at (80,0) width 6: "\x{25E6}"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (90,0) size 6x17
    +          RenderInline (generated) at (90,0) size 6x17
                 RenderCounter at (90,0) size 6x17
                   text run at (90,0) width 6: "\x{25E6}"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (100,0) size 6x17
    +          RenderInline (generated) at (100,0) size 6x17
                 RenderCounter at (100,0) size 6x17
                   text run at (100,0) width 6: "\x{25E6}"
             RenderText {#text} at (106,0) size 4x17
               text run at (106,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (110,0) size 6x17
    +          RenderInline (generated) at (110,0) size 6x17
                 RenderCounter at (110,0) size 6x17
                   text run at (110,0) width 6: "\x{25E6}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-04-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-04-b-expected.txt
    index 10917e90a7a9..a24892e731e6 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-04-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-04-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x95
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x95
                   text run at (0,0) width 10: "\x{25A0}"
             RenderText {#text} at (10,0) size 4x17
               text run at (10,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (14,0) size 10x17
    +          RenderInline (generated) at (14,0) size 10x17
                 RenderCounter at (14,0) size 10x17
                   text run at (14,0) width 10: "\x{25A0}"
             RenderText {#text} at (24,0) size 4x17
               text run at (24,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (28,0) size 10x17
    +          RenderInline (generated) at (28,0) size 10x17
                 RenderCounter at (28,0) size 10x17
                   text run at (28,0) width 10: "\x{25A0}"
             RenderText {#text} at (38,0) size 4x17
               text run at (38,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (42,0) size 10x17
    +          RenderInline (generated) at (42,0) size 10x17
                 RenderCounter at (42,0) size 10x17
                   text run at (42,0) width 10: "\x{25A0}"
             RenderText {#text} at (52,0) size 4x17
               text run at (52,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (56,0) size 10x17
    +          RenderInline (generated) at (56,0) size 10x17
                 RenderCounter at (56,0) size 10x17
                   text run at (56,0) width 10: "\x{25A0}"
             RenderText {#text} at (66,0) size 4x17
               text run at (66,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (70,0) size 10x17
    +          RenderInline (generated) at (70,0) size 10x17
                 RenderCounter at (70,0) size 10x17
                   text run at (70,0) width 10: "\x{25A0}"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (84,0) size 10x17
    +          RenderInline (generated) at (84,0) size 10x17
                 RenderCounter at (84,0) size 10x17
                   text run at (84,0) width 10: "\x{25A0}"
             RenderText {#text} at (94,0) size 4x17
               text run at (94,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (98,0) size 10x17
    +          RenderInline (generated) at (98,0) size 10x17
                 RenderCounter at (98,0) size 10x17
                   text run at (98,0) width 10: "\x{25A0}"
             RenderText {#text} at (108,0) size 4x17
               text run at (108,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (112,0) size 10x17
    +          RenderInline (generated) at (112,0) size 10x17
                 RenderCounter at (112,0) size 10x17
                   text run at (112,0) width 10: "\x{25A0}"
             RenderText {#text} at (122,0) size 4x17
               text run at (122,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (126,0) size 10x17
    +          RenderInline (generated) at (126,0) size 10x17
                 RenderCounter at (126,0) size 10x17
                   text run at (126,0) width 10: "\x{25A0}"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (140,0) size 10x17
    +          RenderInline (generated) at (140,0) size 10x17
                 RenderCounter at (140,0) size 10x17
                   text run at (140,0) width 10: "\x{25A0}"
             RenderText {#text} at (150,0) size 4x17
               text run at (150,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (154,0) size 10x17
    +          RenderInline (generated) at (154,0) size 10x17
                 RenderCounter at (154,0) size 10x17
                   text run at (154,0) width 10: "\x{25A0}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-05-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-05-b-expected.txt
    index 334a720c7b1f..c7926db5f7d7 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-05-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-05-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "1"
             RenderText {#text} at (8,0) size 4x17
               text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline (generated) at (12,0) size 8x17
                 RenderCounter at (12,0) size 8x17
                   text run at (12,0) width 8: "2"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (24,0) size 8x17
    +          RenderInline (generated) at (24,0) size 8x17
                 RenderCounter at (24,0) size 8x17
                   text run at (24,0) width 8: "3"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (36,0) size 8x17
    +          RenderInline (generated) at (36,0) size 8x17
                 RenderCounter at (36,0) size 8x17
                   text run at (36,0) width 8: "4"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (48,0) size 8x17
    +          RenderInline (generated) at (48,0) size 8x17
                 RenderCounter at (48,0) size 8x17
                   text run at (48,0) width 8: "5"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (60,0) size 8x17
    +          RenderInline (generated) at (60,0) size 8x17
                 RenderCounter at (60,0) size 8x17
                   text run at (60,0) width 8: "6"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (72,0) size 8x17
    +          RenderInline (generated) at (72,0) size 8x17
                 RenderCounter at (72,0) size 8x17
                   text run at (72,0) width 8: "7"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (84,0) size 8x17
    +          RenderInline (generated) at (84,0) size 8x17
                 RenderCounter at (84,0) size 8x17
                   text run at (84,0) width 8: "8"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (96,0) size 8x17
    +          RenderInline (generated) at (96,0) size 8x17
                 RenderCounter at (96,0) size 8x17
                   text run at (96,0) width 8: "9"
             RenderText {#text} at (104,0) size 4x17
               text run at (104,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (108,0) size 16x17
    +          RenderInline (generated) at (108,0) size 16x17
                 RenderCounter at (108,0) size 16x17
                   text run at (108,0) width 16: "10"
             RenderText {#text} at (124,0) size 4x17
               text run at (124,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (128,0) size 16x17
    +          RenderInline (generated) at (128,0) size 16x17
                 RenderCounter at (128,0) size 16x17
                   text run at (128,0) width 16: "11"
             RenderText {#text} at (143,0) size 5x17
               text run at (143,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (147,0) size 17x17
    +          RenderInline (generated) at (147,0) size 17x17
                 RenderCounter at (147,0) size 17x17
                   text run at (147,0) width 17: "12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-06-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-06-b-expected.txt
    index 72ace699470e..c7bce41105dd 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-06-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-06-b-expected.txt
    @@ -13,86 +13,86 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 16: "01"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (20,0) size 16x17
    +          RenderInline (generated) at (20,0) size 16x17
                 RenderCounter at (20,0) size 16x17
                   text run at (20,0) width 16: "02"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (40,0) size 16x17
    +          RenderInline (generated) at (40,0) size 16x17
                 RenderCounter at (40,0) size 16x17
                   text run at (40,0) width 16: "03"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (60,0) size 16x17
    +          RenderInline (generated) at (60,0) size 16x17
                 RenderCounter at (60,0) size 16x17
                   text run at (60,0) width 16: "04"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (80,0) size 16x17
    +          RenderInline (generated) at (80,0) size 16x17
                 RenderCounter at (80,0) size 16x17
                   text run at (80,0) width 16: "05"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (100,0) size 16x17
    +          RenderInline (generated) at (100,0) size 16x17
                 RenderCounter at (100,0) size 16x17
                   text run at (100,0) width 16: "06"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (120,0) size 16x17
    +          RenderInline (generated) at (120,0) size 16x17
                 RenderCounter at (120,0) size 16x17
                   text run at (120,0) width 16: "07"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (140,0) size 16x17
    +          RenderInline (generated) at (140,0) size 16x17
                 RenderCounter at (140,0) size 16x17
                   text run at (140,0) width 16: "08"
             RenderText {#text} at (156,0) size 4x17
               text run at (156,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (160,0) size 16x17
    +          RenderInline (generated) at (160,0) size 16x17
                 RenderCounter at (160,0) size 16x17
                   text run at (160,0) width 16: "09"
             RenderText {#text} at (176,0) size 4x17
               text run at (176,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (180,0) size 16x17
    +          RenderInline (generated) at (180,0) size 16x17
                 RenderCounter at (180,0) size 16x17
                   text run at (180,0) width 16: "10"
             RenderText {#text} at (196,0) size 4x17
               text run at (196,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (200,0) size 16x17
    +          RenderInline (generated) at (200,0) size 16x17
                 RenderCounter at (200,0) size 16x17
                   text run at (200,0) width 16: "11"
             RenderText {#text} at (215,0) size 5x17
               text run at (215,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (219,0) size 17x17
    +          RenderInline (generated) at (219,0) size 17x17
                 RenderCounter at (219,0) size 17x17
                   text run at (219,0) width 17: "12"
             RenderText {#text} at (235,0) size 5x17
               text run at (235,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (239,0) size 17x17
    +          RenderInline (generated) at (239,0) size 17x17
                 RenderCounter at (239,0) size 17x17
                   text run at (239,0) width 17: "99"
             RenderText {#text} at (255,0) size 5x17
               text run at (255,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 25x17
    -          RenderInline (generated) at (0,0) size 25x17
    +        RenderInline {SPAN} at (259,0) size 25x17
    +          RenderInline (generated) at (259,0) size 25x17
                 RenderCounter at (259,0) size 25x17
                   text run at (259,0) width 25: "100"
             RenderText {#text} at (283,0) size 5x17
               text run at (283,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 25x17
    -          RenderInline (generated) at (0,0) size 25x17
    +        RenderInline {SPAN} at (287,0) size 25x17
    +          RenderInline (generated) at (287,0) size 25x17
                 RenderCounter at (287,0) size 25x17
                   text run at (287,0) width 25: "101"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-07-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-07-b-expected.txt
    index 044967da2987..a5cc04a1df3a 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-07-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-07-b-expected.txt
    @@ -13,110 +13,110 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 4: "i"
             RenderText {#text} at (4,0) size 4x17
               text run at (4,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (8,0) size 8x17
    +          RenderInline (generated) at (8,0) size 8x17
                 RenderCounter at (8,0) size 8x17
                   text run at (8,0) width 8: "ii"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (20,0) size 12x17
    +          RenderInline (generated) at (20,0) size 12x17
                 RenderCounter at (20,0) size 12x17
                   text run at (20,0) width 12: "iii"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (36,0) size 12x17
    +          RenderInline (generated) at (36,0) size 12x17
                 RenderCounter at (36,0) size 12x17
                   text run at (36,0) width 12: "iv"
             RenderText {#text} at (48,0) size 4x17
               text run at (48,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (52,0) size 8x17
    +          RenderInline (generated) at (52,0) size 8x17
                 RenderCounter at (52,0) size 8x17
                   text run at (52,0) width 8: "v"
             RenderText {#text} at (60,0) size 4x17
               text run at (60,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (64,0) size 12x17
    +          RenderInline (generated) at (64,0) size 12x17
                 RenderCounter at (64,0) size 12x17
                   text run at (64,0) width 12: "vi"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (80,0) size 16x17
    +          RenderInline (generated) at (80,0) size 16x17
                 RenderCounter at (80,0) size 16x17
                   text run at (80,0) width 16: "vii"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (100,0) size 20x17
    +          RenderInline (generated) at (100,0) size 20x17
                 RenderCounter at (100,0) size 20x17
                   text run at (100,0) width 20: "viii"
             RenderText {#text} at (120,0) size 4x17
               text run at (120,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (124,0) size 12x17
    +          RenderInline (generated) at (124,0) size 12x17
                 RenderCounter at (124,0) size 12x17
                   text run at (124,0) width 12: "ix"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (140,0) size 8x17
    +          RenderInline (generated) at (140,0) size 8x17
                 RenderCounter at (140,0) size 8x17
                   text run at (140,0) width 8: "x"
             RenderText {#text} at (148,0) size 4x17
               text run at (148,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (152,0) size 12x17
    +          RenderInline (generated) at (152,0) size 12x17
                 RenderCounter at (152,0) size 12x17
                   text run at (152,0) width 12: "xi"
             RenderText {#text} at (164,0) size 4x17
               text run at (164,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (168,0) size 16x17
    +          RenderInline (generated) at (168,0) size 16x17
                 RenderCounter at (168,0) size 16x17
                   text run at (168,0) width 16: "xii"
             RenderText {#text} at (184,0) size 4x17
               text run at (184,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (188,0) size 24x17
    +          RenderInline (generated) at (188,0) size 24x17
                 RenderCounter at (188,0) size 24x17
                   text run at (188,0) width 24: "xlix"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (216,0) size 4x17
    +          RenderInline (generated) at (216,0) size 4x17
                 RenderCounter at (216,0) size 4x17
                   text run at (216,0) width 4: "l"
             RenderText {#text} at (220,0) size 4x17
               text run at (220,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 61x17
    -          RenderInline (generated) at (0,0) size 61x17
    +        RenderInline {SPAN} at (224,0) size 61x17
    +          RenderInline (generated) at (224,0) size 61x17
                 RenderCounter at (224,0) size 61x17
                   text run at (224,0) width 61: "ccclxxxix"
             RenderText {#text} at (285,0) size 4x17
               text run at (285,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (289,0) size 36x17
    +          RenderInline (generated) at (289,0) size 36x17
                 RenderCounter at (289,0) size 36x17
                   text run at (289,0) width 36: "cccxc"
             RenderText {#text} at (325,0) size 4x17
               text run at (325,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 91x17
    -          RenderInline (generated) at (0,0) size 91x17
    +        RenderInline {SPAN} at (329,0) size 91x17
    +          RenderInline (generated) at (329,0) size 91x17
                 RenderCounter at (329,0) size 91x17
                   text run at (329,0) width 91: "mmmcdlxxxix"
             RenderText {#text} at (420,0) size 4x17
               text run at (420,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 66x17
    -          RenderInline (generated) at (0,0) size 66x17
    +        RenderInline {SPAN} at (424,0) size 66x17
    +          RenderInline (generated) at (424,0) size 66x17
                 RenderCounter at (424,0) size 66x17
                   text run at (424,0) width 66: "mmmcdxc"
             RenderText {#text} at (490,0) size 4x17
               text run at (490,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 70x17
    -          RenderInline (generated) at (0,0) size 70x17
    +        RenderInline {SPAN} at (494,0) size 70x17
    +          RenderInline (generated) at (494,0) size 70x17
                 RenderCounter at (494,0) size 70x17
                   text run at (494,0) width 70: "mmmcdxci"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-08-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-08-b-expected.txt
    index 2ad851b75b52..55189292f9ca 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-08-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-08-b-expected.txt
    @@ -13,110 +13,110 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 5: "I"
             RenderText {#text} at (5,0) size 4x17
               text run at (5,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (9,0) size 10x17
    +          RenderInline (generated) at (9,0) size 10x17
                 RenderCounter at (9,0) size 10x17
                   text run at (9,0) width 10: "II"
             RenderText {#text} at (19,0) size 4x17
               text run at (19,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (23,0) size 15x17
    +          RenderInline (generated) at (23,0) size 15x17
                 RenderCounter at (23,0) size 15x17
                   text run at (23,0) width 15: "III"
             RenderText {#text} at (38,0) size 4x17
               text run at (38,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (42,0) size 17x17
    +          RenderInline (generated) at (42,0) size 17x17
                 RenderCounter at (42,0) size 17x17
                   text run at (42,0) width 17: "IV"
             RenderText {#text} at (59,0) size 4x17
               text run at (59,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (63,0) size 12x17
    +          RenderInline (generated) at (63,0) size 12x17
                 RenderCounter at (63,0) size 12x17
                   text run at (63,0) width 12: "V"
             RenderText {#text} at (75,0) size 4x17
               text run at (75,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (79,0) size 17x17
    +          RenderInline (generated) at (79,0) size 17x17
                 RenderCounter at (79,0) size 17x17
                   text run at (79,0) width 17: "VI"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 22x17
    -          RenderInline (generated) at (0,0) size 22x17
    +        RenderInline {SPAN} at (100,0) size 22x17
    +          RenderInline (generated) at (100,0) size 22x17
                 RenderCounter at (100,0) size 22x17
                   text run at (100,0) width 22: "VII"
             RenderText {#text} at (122,0) size 4x17
               text run at (122,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 27x17
    -          RenderInline (generated) at (0,0) size 27x17
    +        RenderInline {SPAN} at (126,0) size 27x17
    +          RenderInline (generated) at (126,0) size 27x17
                 RenderCounter at (126,0) size 27x17
                   text run at (126,0) width 27: "VIII"
             RenderText {#text} at (153,0) size 4x17
               text run at (153,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (157,0) size 17x17
    +          RenderInline (generated) at (157,0) size 17x17
                 RenderCounter at (157,0) size 17x17
                   text run at (157,0) width 17: "IX"
             RenderText {#text} at (174,0) size 4x17
               text run at (174,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (178,0) size 12x17
    +          RenderInline (generated) at (178,0) size 12x17
                 RenderCounter at (178,0) size 12x17
                   text run at (178,0) width 12: "X"
             RenderText {#text} at (190,0) size 4x17
               text run at (190,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (194,0) size 17x17
    +          RenderInline (generated) at (194,0) size 17x17
                 RenderCounter at (194,0) size 17x17
                   text run at (194,0) width 17: "XI"
             RenderText {#text} at (211,0) size 4x17
               text run at (211,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 22x17
    -          RenderInline (generated) at (0,0) size 22x17
    +        RenderInline {SPAN} at (215,0) size 22x17
    +          RenderInline (generated) at (215,0) size 22x17
                 RenderCounter at (215,0) size 22x17
                   text run at (215,0) width 22: "XII"
             RenderText {#text} at (237,0) size 4x17
               text run at (237,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 39x17
    -          RenderInline (generated) at (0,0) size 39x17
    +        RenderInline {SPAN} at (241,0) size 39x17
    +          RenderInline (generated) at (241,0) size 39x17
                 RenderCounter at (241,0) size 39x17
                   text run at (241,0) width 39: "XLIX"
             RenderText {#text} at (280,0) size 4x17
               text run at (280,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (284,0) size 10x17
    +          RenderInline (generated) at (284,0) size 10x17
                 RenderCounter at (284,0) size 10x17
                   text run at (284,0) width 10: "L"
             RenderText {#text} at (294,0) size 4x17
               text run at (294,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 96x17
    -          RenderInline (generated) at (0,0) size 96x17
    +        RenderInline {SPAN} at (298,0) size 96x17
    +          RenderInline (generated) at (298,0) size 96x17
                 RenderCounter at (298,0) size 96x17
                   text run at (298,0) width 96: "CCCLXXXIX"
             RenderText {#text} at (394,0) size 4x17
               text run at (394,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 56x17
    -          RenderInline (generated) at (0,0) size 56x17
    +        RenderInline {SPAN} at (398,0) size 56x17
    +          RenderInline (generated) at (398,0) size 56x17
                 RenderCounter at (398,0) size 56x17
                   text run at (398,0) width 56: "CCCXC"
             RenderText {#text} at (454,0) size 4x17
               text run at (454,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 128x17
    -          RenderInline (generated) at (0,0) size 128x17
    +        RenderInline {SPAN} at (458,0) size 128x17
    +          RenderInline (generated) at (458,0) size 128x17
                 RenderCounter at (458,0) size 128x17
                   text run at (458,0) width 128: "MMMCDLXXXIX"
             RenderText {#text} at (586,0) size 4x17
               text run at (586,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 88x17
    -          RenderInline (generated) at (0,0) size 88x17
    +        RenderInline {SPAN} at (590,0) size 88x17
    +          RenderInline (generated) at (590,0) size 88x17
                 RenderCounter at (590,0) size 88x17
                   text run at (590,0) width 88: "MMMCDXC"
             RenderText {#text} at (678,0) size 4x17
               text run at (678,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 93x17
    -          RenderInline (generated) at (0,0) size 93x17
    +        RenderInline {SPAN} at (682,0) size 93x17
    +          RenderInline (generated) at (682,0) size 93x17
                 RenderCounter at (682,0) size 93x17
                   text run at (682,0) width 93: "MMMCDXCI"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-11-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-11-b-expected.txt
    index 6f53a89ce910..54bd09f591a4 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-11-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-11-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 7: "a"
             RenderText {#text} at (7,0) size 4x17
               text run at (7,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (11,0) size 8x17
    +          RenderInline (generated) at (11,0) size 8x17
                 RenderCounter at (11,0) size 8x17
                   text run at (11,0) width 8: "b"
             RenderText {#text} at (19,0) size 4x17
               text run at (19,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (23,0) size 7x17
    +          RenderInline (generated) at (23,0) size 7x17
                 RenderCounter at (23,0) size 7x17
                   text run at (23,0) width 7: "c"
             RenderText {#text} at (30,0) size 4x17
               text run at (30,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (34,0) size 8x17
    +          RenderInline (generated) at (34,0) size 8x17
                 RenderCounter at (34,0) size 8x17
                   text run at (34,0) width 8: "d"
             RenderText {#text} at (42,0) size 4x17
               text run at (42,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (46,0) size 7x17
    +          RenderInline (generated) at (46,0) size 7x17
                 RenderCounter at (46,0) size 7x17
                   text run at (46,0) width 7: "e"
             RenderText {#text} at (53,0) size 4x17
               text run at (53,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 5x17
    -          RenderInline (generated) at (0,0) size 5x17
    +        RenderInline {SPAN} at (57,0) size 5x17
    +          RenderInline (generated) at (57,0) size 5x17
                 RenderCounter at (57,0) size 5x17
                   text run at (57,0) width 5: "f"
             RenderText {#text} at (62,0) size 4x17
               text run at (62,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (66,0) size 8x17
    +          RenderInline (generated) at (66,0) size 8x17
                 RenderCounter at (66,0) size 8x17
                   text run at (66,0) width 8: "g"
             RenderText {#text} at (74,0) size 4x17
               text run at (74,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (78,0) size 8x17
    +          RenderInline (generated) at (78,0) size 8x17
                 RenderCounter at (78,0) size 8x17
                   text run at (78,0) width 8: "h"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (90,0) size 4x17
    +          RenderInline (generated) at (90,0) size 4x17
                 RenderCounter at (90,0) size 4x17
                   text run at (90,0) width 4: "i"
             RenderText {#text} at (94,0) size 4x17
               text run at (94,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (98,0) size 4x17
    +          RenderInline (generated) at (98,0) size 4x17
                 RenderCounter at (98,0) size 4x17
                   text run at (98,0) width 4: "j"
             RenderText {#text} at (102,0) size 4x17
               text run at (102,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (106,0) size 8x17
    +          RenderInline (generated) at (106,0) size 8x17
                 RenderCounter at (106,0) size 8x17
                   text run at (106,0) width 8: "k"
             RenderText {#text} at (114,0) size 4x17
               text run at (114,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (118,0) size 4x17
    +          RenderInline (generated) at (118,0) size 4x17
                 RenderCounter at (118,0) size 4x17
                   text run at (118,0) width 4: "l"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-12-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-12-b-expected.txt
    index 6f53a89ce910..54bd09f591a4 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-12-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-12-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 7: "a"
             RenderText {#text} at (7,0) size 4x17
               text run at (7,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (11,0) size 8x17
    +          RenderInline (generated) at (11,0) size 8x17
                 RenderCounter at (11,0) size 8x17
                   text run at (11,0) width 8: "b"
             RenderText {#text} at (19,0) size 4x17
               text run at (19,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (23,0) size 7x17
    +          RenderInline (generated) at (23,0) size 7x17
                 RenderCounter at (23,0) size 7x17
                   text run at (23,0) width 7: "c"
             RenderText {#text} at (30,0) size 4x17
               text run at (30,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (34,0) size 8x17
    +          RenderInline (generated) at (34,0) size 8x17
                 RenderCounter at (34,0) size 8x17
                   text run at (34,0) width 8: "d"
             RenderText {#text} at (42,0) size 4x17
               text run at (42,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (46,0) size 7x17
    +          RenderInline (generated) at (46,0) size 7x17
                 RenderCounter at (46,0) size 7x17
                   text run at (46,0) width 7: "e"
             RenderText {#text} at (53,0) size 4x17
               text run at (53,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 5x17
    -          RenderInline (generated) at (0,0) size 5x17
    +        RenderInline {SPAN} at (57,0) size 5x17
    +          RenderInline (generated) at (57,0) size 5x17
                 RenderCounter at (57,0) size 5x17
                   text run at (57,0) width 5: "f"
             RenderText {#text} at (62,0) size 4x17
               text run at (62,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (66,0) size 8x17
    +          RenderInline (generated) at (66,0) size 8x17
                 RenderCounter at (66,0) size 8x17
                   text run at (66,0) width 8: "g"
             RenderText {#text} at (74,0) size 4x17
               text run at (74,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (78,0) size 8x17
    +          RenderInline (generated) at (78,0) size 8x17
                 RenderCounter at (78,0) size 8x17
                   text run at (78,0) width 8: "h"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (90,0) size 4x17
    +          RenderInline (generated) at (90,0) size 4x17
                 RenderCounter at (90,0) size 4x17
                   text run at (90,0) width 4: "i"
             RenderText {#text} at (94,0) size 4x17
               text run at (94,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (98,0) size 4x17
    +          RenderInline (generated) at (98,0) size 4x17
                 RenderCounter at (98,0) size 4x17
                   text run at (98,0) width 4: "j"
             RenderText {#text} at (102,0) size 4x17
               text run at (102,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (106,0) size 8x17
    +          RenderInline (generated) at (106,0) size 8x17
                 RenderCounter at (106,0) size 8x17
                   text run at (106,0) width 8: "k"
             RenderText {#text} at (114,0) size 4x17
               text run at (114,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (118,0) size 4x17
    +          RenderInline (generated) at (118,0) size 4x17
                 RenderCounter at (118,0) size 4x17
                   text run at (118,0) width 4: "l"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-13-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-13-b-expected.txt
    index e0b70e0ea238..89f3fcebb6a6 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-13-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-13-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 12: "A"
             RenderText {#text} at (12,0) size 4x17
               text run at (12,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 11x17
    -          RenderInline (generated) at (0,0) size 11x17
    +        RenderInline {SPAN} at (16,0) size 11x17
    +          RenderInline (generated) at (16,0) size 11x17
                 RenderCounter at (16,0) size 11x17
                   text run at (16,0) width 11: "B"
             RenderText {#text} at (27,0) size 4x17
               text run at (27,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 11x17
    -          RenderInline (generated) at (0,0) size 11x17
    +        RenderInline {SPAN} at (31,0) size 11x17
    +          RenderInline (generated) at (31,0) size 11x17
                 RenderCounter at (31,0) size 11x17
                   text run at (31,0) width 11: "C"
             RenderText {#text} at (42,0) size 4x17
               text run at (42,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (46,0) size 12x17
    +          RenderInline (generated) at (46,0) size 12x17
                 RenderCounter at (46,0) size 12x17
                   text run at (46,0) width 12: "D"
             RenderText {#text} at (58,0) size 4x17
               text run at (58,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (62,0) size 10x17
    +          RenderInline (generated) at (62,0) size 10x17
                 RenderCounter at (62,0) size 10x17
                   text run at (62,0) width 10: "E"
             RenderText {#text} at (72,0) size 4x17
               text run at (72,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 9x17
    -          RenderInline (generated) at (0,0) size 9x17
    +        RenderInline {SPAN} at (76,0) size 9x17
    +          RenderInline (generated) at (76,0) size 9x17
                 RenderCounter at (76,0) size 9x17
                   text run at (76,0) width 9: "F"
             RenderText {#text} at (85,0) size 4x17
               text run at (85,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (89,0) size 12x17
    +          RenderInline (generated) at (89,0) size 12x17
                 RenderCounter at (89,0) size 12x17
                   text run at (89,0) width 12: "G"
             RenderText {#text} at (101,0) size 4x17
               text run at (101,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (105,0) size 12x17
    +          RenderInline (generated) at (105,0) size 12x17
                 RenderCounter at (105,0) size 12x17
                   text run at (105,0) width 12: "H"
             RenderText {#text} at (117,0) size 4x17
               text run at (117,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 5x17
    -          RenderInline (generated) at (0,0) size 5x17
    +        RenderInline {SPAN} at (121,0) size 5x17
    +          RenderInline (generated) at (121,0) size 5x17
                 RenderCounter at (121,0) size 5x17
                   text run at (121,0) width 5: "I"
             RenderText {#text} at (126,0) size 4x17
               text run at (126,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (130,0) size 6x17
    +          RenderInline (generated) at (130,0) size 6x17
                 RenderCounter at (130,0) size 6x17
                   text run at (130,0) width 6: "J"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (140,0) size 12x17
    +          RenderInline (generated) at (140,0) size 12x17
                 RenderCounter at (140,0) size 12x17
                   text run at (140,0) width 12: "K"
             RenderText {#text} at (152,0) size 4x17
               text run at (152,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (156,0) size 10x17
    +          RenderInline (generated) at (156,0) size 10x17
                 RenderCounter at (156,0) size 10x17
                   text run at (156,0) width 10: "L"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-14-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-14-b-expected.txt
    index e0b70e0ea238..89f3fcebb6a6 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-14-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-14-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 12: "A"
             RenderText {#text} at (12,0) size 4x17
               text run at (12,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 11x17
    -          RenderInline (generated) at (0,0) size 11x17
    +        RenderInline {SPAN} at (16,0) size 11x17
    +          RenderInline (generated) at (16,0) size 11x17
                 RenderCounter at (16,0) size 11x17
                   text run at (16,0) width 11: "B"
             RenderText {#text} at (27,0) size 4x17
               text run at (27,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 11x17
    -          RenderInline (generated) at (0,0) size 11x17
    +        RenderInline {SPAN} at (31,0) size 11x17
    +          RenderInline (generated) at (31,0) size 11x17
                 RenderCounter at (31,0) size 11x17
                   text run at (31,0) width 11: "C"
             RenderText {#text} at (42,0) size 4x17
               text run at (42,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (46,0) size 12x17
    +          RenderInline (generated) at (46,0) size 12x17
                 RenderCounter at (46,0) size 12x17
                   text run at (46,0) width 12: "D"
             RenderText {#text} at (58,0) size 4x17
               text run at (58,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (62,0) size 10x17
    +          RenderInline (generated) at (62,0) size 10x17
                 RenderCounter at (62,0) size 10x17
                   text run at (62,0) width 10: "E"
             RenderText {#text} at (72,0) size 4x17
               text run at (72,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 9x17
    -          RenderInline (generated) at (0,0) size 9x17
    +        RenderInline {SPAN} at (76,0) size 9x17
    +          RenderInline (generated) at (76,0) size 9x17
                 RenderCounter at (76,0) size 9x17
                   text run at (76,0) width 9: "F"
             RenderText {#text} at (85,0) size 4x17
               text run at (85,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (89,0) size 12x17
    +          RenderInline (generated) at (89,0) size 12x17
                 RenderCounter at (89,0) size 12x17
                   text run at (89,0) width 12: "G"
             RenderText {#text} at (101,0) size 4x17
               text run at (101,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (105,0) size 12x17
    +          RenderInline (generated) at (105,0) size 12x17
                 RenderCounter at (105,0) size 12x17
                   text run at (105,0) width 12: "H"
             RenderText {#text} at (117,0) size 4x17
               text run at (117,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 5x17
    -          RenderInline (generated) at (0,0) size 5x17
    +        RenderInline {SPAN} at (121,0) size 5x17
    +          RenderInline (generated) at (121,0) size 5x17
                 RenderCounter at (121,0) size 5x17
                   text run at (121,0) width 5: "I"
             RenderText {#text} at (126,0) size 4x17
               text run at (126,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 6x17
    -          RenderInline (generated) at (0,0) size 6x17
    +        RenderInline {SPAN} at (130,0) size 6x17
    +          RenderInline (generated) at (130,0) size 6x17
                 RenderCounter at (130,0) size 6x17
                   text run at (130,0) width 6: "J"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (140,0) size 12x17
    +          RenderInline (generated) at (140,0) size 12x17
                 RenderCounter at (140,0) size 12x17
                   text run at (140,0) width 12: "K"
             RenderText {#text} at (152,0) size 4x17
               text run at (152,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 10x17
    -          RenderInline (generated) at (0,0) size 10x17
    +        RenderInline {SPAN} at (156,0) size 10x17
    +          RenderInline (generated) at (156,0) size 10x17
                 RenderCounter at (156,0) size 10x17
                   text run at (156,0) width 10: "L"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-15-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-15-b-expected.txt
    index 97e577330e71..689d3c8e5e4b 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-15-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-15-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "\x{3B1}"
             RenderText {#text} at (8,0) size 4x17
               text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline (generated) at (12,0) size 8x17
                 RenderCounter at (12,0) size 8x17
                   text run at (12,0) width 8: "\x{3B2}"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (24,0) size 7x17
    +          RenderInline (generated) at (24,0) size 7x17
                 RenderCounter at (24,0) size 7x17
                   text run at (24,0) width 7: "\x{3B3}"
             RenderText {#text} at (31,0) size 4x17
               text run at (31,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (35,0) size 8x17
    +          RenderInline (generated) at (35,0) size 8x17
                 RenderCounter at (35,0) size 8x17
                   text run at (35,0) width 8: "\x{3B4}"
             RenderText {#text} at (43,0) size 4x17
               text run at (43,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (47,0) size 7x17
    +          RenderInline (generated) at (47,0) size 7x17
                 RenderCounter at (47,0) size 7x17
                   text run at (47,0) width 7: "\x{3B5}"
             RenderText {#text} at (54,0) size 4x17
               text run at (54,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 7x17
    -          RenderInline (generated) at (0,0) size 7x17
    +        RenderInline {SPAN} at (58,0) size 7x17
    +          RenderInline (generated) at (58,0) size 7x17
                 RenderCounter at (58,0) size 7x17
                   text run at (58,0) width 7: "\x{3B6}"
             RenderText {#text} at (65,0) size 4x17
               text run at (65,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (69,0) size 8x17
    +          RenderInline (generated) at (69,0) size 8x17
                 RenderCounter at (69,0) size 8x17
                   text run at (69,0) width 8: "\x{3B7}"
             RenderText {#text} at (77,0) size 4x17
               text run at (77,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (81,0) size 8x17
    +          RenderInline (generated) at (81,0) size 8x17
                 RenderCounter at (81,0) size 8x17
                   text run at (81,0) width 8: "\x{3B8}"
             RenderText {#text} at (89,0) size 4x17
               text run at (89,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 4x17
    -          RenderInline (generated) at (0,0) size 4x17
    +        RenderInline {SPAN} at (93,0) size 4x17
    +          RenderInline (generated) at (93,0) size 4x17
                 RenderCounter at (93,0) size 4x17
                   text run at (93,0) width 4: "\x{3B9}"
             RenderText {#text} at (97,0) size 4x17
               text run at (97,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (101,0) size 8x17
    +          RenderInline (generated) at (101,0) size 8x17
                 RenderCounter at (101,0) size 8x17
                   text run at (101,0) width 8: "\x{3BA}"
             RenderText {#text} at (109,0) size 4x17
               text run at (109,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (113,0) size 8x17
    +          RenderInline (generated) at (113,0) size 8x17
                 RenderCounter at (113,0) size 8x17
                   text run at (113,0) width 8: "\x{3BB}"
             RenderText {#text} at (121,0) size 4x17
               text run at (121,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 9x17
    -          RenderInline (generated) at (0,0) size 9x17
    +        RenderInline {SPAN} at (125,0) size 9x17
    +          RenderInline (generated) at (125,0) size 9x17
                 RenderCounter at (125,0) size 9x17
                   text run at (125,0) width 9: "\x{3BC}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counter-16-f-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counter-16-f-expected.txt
    index 334a720c7b1f..c7926db5f7d7 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counter-16-f-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counter-16-f-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "1"
             RenderText {#text} at (8,0) size 4x17
               text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline (generated) at (12,0) size 8x17
                 RenderCounter at (12,0) size 8x17
                   text run at (12,0) width 8: "2"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (24,0) size 8x17
    +          RenderInline (generated) at (24,0) size 8x17
                 RenderCounter at (24,0) size 8x17
                   text run at (24,0) width 8: "3"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (36,0) size 8x17
    +          RenderInline (generated) at (36,0) size 8x17
                 RenderCounter at (36,0) size 8x17
                   text run at (36,0) width 8: "4"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (48,0) size 8x17
    +          RenderInline (generated) at (48,0) size 8x17
                 RenderCounter at (48,0) size 8x17
                   text run at (48,0) width 8: "5"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (60,0) size 8x17
    +          RenderInline (generated) at (60,0) size 8x17
                 RenderCounter at (60,0) size 8x17
                   text run at (60,0) width 8: "6"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (72,0) size 8x17
    +          RenderInline (generated) at (72,0) size 8x17
                 RenderCounter at (72,0) size 8x17
                   text run at (72,0) width 8: "7"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (84,0) size 8x17
    +          RenderInline (generated) at (84,0) size 8x17
                 RenderCounter at (84,0) size 8x17
                   text run at (84,0) width 8: "8"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (96,0) size 8x17
    +          RenderInline (generated) at (96,0) size 8x17
                 RenderCounter at (96,0) size 8x17
                   text run at (96,0) width 8: "9"
             RenderText {#text} at (104,0) size 4x17
               text run at (104,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (108,0) size 16x17
    +          RenderInline (generated) at (108,0) size 16x17
                 RenderCounter at (108,0) size 16x17
                   text run at (108,0) width 16: "10"
             RenderText {#text} at (124,0) size 4x17
               text run at (124,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (128,0) size 16x17
    +          RenderInline (generated) at (128,0) size 16x17
                 RenderCounter at (128,0) size 16x17
                   text run at (128,0) width 16: "11"
             RenderText {#text} at (143,0) size 5x17
               text run at (143,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (147,0) size 17x17
    +          RenderInline (generated) at (147,0) size 17x17
                 RenderCounter at (147,0) size 17x17
                   text run at (147,0) width 17: "12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-00-b-expected.txt
    index fa48a30f4786..c80ea8310b33 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-00-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "1.1"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (24,0) size 20x17
    +          RenderInline (generated) at (24,0) size 20x17
                 RenderCounter at (24,0) size 20x17
                   text run at (24,0) width 20: "1.2"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (48,0) size 20x17
    +          RenderInline (generated) at (48,0) size 20x17
                 RenderCounter at (48,0) size 20x17
                   text run at (48,0) width 20: "1.3"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (72,0) size 20x17
    +          RenderInline (generated) at (72,0) size 20x17
                 RenderCounter at (72,0) size 20x17
                   text run at (72,0) width 20: "1.4"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (96,0) size 20x17
    +          RenderInline (generated) at (96,0) size 20x17
                 RenderCounter at (96,0) size 20x17
                   text run at (96,0) width 20: "1.5"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (120,0) size 20x17
    +          RenderInline (generated) at (120,0) size 20x17
                 RenderCounter at (120,0) size 20x17
                   text run at (120,0) width 20: "1.6"
             RenderText {#text} at (140,0) size 4x17
               text run at (140,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (144,0) size 20x17
    +          RenderInline (generated) at (144,0) size 20x17
                 RenderCounter at (144,0) size 20x17
                   text run at (144,0) width 20: "1.7"
             RenderText {#text} at (164,0) size 4x17
               text run at (164,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (168,0) size 20x17
    +          RenderInline (generated) at (168,0) size 20x17
                 RenderCounter at (168,0) size 20x17
                   text run at (168,0) width 20: "1.8"
             RenderText {#text} at (188,0) size 4x17
               text run at (188,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (192,0) size 20x17
    +          RenderInline (generated) at (192,0) size 20x17
                 RenderCounter at (192,0) size 20x17
                   text run at (192,0) width 20: "1.9"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (216,0) size 28x17
    +          RenderInline (generated) at (216,0) size 28x17
                 RenderCounter at (216,0) size 28x17
                   text run at (216,0) width 28: "1.10"
             RenderText {#text} at (244,0) size 4x17
               text run at (244,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (248,0) size 28x17
    +          RenderInline (generated) at (248,0) size 28x17
                 RenderCounter at (248,0) size 28x17
                   text run at (248,0) width 28: "1.11"
             RenderText {#text} at (275,0) size 5x17
               text run at (275,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 29x17
    -          RenderInline (generated) at (0,0) size 29x17
    +        RenderInline {SPAN} at (279,0) size 29x17
    +          RenderInline (generated) at (279,0) size 29x17
                 RenderCounter at (279,0) size 29x17
                   text run at (279,0) width 29: "1.12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-02-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-02-b-expected.txt
    index 0dd06ebfcc66..543392811391 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-02-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-02-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x94
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (20,0) size 16x17
    +          RenderInline (generated) at (20,0) size 16x17
                 RenderCounter at (20,0) size 16x17
                   text run at (20,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (40,0) size 16x17
    +          RenderInline (generated) at (40,0) size 16x17
                 RenderCounter at (40,0) size 16x17
                   text run at (40,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (60,0) size 16x17
    +          RenderInline (generated) at (60,0) size 16x17
                 RenderCounter at (60,0) size 16x17
                   text run at (60,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (80,0) size 16x17
    +          RenderInline (generated) at (80,0) size 16x17
                 RenderCounter at (80,0) size 16x17
                   text run at (80,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (100,0) size 16x17
    +          RenderInline (generated) at (100,0) size 16x17
                 RenderCounter at (100,0) size 16x17
                   text run at (100,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (120,0) size 16x17
    +          RenderInline (generated) at (120,0) size 16x17
                 RenderCounter at (120,0) size 16x17
                   text run at (120,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (140,0) size 16x17
    +          RenderInline (generated) at (140,0) size 16x17
                 RenderCounter at (140,0) size 16x17
                   text run at (140,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (156,0) size 4x17
               text run at (156,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (160,0) size 16x17
    +          RenderInline (generated) at (160,0) size 16x17
                 RenderCounter at (160,0) size 16x17
                   text run at (160,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (176,0) size 4x17
               text run at (176,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (180,0) size 16x17
    +          RenderInline (generated) at (180,0) size 16x17
                 RenderCounter at (180,0) size 16x17
                   text run at (180,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (196,0) size 4x17
               text run at (196,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (200,0) size 16x17
    +          RenderInline (generated) at (200,0) size 16x17
                 RenderCounter at (200,0) size 16x17
                   text run at (200,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (216,0) size 4x17
               text run at (216,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (220,0) size 16x17
    +          RenderInline (generated) at (220,0) size 16x17
                 RenderCounter at (220,0) size 16x17
                   text run at (220,0) width 16: "\x{2022}.\x{2022}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-03-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-03-b-expected.txt
    index 5960de3467dd..4632e7746f4d 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-03-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-03-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x94
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (16,0) size 4x17
               text run at (16,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (20,0) size 16x17
    +          RenderInline (generated) at (20,0) size 16x17
                 RenderCounter at (20,0) size 16x17
                   text run at (20,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (40,0) size 16x17
    +          RenderInline (generated) at (40,0) size 16x17
                 RenderCounter at (40,0) size 16x17
                   text run at (40,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (60,0) size 16x17
    +          RenderInline (generated) at (60,0) size 16x17
                 RenderCounter at (60,0) size 16x17
                   text run at (60,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (80,0) size 16x17
    +          RenderInline (generated) at (80,0) size 16x17
                 RenderCounter at (80,0) size 16x17
                   text run at (80,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (96,0) size 4x17
               text run at (96,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (100,0) size 16x17
    +          RenderInline (generated) at (100,0) size 16x17
                 RenderCounter at (100,0) size 16x17
                   text run at (100,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (120,0) size 16x17
    +          RenderInline (generated) at (120,0) size 16x17
                 RenderCounter at (120,0) size 16x17
                   text run at (120,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (140,0) size 16x17
    +          RenderInline (generated) at (140,0) size 16x17
                 RenderCounter at (140,0) size 16x17
                   text run at (140,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (156,0) size 4x17
               text run at (156,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (160,0) size 16x17
    +          RenderInline (generated) at (160,0) size 16x17
                 RenderCounter at (160,0) size 16x17
                   text run at (160,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (176,0) size 4x17
               text run at (176,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (180,0) size 16x17
    +          RenderInline (generated) at (180,0) size 16x17
                 RenderCounter at (180,0) size 16x17
                   text run at (180,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (196,0) size 4x17
               text run at (196,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (200,0) size 16x17
    +          RenderInline (generated) at (200,0) size 16x17
                 RenderCounter at (200,0) size 16x17
                   text run at (200,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (216,0) size 4x17
               text run at (216,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (220,0) size 16x17
    +          RenderInline (generated) at (220,0) size 16x17
                 RenderCounter at (220,0) size 16x17
                   text run at (220,0) width 16: "\x{25E6}.\x{25E6}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-04-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-04-b-expected.txt
    index b801018de0b4..c89052185c70 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-04-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-04-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x95
           RenderBlock {P} at (0,0) size 784x18
             RenderText {#text} at (0,0) size 233x17
               text run at (0,0) width 233: "The following two lines should look "
    -        RenderInline {EM} at (0,0) size 91x17
    +        RenderInline {EM} at (233,0) size 91x17
               RenderText {#text} at (233,0) size 91x17
                 text run at (233,0) width 91: "approximately"
             RenderText {#text} at (323,0) size 64x17
    @@ -18,68 +18,68 @@ layer at (0,0) size 800x95
                   text run at (0,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (24,0) size 4x17
               text run at (24,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (28,0) size 24x17
    +          RenderInline (generated) at (28,0) size 24x17
                 RenderCounter at (28,0) size 24x17
                   text run at (28,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (52,0) size 4x17
               text run at (52,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (56,0) size 24x17
    +          RenderInline (generated) at (56,0) size 24x17
                 RenderCounter at (56,0) size 24x17
                   text run at (56,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (84,0) size 24x17
    +          RenderInline (generated) at (84,0) size 24x17
                 RenderCounter at (84,0) size 24x17
                   text run at (84,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (108,0) size 4x17
               text run at (108,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (112,0) size 24x17
    +          RenderInline (generated) at (112,0) size 24x17
                 RenderCounter at (112,0) size 24x17
                   text run at (112,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (140,0) size 24x17
    +          RenderInline (generated) at (140,0) size 24x17
                 RenderCounter at (140,0) size 24x17
                   text run at (140,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (164,0) size 4x17
               text run at (164,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (168,0) size 24x17
    +          RenderInline (generated) at (168,0) size 24x17
                 RenderCounter at (168,0) size 24x17
                   text run at (168,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (192,0) size 4x17
               text run at (192,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (196,0) size 24x17
    +          RenderInline (generated) at (196,0) size 24x17
                 RenderCounter at (196,0) size 24x17
                   text run at (196,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (220,0) size 4x17
               text run at (220,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (224,0) size 24x17
    +          RenderInline (generated) at (224,0) size 24x17
                 RenderCounter at (224,0) size 24x17
                   text run at (224,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (248,0) size 4x17
               text run at (248,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (252,0) size 24x17
    +          RenderInline (generated) at (252,0) size 24x17
                 RenderCounter at (252,0) size 24x17
                   text run at (252,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (276,0) size 4x17
               text run at (276,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (280,0) size 24x17
    +          RenderInline (generated) at (280,0) size 24x17
                 RenderCounter at (280,0) size 24x17
                   text run at (280,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (304,0) size 4x17
               text run at (304,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (308,0) size 24x17
    +          RenderInline (generated) at (308,0) size 24x17
                 RenderCounter at (308,0) size 24x17
                   text run at (308,0) width 24: "\x{25A0}.\x{25A0}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-05-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-05-b-expected.txt
    index fa48a30f4786..c80ea8310b33 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-05-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-05-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "1.1"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (24,0) size 20x17
    +          RenderInline (generated) at (24,0) size 20x17
                 RenderCounter at (24,0) size 20x17
                   text run at (24,0) width 20: "1.2"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (48,0) size 20x17
    +          RenderInline (generated) at (48,0) size 20x17
                 RenderCounter at (48,0) size 20x17
                   text run at (48,0) width 20: "1.3"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (72,0) size 20x17
    +          RenderInline (generated) at (72,0) size 20x17
                 RenderCounter at (72,0) size 20x17
                   text run at (72,0) width 20: "1.4"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (96,0) size 20x17
    +          RenderInline (generated) at (96,0) size 20x17
                 RenderCounter at (96,0) size 20x17
                   text run at (96,0) width 20: "1.5"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (120,0) size 20x17
    +          RenderInline (generated) at (120,0) size 20x17
                 RenderCounter at (120,0) size 20x17
                   text run at (120,0) width 20: "1.6"
             RenderText {#text} at (140,0) size 4x17
               text run at (140,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (144,0) size 20x17
    +          RenderInline (generated) at (144,0) size 20x17
                 RenderCounter at (144,0) size 20x17
                   text run at (144,0) width 20: "1.7"
             RenderText {#text} at (164,0) size 4x17
               text run at (164,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (168,0) size 20x17
    +          RenderInline (generated) at (168,0) size 20x17
                 RenderCounter at (168,0) size 20x17
                   text run at (168,0) width 20: "1.8"
             RenderText {#text} at (188,0) size 4x17
               text run at (188,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (192,0) size 20x17
    +          RenderInline (generated) at (192,0) size 20x17
                 RenderCounter at (192,0) size 20x17
                   text run at (192,0) width 20: "1.9"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (216,0) size 28x17
    +          RenderInline (generated) at (216,0) size 28x17
                 RenderCounter at (216,0) size 28x17
                   text run at (216,0) width 28: "1.10"
             RenderText {#text} at (244,0) size 4x17
               text run at (244,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (248,0) size 28x17
    +          RenderInline (generated) at (248,0) size 28x17
                 RenderCounter at (248,0) size 28x17
                   text run at (248,0) width 28: "1.11"
             RenderText {#text} at (275,0) size 5x17
               text run at (275,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 29x17
    -          RenderInline (generated) at (0,0) size 29x17
    +        RenderInline {SPAN} at (279,0) size 29x17
    +          RenderInline (generated) at (279,0) size 29x17
                 RenderCounter at (279,0) size 29x17
                   text run at (279,0) width 29: "1.12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-06-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-06-b-expected.txt
    index f07ce90fed40..7f14ece571e0 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-06-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-06-b-expected.txt
    @@ -13,86 +13,86 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 36: "01.01"
             RenderText {#text} at (36,0) size 4x17
               text run at (36,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (40,0) size 36x17
    +          RenderInline (generated) at (40,0) size 36x17
                 RenderCounter at (40,0) size 36x17
                   text run at (40,0) width 36: "01.02"
             RenderText {#text} at (76,0) size 4x17
               text run at (76,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (80,0) size 36x17
    +          RenderInline (generated) at (80,0) size 36x17
                 RenderCounter at (80,0) size 36x17
                   text run at (80,0) width 36: "01.03"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (120,0) size 36x17
    +          RenderInline (generated) at (120,0) size 36x17
                 RenderCounter at (120,0) size 36x17
                   text run at (120,0) width 36: "01.04"
             RenderText {#text} at (156,0) size 4x17
               text run at (156,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (160,0) size 36x17
    +          RenderInline (generated) at (160,0) size 36x17
                 RenderCounter at (160,0) size 36x17
                   text run at (160,0) width 36: "01.05"
             RenderText {#text} at (196,0) size 4x17
               text run at (196,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (200,0) size 36x17
    +          RenderInline (generated) at (200,0) size 36x17
                 RenderCounter at (200,0) size 36x17
                   text run at (200,0) width 36: "01.06"
             RenderText {#text} at (236,0) size 4x17
               text run at (236,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (240,0) size 36x17
    +          RenderInline (generated) at (240,0) size 36x17
                 RenderCounter at (240,0) size 36x17
                   text run at (240,0) width 36: "01.07"
             RenderText {#text} at (276,0) size 4x17
               text run at (276,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (280,0) size 36x17
    +          RenderInline (generated) at (280,0) size 36x17
                 RenderCounter at (280,0) size 36x17
                   text run at (280,0) width 36: "01.08"
             RenderText {#text} at (316,0) size 4x17
               text run at (316,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (320,0) size 36x17
    +          RenderInline (generated) at (320,0) size 36x17
                 RenderCounter at (320,0) size 36x17
                   text run at (320,0) width 36: "01.09"
             RenderText {#text} at (356,0) size 4x17
               text run at (356,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (360,0) size 36x17
    +          RenderInline (generated) at (360,0) size 36x17
                 RenderCounter at (360,0) size 36x17
                   text run at (360,0) width 36: "01.10"
             RenderText {#text} at (396,0) size 4x17
               text run at (396,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (400,0) size 36x17
    +          RenderInline (generated) at (400,0) size 36x17
                 RenderCounter at (400,0) size 36x17
                   text run at (400,0) width 36: "01.11"
             RenderText {#text} at (435,0) size 5x17
               text run at (435,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 37x17
    -          RenderInline (generated) at (0,0) size 37x17
    +        RenderInline {SPAN} at (439,0) size 37x17
    +          RenderInline (generated) at (439,0) size 37x17
                 RenderCounter at (439,0) size 37x17
                   text run at (439,0) width 37: "01.12"
             RenderText {#text} at (475,0) size 5x17
               text run at (475,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 37x17
    -          RenderInline (generated) at (0,0) size 37x17
    +        RenderInline {SPAN} at (479,0) size 37x17
    +          RenderInline (generated) at (479,0) size 37x17
                 RenderCounter at (479,0) size 37x17
                   text run at (479,0) width 37: "01.99"
             RenderText {#text} at (515,0) size 5x17
               text run at (515,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 45x17
    -          RenderInline (generated) at (0,0) size 45x17
    +        RenderInline {SPAN} at (519,0) size 45x17
    +          RenderInline (generated) at (519,0) size 45x17
                 RenderCounter at (519,0) size 45x17
                   text run at (519,0) width 45: "01.100"
             RenderText {#text} at (563,0) size 5x17
               text run at (563,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 45x17
    -          RenderInline (generated) at (0,0) size 45x17
    +        RenderInline {SPAN} at (567,0) size 45x17
    +          RenderInline (generated) at (567,0) size 45x17
                 RenderCounter at (567,0) size 45x17
                   text run at (567,0) width 45: "01.101"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-07-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-07-b-expected.txt
    index c2ecd9b22302..f25d4197a70c 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-07-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-07-b-expected.txt
    @@ -13,110 +13,110 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 12: "i.i"
             RenderText {#text} at (12,0) size 4x17
               text run at (12,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (16,0) size 16x17
    +          RenderInline (generated) at (16,0) size 16x17
                 RenderCounter at (16,0) size 16x17
                   text run at (16,0) width 16: "i.ii"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (36,0) size 20x17
    +          RenderInline (generated) at (36,0) size 20x17
                 RenderCounter at (36,0) size 20x17
                   text run at (36,0) width 20: "i.iii"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (60,0) size 20x17
    +          RenderInline (generated) at (60,0) size 20x17
                 RenderCounter at (60,0) size 20x17
                   text run at (60,0) width 20: "i.iv"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (84,0) size 16x17
    +          RenderInline (generated) at (84,0) size 16x17
                 RenderCounter at (84,0) size 16x17
                   text run at (84,0) width 16: "i.v"
             RenderText {#text} at (100,0) size 4x17
               text run at (100,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (104,0) size 20x17
    +          RenderInline (generated) at (104,0) size 20x17
                 RenderCounter at (104,0) size 20x17
                   text run at (104,0) width 20: "i.vi"
             RenderText {#text} at (124,0) size 4x17
               text run at (124,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (128,0) size 24x17
    +          RenderInline (generated) at (128,0) size 24x17
                 RenderCounter at (128,0) size 24x17
                   text run at (128,0) width 24: "i.vii"
             RenderText {#text} at (152,0) size 4x17
               text run at (152,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (156,0) size 28x17
    +          RenderInline (generated) at (156,0) size 28x17
                 RenderCounter at (156,0) size 28x17
                   text run at (156,0) width 28: "i.viii"
             RenderText {#text} at (184,0) size 4x17
               text run at (184,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (188,0) size 20x17
    +          RenderInline (generated) at (188,0) size 20x17
                 RenderCounter at (188,0) size 20x17
                   text run at (188,0) width 20: "i.ix"
             RenderText {#text} at (208,0) size 4x17
               text run at (208,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (212,0) size 16x17
    +          RenderInline (generated) at (212,0) size 16x17
                 RenderCounter at (212,0) size 16x17
                   text run at (212,0) width 16: "i.x"
             RenderText {#text} at (228,0) size 4x17
               text run at (228,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (232,0) size 20x17
    +          RenderInline (generated) at (232,0) size 20x17
                 RenderCounter at (232,0) size 20x17
                   text run at (232,0) width 20: "i.xi"
             RenderText {#text} at (252,0) size 4x17
               text run at (252,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (256,0) size 24x17
    +          RenderInline (generated) at (256,0) size 24x17
                 RenderCounter at (256,0) size 24x17
                   text run at (256,0) width 24: "i.xii"
             RenderText {#text} at (280,0) size 4x17
               text run at (280,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 32x17
    -          RenderInline (generated) at (0,0) size 32x17
    +        RenderInline {SPAN} at (284,0) size 32x17
    +          RenderInline (generated) at (284,0) size 32x17
                 RenderCounter at (284,0) size 32x17
                   text run at (284,0) width 32: "i.xlix"
             RenderText {#text} at (316,0) size 4x17
               text run at (316,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (320,0) size 12x17
    +          RenderInline (generated) at (320,0) size 12x17
                 RenderCounter at (320,0) size 12x17
                   text run at (320,0) width 12: "i.l"
             RenderText {#text} at (332,0) size 4x17
               text run at (332,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 69x17
    -          RenderInline (generated) at (0,0) size 69x17
    +        RenderInline {SPAN} at (336,0) size 69x17
    +          RenderInline (generated) at (336,0) size 69x17
                 RenderCounter at (336,0) size 69x17
                   text run at (336,0) width 69: "i.ccclxxxix"
             RenderText {#text} at (405,0) size 4x17
               text run at (405,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 44x17
    -          RenderInline (generated) at (0,0) size 44x17
    +        RenderInline {SPAN} at (409,0) size 44x17
    +          RenderInline (generated) at (409,0) size 44x17
                 RenderCounter at (409,0) size 44x17
                   text run at (409,0) width 44: "i.cccxc"
             RenderText {#text} at (453,0) size 4x17
               text run at (453,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 99x17
    -          RenderInline (generated) at (0,0) size 99x17
    +        RenderInline {SPAN} at (457,0) size 99x17
    +          RenderInline (generated) at (457,0) size 99x17
                 RenderCounter at (457,0) size 99x17
                   text run at (457,0) width 99: "i.mmmcdlxxxix"
             RenderText {#text} at (556,0) size 4x17
               text run at (556,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 74x17
    -          RenderInline (generated) at (0,0) size 74x17
    +        RenderInline {SPAN} at (560,0) size 74x17
    +          RenderInline (generated) at (560,0) size 74x17
                 RenderCounter at (560,0) size 74x17
                   text run at (560,0) width 74: "i.mmmcdxc"
             RenderText {#text} at (634,0) size 4x17
               text run at (634,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 78x17
    -          RenderInline (generated) at (0,0) size 78x17
    +        RenderInline {SPAN} at (638,0) size 78x17
    +          RenderInline (generated) at (638,0) size 78x17
                 RenderCounter at (638,0) size 78x17
                   text run at (638,0) width 78: "i.mmmcdxci"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-08-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-08-b-expected.txt
    index a8d7ebf59655..967a4809d05f 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-08-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-08-b-expected.txt
    @@ -13,110 +13,110 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 14: "I.I"
             RenderText {#text} at (14,0) size 4x17
               text run at (14,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (18,0) size 19x17
    +          RenderInline (generated) at (18,0) size 19x17
                 RenderCounter at (18,0) size 19x17
                   text run at (18,0) width 19: "I.II"
             RenderText {#text} at (37,0) size 4x17
               text run at (37,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 24x17
    -          RenderInline (generated) at (0,0) size 24x17
    +        RenderInline {SPAN} at (41,0) size 24x17
    +          RenderInline (generated) at (41,0) size 24x17
                 RenderCounter at (41,0) size 24x17
                   text run at (41,0) width 24: "I.III"
             RenderText {#text} at (65,0) size 4x17
               text run at (65,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (69,0) size 26x17
    +          RenderInline (generated) at (69,0) size 26x17
                 RenderCounter at (69,0) size 26x17
                   text run at (69,0) width 26: "I.IV"
             RenderText {#text} at (95,0) size 4x17
               text run at (95,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 21x17
    -          RenderInline (generated) at (0,0) size 21x17
    +        RenderInline {SPAN} at (99,0) size 21x17
    +          RenderInline (generated) at (99,0) size 21x17
                 RenderCounter at (99,0) size 21x17
                   text run at (99,0) width 21: "I.V"
             RenderText {#text} at (120,0) size 4x17
               text run at (120,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (124,0) size 26x17
    +          RenderInline (generated) at (124,0) size 26x17
                 RenderCounter at (124,0) size 26x17
                   text run at (124,0) width 26: "I.VI"
             RenderText {#text} at (150,0) size 4x17
               text run at (150,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 31x17
    -          RenderInline (generated) at (0,0) size 31x17
    +        RenderInline {SPAN} at (154,0) size 31x17
    +          RenderInline (generated) at (154,0) size 31x17
                 RenderCounter at (154,0) size 31x17
                   text run at (154,0) width 31: "I.VII"
             RenderText {#text} at (185,0) size 4x17
               text run at (185,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 36x17
    -          RenderInline (generated) at (0,0) size 36x17
    +        RenderInline {SPAN} at (189,0) size 36x17
    +          RenderInline (generated) at (189,0) size 36x17
                 RenderCounter at (189,0) size 36x17
                   text run at (189,0) width 36: "I.VIII"
             RenderText {#text} at (225,0) size 4x17
               text run at (225,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (229,0) size 26x17
    +          RenderInline (generated) at (229,0) size 26x17
                 RenderCounter at (229,0) size 26x17
                   text run at (229,0) width 26: "I.IX"
             RenderText {#text} at (255,0) size 4x17
               text run at (255,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 21x17
    -          RenderInline (generated) at (0,0) size 21x17
    +        RenderInline {SPAN} at (259,0) size 21x17
    +          RenderInline (generated) at (259,0) size 21x17
                 RenderCounter at (259,0) size 21x17
                   text run at (259,0) width 21: "I.X"
             RenderText {#text} at (280,0) size 4x17
               text run at (280,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (284,0) size 26x17
    +          RenderInline (generated) at (284,0) size 26x17
                 RenderCounter at (284,0) size 26x17
                   text run at (284,0) width 26: "I.XI"
             RenderText {#text} at (310,0) size 4x17
               text run at (310,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 31x17
    -          RenderInline (generated) at (0,0) size 31x17
    +        RenderInline {SPAN} at (314,0) size 31x17
    +          RenderInline (generated) at (314,0) size 31x17
                 RenderCounter at (314,0) size 31x17
                   text run at (314,0) width 31: "I.XII"
             RenderText {#text} at (345,0) size 4x17
               text run at (345,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 48x17
    -          RenderInline (generated) at (0,0) size 48x17
    +        RenderInline {SPAN} at (349,0) size 48x17
    +          RenderInline (generated) at (349,0) size 48x17
                 RenderCounter at (349,0) size 48x17
                   text run at (349,0) width 48: "I.XLIX"
             RenderText {#text} at (397,0) size 4x17
               text run at (397,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (401,0) size 19x17
    +          RenderInline (generated) at (401,0) size 19x17
                 RenderCounter at (401,0) size 19x17
                   text run at (401,0) width 19: "I.L"
             RenderText {#text} at (420,0) size 4x17
               text run at (420,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 105x17
    -          RenderInline (generated) at (0,0) size 105x17
    +        RenderInline {SPAN} at (424,0) size 105x17
    +          RenderInline (generated) at (424,0) size 105x17
                 RenderCounter at (424,0) size 105x17
                   text run at (424,0) width 105: "I.CCCLXXXIX"
             RenderText {#text} at (529,0) size 4x17
               text run at (529,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 65x17
    -          RenderInline (generated) at (0,0) size 65x17
    +        RenderInline {SPAN} at (533,0) size 65x17
    +          RenderInline (generated) at (533,0) size 65x17
                 RenderCounter at (533,0) size 65x17
                   text run at (533,0) width 65: "I.CCCXC"
             RenderText {#text} at (598,0) size 4x17
               text run at (598,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 137x17
    -          RenderInline (generated) at (0,0) size 137x17
    +        RenderInline {SPAN} at (602,0) size 137x17
    +          RenderInline (generated) at (602,0) size 137x17
                 RenderCounter at (602,0) size 137x17
                   text run at (602,0) width 137: "I.MMMCDLXXXIX"
             RenderText {#text} at (739,0) size 4x17
               text run at (739,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 97x17
    -          RenderInline (generated) at (0,0) size 97x17
    +        RenderInline {SPAN} at (743,0) size 97x17
    +          RenderInline (generated) at (743,0) size 97x17
                 RenderCounter at (743,0) size 97x17
                   text run at (743,0) width 97: "I.MMMCDXC"
             RenderText {#text} at (840,0) size 4x17
               text run at (840,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 102x17
    -          RenderInline (generated) at (0,0) size 102x17
    +        RenderInline {SPAN} at (844,0) size 102x17
    +          RenderInline (generated) at (844,0) size 102x17
                 RenderCounter at (844,0) size 102x17
                   text run at (844,0) width 102: "I.MMMCDXCI"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-11-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-11-b-expected.txt
    index d31b44652a75..f295754f5ee0 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-11-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-11-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 18: "a.a"
             RenderText {#text} at (18,0) size 4x17
               text run at (18,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (22,0) size 19x17
    +          RenderInline (generated) at (22,0) size 19x17
                 RenderCounter at (22,0) size 19x17
                   text run at (22,0) width 19: "a.b"
             RenderText {#text} at (41,0) size 4x17
               text run at (41,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 18x17
    -          RenderInline (generated) at (0,0) size 18x17
    +        RenderInline {SPAN} at (45,0) size 18x17
    +          RenderInline (generated) at (45,0) size 18x17
                 RenderCounter at (45,0) size 18x17
                   text run at (45,0) width 18: "a.c"
             RenderText {#text} at (63,0) size 4x17
               text run at (63,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (67,0) size 19x17
    +          RenderInline (generated) at (67,0) size 19x17
                 RenderCounter at (67,0) size 19x17
                   text run at (67,0) width 19: "a.d"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 18x17
    -          RenderInline (generated) at (0,0) size 18x17
    +        RenderInline {SPAN} at (90,0) size 18x17
    +          RenderInline (generated) at (90,0) size 18x17
                 RenderCounter at (90,0) size 18x17
                   text run at (90,0) width 18: "a.e"
             RenderText {#text} at (108,0) size 4x17
               text run at (108,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (112,0) size 16x17
    +          RenderInline (generated) at (112,0) size 16x17
                 RenderCounter at (112,0) size 16x17
                   text run at (112,0) width 16: "a.f"
             RenderText {#text} at (128,0) size 4x17
               text run at (128,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (132,0) size 19x17
    +          RenderInline (generated) at (132,0) size 19x17
                 RenderCounter at (132,0) size 19x17
                   text run at (132,0) width 19: "a.g"
             RenderText {#text} at (151,0) size 4x17
               text run at (151,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (155,0) size 19x17
    +          RenderInline (generated) at (155,0) size 19x17
                 RenderCounter at (155,0) size 19x17
                   text run at (155,0) width 19: "a.h"
             RenderText {#text} at (174,0) size 4x17
               text run at (174,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (178,0) size 15x17
    +          RenderInline (generated) at (178,0) size 15x17
                 RenderCounter at (178,0) size 15x17
                   text run at (178,0) width 15: "a.i"
             RenderText {#text} at (193,0) size 4x17
               text run at (193,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (197,0) size 15x17
    +          RenderInline (generated) at (197,0) size 15x17
                 RenderCounter at (197,0) size 15x17
                   text run at (197,0) width 15: "a.j"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (216,0) size 19x17
    +          RenderInline (generated) at (216,0) size 19x17
                 RenderCounter at (216,0) size 19x17
                   text run at (216,0) width 19: "a.k"
             RenderText {#text} at (235,0) size 4x17
               text run at (235,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (239,0) size 15x17
    +          RenderInline (generated) at (239,0) size 15x17
                 RenderCounter at (239,0) size 15x17
                   text run at (239,0) width 15: "a.l"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-12-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-12-b-expected.txt
    index d31b44652a75..f295754f5ee0 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-12-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-12-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 18: "a.a"
             RenderText {#text} at (18,0) size 4x17
               text run at (18,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (22,0) size 19x17
    +          RenderInline (generated) at (22,0) size 19x17
                 RenderCounter at (22,0) size 19x17
                   text run at (22,0) width 19: "a.b"
             RenderText {#text} at (41,0) size 4x17
               text run at (41,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 18x17
    -          RenderInline (generated) at (0,0) size 18x17
    +        RenderInline {SPAN} at (45,0) size 18x17
    +          RenderInline (generated) at (45,0) size 18x17
                 RenderCounter at (45,0) size 18x17
                   text run at (45,0) width 18: "a.c"
             RenderText {#text} at (63,0) size 4x17
               text run at (63,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (67,0) size 19x17
    +          RenderInline (generated) at (67,0) size 19x17
                 RenderCounter at (67,0) size 19x17
                   text run at (67,0) width 19: "a.d"
             RenderText {#text} at (86,0) size 4x17
               text run at (86,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 18x17
    -          RenderInline (generated) at (0,0) size 18x17
    +        RenderInline {SPAN} at (90,0) size 18x17
    +          RenderInline (generated) at (90,0) size 18x17
                 RenderCounter at (90,0) size 18x17
                   text run at (90,0) width 18: "a.e"
             RenderText {#text} at (108,0) size 4x17
               text run at (108,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (112,0) size 16x17
    +          RenderInline (generated) at (112,0) size 16x17
                 RenderCounter at (112,0) size 16x17
                   text run at (112,0) width 16: "a.f"
             RenderText {#text} at (128,0) size 4x17
               text run at (128,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (132,0) size 19x17
    +          RenderInline (generated) at (132,0) size 19x17
                 RenderCounter at (132,0) size 19x17
                   text run at (132,0) width 19: "a.g"
             RenderText {#text} at (151,0) size 4x17
               text run at (151,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (155,0) size 19x17
    +          RenderInline (generated) at (155,0) size 19x17
                 RenderCounter at (155,0) size 19x17
                   text run at (155,0) width 19: "a.h"
             RenderText {#text} at (174,0) size 4x17
               text run at (174,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (178,0) size 15x17
    +          RenderInline (generated) at (178,0) size 15x17
                 RenderCounter at (178,0) size 15x17
                   text run at (178,0) width 15: "a.i"
             RenderText {#text} at (193,0) size 4x17
               text run at (193,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (197,0) size 15x17
    +          RenderInline (generated) at (197,0) size 15x17
                 RenderCounter at (197,0) size 15x17
                   text run at (197,0) width 15: "a.j"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (216,0) size 19x17
    +          RenderInline (generated) at (216,0) size 19x17
                 RenderCounter at (216,0) size 19x17
                   text run at (216,0) width 19: "a.k"
             RenderText {#text} at (235,0) size 4x17
               text run at (235,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 15x17
    -          RenderInline (generated) at (0,0) size 15x17
    +        RenderInline {SPAN} at (239,0) size 15x17
    +          RenderInline (generated) at (239,0) size 15x17
                 RenderCounter at (239,0) size 15x17
                   text run at (239,0) width 15: "a.l"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-13-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-13-b-expected.txt
    index 8a892beb7cd2..84aa8b829904 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-13-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-13-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 28: "A.A"
             RenderText {#text} at (28,0) size 4x17
               text run at (28,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 27x17
    -          RenderInline (generated) at (0,0) size 27x17
    +        RenderInline {SPAN} at (32,0) size 27x17
    +          RenderInline (generated) at (32,0) size 27x17
                 RenderCounter at (32,0) size 27x17
                   text run at (32,0) width 27: "A.B"
             RenderText {#text} at (59,0) size 4x17
               text run at (59,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 27x17
    -          RenderInline (generated) at (0,0) size 27x17
    +        RenderInline {SPAN} at (63,0) size 27x17
    +          RenderInline (generated) at (63,0) size 27x17
                 RenderCounter at (63,0) size 27x17
                   text run at (63,0) width 27: "A.C"
             RenderText {#text} at (90,0) size 4x17
               text run at (90,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (94,0) size 28x17
    +          RenderInline (generated) at (94,0) size 28x17
                 RenderCounter at (94,0) size 28x17
                   text run at (94,0) width 28: "A.D"
             RenderText {#text} at (122,0) size 4x17
               text run at (122,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (126,0) size 26x17
    +          RenderInline (generated) at (126,0) size 26x17
                 RenderCounter at (126,0) size 26x17
                   text run at (126,0) width 26: "A.E"
             RenderText {#text} at (152,0) size 4x17
               text run at (152,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 25x17
    -          RenderInline (generated) at (0,0) size 25x17
    +        RenderInline {SPAN} at (156,0) size 25x17
    +          RenderInline (generated) at (156,0) size 25x17
                 RenderCounter at (156,0) size 25x17
                   text run at (156,0) width 25: "A.F"
             RenderText {#text} at (181,0) size 4x17
               text run at (181,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (185,0) size 28x17
    +          RenderInline (generated) at (185,0) size 28x17
                 RenderCounter at (185,0) size 28x17
                   text run at (185,0) width 28: "A.G"
             RenderText {#text} at (213,0) size 4x17
               text run at (213,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (217,0) size 28x17
    +          RenderInline (generated) at (217,0) size 28x17
                 RenderCounter at (217,0) size 28x17
                   text run at (217,0) width 28: "A.H"
             RenderText {#text} at (245,0) size 4x17
               text run at (245,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 21x17
    -          RenderInline (generated) at (0,0) size 21x17
    +        RenderInline {SPAN} at (249,0) size 21x17
    +          RenderInline (generated) at (249,0) size 21x17
                 RenderCounter at (249,0) size 21x17
                   text run at (249,0) width 21: "A.I"
             RenderText {#text} at (270,0) size 4x17
               text run at (270,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 22x17
    -          RenderInline (generated) at (0,0) size 22x17
    +        RenderInline {SPAN} at (274,0) size 22x17
    +          RenderInline (generated) at (274,0) size 22x17
                 RenderCounter at (274,0) size 22x17
                   text run at (274,0) width 22: "A.J"
             RenderText {#text} at (296,0) size 4x17
               text run at (296,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (300,0) size 28x17
    +          RenderInline (generated) at (300,0) size 28x17
                 RenderCounter at (300,0) size 28x17
                   text run at (300,0) width 28: "A.K"
             RenderText {#text} at (328,0) size 4x17
               text run at (328,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (332,0) size 26x17
    +          RenderInline (generated) at (332,0) size 26x17
                 RenderCounter at (332,0) size 26x17
                   text run at (332,0) width 26: "A.L"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-14-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-14-b-expected.txt
    index 8a892beb7cd2..84aa8b829904 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-14-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-14-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 28: "A.A"
             RenderText {#text} at (28,0) size 4x17
               text run at (28,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 27x17
    -          RenderInline (generated) at (0,0) size 27x17
    +        RenderInline {SPAN} at (32,0) size 27x17
    +          RenderInline (generated) at (32,0) size 27x17
                 RenderCounter at (32,0) size 27x17
                   text run at (32,0) width 27: "A.B"
             RenderText {#text} at (59,0) size 4x17
               text run at (59,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 27x17
    -          RenderInline (generated) at (0,0) size 27x17
    +        RenderInline {SPAN} at (63,0) size 27x17
    +          RenderInline (generated) at (63,0) size 27x17
                 RenderCounter at (63,0) size 27x17
                   text run at (63,0) width 27: "A.C"
             RenderText {#text} at (90,0) size 4x17
               text run at (90,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (94,0) size 28x17
    +          RenderInline (generated) at (94,0) size 28x17
                 RenderCounter at (94,0) size 28x17
                   text run at (94,0) width 28: "A.D"
             RenderText {#text} at (122,0) size 4x17
               text run at (122,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (126,0) size 26x17
    +          RenderInline (generated) at (126,0) size 26x17
                 RenderCounter at (126,0) size 26x17
                   text run at (126,0) width 26: "A.E"
             RenderText {#text} at (152,0) size 4x17
               text run at (152,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 25x17
    -          RenderInline (generated) at (0,0) size 25x17
    +        RenderInline {SPAN} at (156,0) size 25x17
    +          RenderInline (generated) at (156,0) size 25x17
                 RenderCounter at (156,0) size 25x17
                   text run at (156,0) width 25: "A.F"
             RenderText {#text} at (181,0) size 4x17
               text run at (181,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (185,0) size 28x17
    +          RenderInline (generated) at (185,0) size 28x17
                 RenderCounter at (185,0) size 28x17
                   text run at (185,0) width 28: "A.G"
             RenderText {#text} at (213,0) size 4x17
               text run at (213,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (217,0) size 28x17
    +          RenderInline (generated) at (217,0) size 28x17
                 RenderCounter at (217,0) size 28x17
                   text run at (217,0) width 28: "A.H"
             RenderText {#text} at (245,0) size 4x17
               text run at (245,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 21x17
    -          RenderInline (generated) at (0,0) size 21x17
    +        RenderInline {SPAN} at (249,0) size 21x17
    +          RenderInline (generated) at (249,0) size 21x17
                 RenderCounter at (249,0) size 21x17
                   text run at (249,0) width 21: "A.I"
             RenderText {#text} at (270,0) size 4x17
               text run at (270,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 22x17
    -          RenderInline (generated) at (0,0) size 22x17
    +        RenderInline {SPAN} at (274,0) size 22x17
    +          RenderInline (generated) at (274,0) size 22x17
                 RenderCounter at (274,0) size 22x17
                   text run at (274,0) width 22: "A.J"
             RenderText {#text} at (296,0) size 4x17
               text run at (296,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (300,0) size 28x17
    +          RenderInline (generated) at (300,0) size 28x17
                 RenderCounter at (300,0) size 28x17
                   text run at (300,0) width 28: "A.K"
             RenderText {#text} at (328,0) size 4x17
               text run at (328,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 26x17
    -          RenderInline (generated) at (0,0) size 26x17
    +        RenderInline {SPAN} at (332,0) size 26x17
    +          RenderInline (generated) at (332,0) size 26x17
                 RenderCounter at (332,0) size 26x17
                   text run at (332,0) width 26: "A.L"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-15-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-15-b-expected.txt
    index bc4636f49575..251ff74fe10e 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-15-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-15-b-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "\x{3B1}.\x{3B1}"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (24,0) size 20x17
    +          RenderInline (generated) at (24,0) size 20x17
                 RenderCounter at (24,0) size 20x17
                   text run at (24,0) width 20: "\x{3B1}.\x{3B2}"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (48,0) size 19x17
    +          RenderInline (generated) at (48,0) size 19x17
                 RenderCounter at (48,0) size 19x17
                   text run at (48,0) width 19: "\x{3B1}.\x{3B3}"
             RenderText {#text} at (67,0) size 4x17
               text run at (67,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (71,0) size 20x17
    +          RenderInline (generated) at (71,0) size 20x17
                 RenderCounter at (71,0) size 20x17
                   text run at (71,0) width 20: "\x{3B1}.\x{3B4}"
             RenderText {#text} at (91,0) size 4x17
               text run at (91,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (95,0) size 19x17
    +          RenderInline (generated) at (95,0) size 19x17
                 RenderCounter at (95,0) size 19x17
                   text run at (95,0) width 19: "\x{3B1}.\x{3B5}"
             RenderText {#text} at (114,0) size 4x17
               text run at (114,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 19x17
    -          RenderInline (generated) at (0,0) size 19x17
    +        RenderInline {SPAN} at (118,0) size 19x17
    +          RenderInline (generated) at (118,0) size 19x17
                 RenderCounter at (118,0) size 19x17
                   text run at (118,0) width 19: "\x{3B1}.\x{3B6}"
             RenderText {#text} at (137,0) size 4x17
               text run at (137,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (141,0) size 20x17
    +          RenderInline (generated) at (141,0) size 20x17
                 RenderCounter at (141,0) size 20x17
                   text run at (141,0) width 20: "\x{3B1}.\x{3B7}"
             RenderText {#text} at (161,0) size 4x17
               text run at (161,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (165,0) size 20x17
    +          RenderInline (generated) at (165,0) size 20x17
                 RenderCounter at (165,0) size 20x17
                   text run at (165,0) width 20: "\x{3B1}.\x{3B8}"
             RenderText {#text} at (185,0) size 4x17
               text run at (185,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (189,0) size 16x17
    +          RenderInline (generated) at (189,0) size 16x17
                 RenderCounter at (189,0) size 16x17
                   text run at (189,0) width 16: "\x{3B1}.\x{3B9}"
             RenderText {#text} at (205,0) size 4x17
               text run at (205,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (209,0) size 20x17
    +          RenderInline (generated) at (209,0) size 20x17
                 RenderCounter at (209,0) size 20x17
                   text run at (209,0) width 20: "\x{3B1}.\x{3BA}"
             RenderText {#text} at (229,0) size 4x17
               text run at (229,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (233,0) size 20x17
    +          RenderInline (generated) at (233,0) size 20x17
                 RenderCounter at (233,0) size 20x17
                   text run at (233,0) width 20: "\x{3B1}.\x{3BB}"
             RenderText {#text} at (253,0) size 4x17
               text run at (253,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 21x17
    -          RenderInline (generated) at (0,0) size 21x17
    +        RenderInline {SPAN} at (257,0) size 21x17
    +          RenderInline (generated) at (257,0) size 21x17
                 RenderCounter at (257,0) size 21x17
                   text run at (257,0) width 21: "\x{3B1}.\x{3BC}"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-16-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-16-c-expected.txt
    index 930a1b709393..a32f7dff473b 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-16-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-16-c-expected.txt
    @@ -13,14 +13,14 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "1.1"
                 RenderText at (20,0) size 13x17
                   text run at (20,0) width 13: " - "
    -        RenderInline {SPAN} at (0,0) size 29x17
    -          RenderInline (generated) at (0,0) size 29x17
    +        RenderInline {SPAN} at (33,0) size 29x17
    +          RenderInline (generated) at (33,0) size 29x17
                 RenderCounter at (33,0) size 16x17
                   text run at (33,0) width 16: "12"
                 RenderText at (49,0) size 13x17
                   text run at (49,0) width 13: " - "
    -        RenderInline {SPAN} at (0,0) size 95x17
    -          RenderInline (generated) at (0,0) size 95x17
    +        RenderInline {SPAN} at (62,0) size 95x17
    +          RenderInline (generated) at (62,0) size 95x17
                 RenderCounter at (62,0) size 20x17
                   text run at (62,0) width 20: "1.3"
                 RenderText at (82,0) size 24x17
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-17-d-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-17-d-expected.txt
    index 49b23926711d..2fdcbdc77c61 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-17-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-17-d-expected.txt
    @@ -13,14 +13,14 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "1.1"
                 RenderText at (20,0) size 13x17
                   text run at (20,0) width 13: " - "
    -        RenderInline {SPAN} at (0,0) size 29x17
    -          RenderInline (generated) at (0,0) size 29x17
    +        RenderInline {SPAN} at (33,0) size 29x17
    +          RenderInline (generated) at (33,0) size 29x17
                 RenderCounter at (33,0) size 16x17
                   text run at (33,0) width 16: "12"
                 RenderText at (49,0) size 13x17
                   text run at (49,0) width 13: " - "
    -        RenderInline {SPAN} at (0,0) size 119x17
    -          RenderInline (generated) at (0,0) size 119x17
    +        RenderInline {SPAN} at (62,0) size 119x17
    +          RenderInline (generated) at (62,0) size 119x17
                 RenderCounter at (62,0) size 20x17
                   text run at (62,0) width 20: "1.3"
                 RenderText at (82,0) size 48x17
    diff --git a/LayoutTests/platform/glib/css2.1/t1202-counters-18-f-expected.txt b/LayoutTests/platform/glib/css2.1/t1202-counters-18-f-expected.txt
    index fa48a30f4786..c80ea8310b33 100644
    --- a/LayoutTests/platform/glib/css2.1/t1202-counters-18-f-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1202-counters-18-f-expected.txt
    @@ -13,68 +13,68 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 20: "1.1"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (24,0) size 20x17
    +          RenderInline (generated) at (24,0) size 20x17
                 RenderCounter at (24,0) size 20x17
                   text run at (24,0) width 20: "1.2"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (48,0) size 20x17
    +          RenderInline (generated) at (48,0) size 20x17
                 RenderCounter at (48,0) size 20x17
                   text run at (48,0) width 20: "1.3"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (72,0) size 20x17
    +          RenderInline (generated) at (72,0) size 20x17
                 RenderCounter at (72,0) size 20x17
                   text run at (72,0) width 20: "1.4"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (96,0) size 20x17
    +          RenderInline (generated) at (96,0) size 20x17
                 RenderCounter at (96,0) size 20x17
                   text run at (96,0) width 20: "1.5"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (120,0) size 20x17
    +          RenderInline (generated) at (120,0) size 20x17
                 RenderCounter at (120,0) size 20x17
                   text run at (120,0) width 20: "1.6"
             RenderText {#text} at (140,0) size 4x17
               text run at (140,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (144,0) size 20x17
    +          RenderInline (generated) at (144,0) size 20x17
                 RenderCounter at (144,0) size 20x17
                   text run at (144,0) width 20: "1.7"
             RenderText {#text} at (164,0) size 4x17
               text run at (164,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (168,0) size 20x17
    +          RenderInline (generated) at (168,0) size 20x17
                 RenderCounter at (168,0) size 20x17
                   text run at (168,0) width 20: "1.8"
             RenderText {#text} at (188,0) size 4x17
               text run at (188,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 20x17
    -          RenderInline (generated) at (0,0) size 20x17
    +        RenderInline {SPAN} at (192,0) size 20x17
    +          RenderInline (generated) at (192,0) size 20x17
                 RenderCounter at (192,0) size 20x17
                   text run at (192,0) width 20: "1.9"
             RenderText {#text} at (212,0) size 4x17
               text run at (212,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (216,0) size 28x17
    +          RenderInline (generated) at (216,0) size 28x17
                 RenderCounter at (216,0) size 28x17
                   text run at (216,0) width 28: "1.10"
             RenderText {#text} at (244,0) size 4x17
               text run at (244,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 28x17
    -          RenderInline (generated) at (0,0) size 28x17
    +        RenderInline {SPAN} at (248,0) size 28x17
    +          RenderInline (generated) at (248,0) size 28x17
                 RenderCounter at (248,0) size 28x17
                   text run at (248,0) width 28: "1.11"
             RenderText {#text} at (275,0) size 5x17
               text run at (275,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 29x17
    -          RenderInline (generated) at (0,0) size 29x17
    +        RenderInline {SPAN} at (279,0) size 29x17
    +          RenderInline (generated) at (279,0) size 29x17
                 RenderCounter at (279,0) size 29x17
                   text run at (279,0) width 29: "1.12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-implied-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-implied-00-b-expected.txt
    index 8b7d875e67e3..81396fee0f9c 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-implied-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-implied-00-b-expected.txt
    @@ -11,8 +11,8 @@ layer at (0,0) size 800x94
               RenderInline (generated) at (0,0) size 8x17
                 RenderCounter at (0,0) size 8x17
                   text run at (0,0) width 8: "0"
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (8,0) size 8x17
    +          RenderInline (generated) at (8,0) size 8x17
                 RenderCounter at (8,0) size 8x17
                   text run at (8,0) width 8: "0"
           RenderBlock {DIV} at (0,52) size 784x18
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-implied-01-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-implied-01-c-expected.txt
    index 7cbeed1fd89b..a4f693a44f44 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-implied-01-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-implied-01-c-expected.txt
    @@ -13,9 +13,9 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "0"
                 RenderText at (8,0) size 4x17
                   text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline {SPAN} at (12,0) size 8x17
    +            RenderInline (generated) at (12,0) size 8x17
                   RenderCounter at (12,0) size 8x17
                     text run at (12,0) width 8: "1"
                   RenderText at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-implied-02-d-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-implied-02-d-expected.txt
    index dcccc2e5641a..2fe718f56381 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-implied-02-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-implied-02-d-expected.txt
    @@ -11,29 +11,29 @@ layer at (0,0) size 800x94
               RenderInline (generated) at (0,0) size 11x17
                 RenderText at (0,0) size 11x17
                   text run at (0,0) width 11: "B"
    -          RenderInline {SPAN} at (0,0) size 12x17
    -            RenderInline (generated) at (0,0) size 12x17
    +          RenderInline {SPAN} at (11,0) size 12x17
    +            RenderInline (generated) at (11,0) size 12x17
                   RenderCounter at (11,0) size 8x17
                     text run at (11,0) width 8: "1"
                   RenderText at (19,0) size 4x17
                     text run at (19,0) width 4: " "
    -          RenderInline {SPAN} at (0,0) size 12x17
    -            RenderInline {SPAN} at (0,0) size 12x17
    -              RenderInline (generated) at (0,0) size 12x17
    +          RenderInline {SPAN} at (23,0) size 12x17
    +            RenderInline {SPAN} at (23,0) size 12x17
    +              RenderInline (generated) at (23,0) size 12x17
                     RenderCounter at (23,0) size 8x17
                       text run at (23,0) width 8: "0"
                     RenderText at (31,0) size 4x17
                       text run at (31,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 32x17
    -          RenderInline {SPAN} at (0,0) size 12x17
    -            RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (35,0) size 32x17
    +          RenderInline {SPAN} at (35,0) size 12x17
    +            RenderInline (generated) at (35,0) size 12x17
                   RenderCounter at (35,0) size 8x17
                     text run at (35,0) width 8: "1"
                   RenderText at (43,0) size 4x17
                     text run at (43,0) width 4: " "
    -          RenderInline {SPAN} at (0,0) size 20x17
    -            RenderInline {SPAN} at (0,0) size 20x17
    -              RenderInline (generated) at (0,0) size 20x17
    +          RenderInline {SPAN} at (47,0) size 20x17
    +            RenderInline {SPAN} at (47,0) size 20x17
    +              RenderInline (generated) at (47,0) size 20x17
                     RenderCounter at (47,0) size 20x17
                       text run at (47,0) width 20: "1.0"
                     RenderText at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-multiple-00-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-multiple-00-c-expected.txt
    index f6f2c4633c98..a57384893b5a 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-multiple-00-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-multiple-00-c-expected.txt
    @@ -11,8 +11,8 @@ layer at (0,0) size 800x94
               RenderInline (generated) at (0,0) size 8x17
                 RenderCounter at (0,0) size 8x17
                   text run at (0,0) width 8: "1"
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (8,0) size 8x17
    +          RenderInline (generated) at (8,0) size 8x17
                 RenderCounter at (8,0) size 8x17
                   text run at (8,0) width 8: "2"
           RenderBlock {DIV} at (0,52) size 784x18
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-multiple-01-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-multiple-01-c-expected.txt
    index f6f2c4633c98..a57384893b5a 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-multiple-01-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-multiple-01-c-expected.txt
    @@ -11,8 +11,8 @@ layer at (0,0) size 800x94
               RenderInline (generated) at (0,0) size 8x17
                 RenderCounter at (0,0) size 8x17
                   text run at (0,0) width 8: "1"
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (8,0) size 8x17
    +          RenderInline (generated) at (8,0) size 8x17
                 RenderCounter at (8,0) size 8x17
                   text run at (8,0) width 8: "2"
           RenderBlock {DIV} at (0,52) size 784x18
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-order-00-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-order-00-c-expected.txt
    index 9cf974dff655..294f9f63b03b 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-order-00-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-order-00-c-expected.txt
    @@ -14,107 +14,107 @@ layer at (0,0) size 800x94
                     text run at (0,0) width 8: "0"
             RenderText {#text} at (8,0) size 4x17
               text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (12,0) size 8x17
    +          RenderInline {SPAN} at (12,0) size 8x17
    +            RenderInline (generated) at (12,0) size 8x17
                   RenderCounter at (12,0) size 8x17
                     text run at (12,0) width 8: "1"
             RenderText {#text} at (20,0) size 4x17
               text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (24,0) size 8x17
    +          RenderInline {SPAN} at (24,0) size 8x17
    +            RenderInline (generated) at (24,0) size 8x17
                   RenderCounter at (24,0) size 8x17
                     text run at (24,0) width 8: "2"
             RenderText {#text} at (32,0) size 4x17
               text run at (32,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (36,0) size 8x17
    +          RenderInline {SPAN} at (36,0) size 8x17
    +            RenderInline (generated) at (36,0) size 8x17
                   RenderCounter at (36,0) size 8x17
                     text run at (36,0) width 8: "3"
             RenderText {#text} at (44,0) size 4x17
               text run at (44,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (48,0) size 8x17
    +          RenderInline {SPAN} at (48,0) size 8x17
    +            RenderInline (generated) at (48,0) size 8x17
                   RenderCounter at (48,0) size 8x17
                     text run at (48,0) width 8: "4"
             RenderText {#text} at (56,0) size 4x17
               text run at (56,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (60,0) size 8x17
    +          RenderInline {SPAN} at (60,0) size 8x17
    +            RenderInline (generated) at (60,0) size 8x17
                   RenderCounter at (60,0) size 8x17
                     text run at (60,0) width 8: "4"
             RenderText {#text} at (68,0) size 4x17
               text run at (68,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (72,0) size 8x17
    +          RenderInline {SPAN} at (72,0) size 8x17
    +            RenderInline (generated) at (72,0) size 8x17
                   RenderCounter at (72,0) size 8x17
                     text run at (72,0) width 8: "4"
             RenderText {#text} at (80,0) size 4x17
               text run at (80,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (84,0) size 8x17
    +          RenderInline {SPAN} at (84,0) size 8x17
    +            RenderInline (generated) at (84,0) size 8x17
                   RenderCounter at (84,0) size 8x17
                     text run at (84,0) width 8: "4"
             RenderText {#text} at (92,0) size 4x17
               text run at (92,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (96,0) size 8x17
    +          RenderInline {SPAN} at (96,0) size 8x17
    +            RenderInline (generated) at (96,0) size 8x17
                   RenderCounter at (96,0) size 8x17
                     text run at (96,0) width 8: "8"
             RenderText {#text} at (104,0) size 4x17
               text run at (104,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (108,0) size 8x17
    +          RenderInline {SPAN} at (108,0) size 8x17
    +            RenderInline (generated) at (108,0) size 8x17
                   RenderCounter at (108,0) size 8x17
                     text run at (108,0) width 8: "9"
             RenderText {#text} at (116,0) size 4x17
               text run at (116,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline {SPAN} at (0,0) size 16x17
    -            RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (120,0) size 16x17
    +          RenderInline {SPAN} at (120,0) size 16x17
    +            RenderInline (generated) at (120,0) size 16x17
                   RenderCounter at (120,0) size 16x17
                     text run at (120,0) width 16: "10"
             RenderText {#text} at (136,0) size 4x17
               text run at (136,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 16x17
    -          RenderInline {SPAN} at (0,0) size 16x17
    -            RenderInline (generated) at (0,0) size 16x17
    +        RenderInline {SPAN} at (140,0) size 16x17
    +          RenderInline {SPAN} at (140,0) size 16x17
    +            RenderInline (generated) at (140,0) size 16x17
                   RenderCounter at (140,0) size 16x17
                     text run at (140,0) width 16: "11"
             RenderText {#text} at (155,0) size 5x17
               text run at (155,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline {SPAN} at (0,0) size 17x17
    -            RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (159,0) size 17x17
    +          RenderInline {SPAN} at (159,0) size 17x17
    +            RenderInline (generated) at (159,0) size 17x17
                   RenderCounter at (159,0) size 17x17
                     text run at (159,0) width 17: "12"
             RenderText {#text} at (175,0) size 5x17
               text run at (175,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline {SPAN} at (0,0) size 17x17
    -            RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (179,0) size 17x17
    +          RenderInline {SPAN} at (179,0) size 17x17
    +            RenderInline (generated) at (179,0) size 17x17
                   RenderCounter at (179,0) size 17x17
                     text run at (179,0) width 17: "12"
             RenderText {#text} at (195,0) size 5x17
               text run at (195,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline {SPAN} at (0,0) size 17x17
    -            RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (199,0) size 17x17
    +          RenderInline {SPAN} at (199,0) size 17x17
    +            RenderInline (generated) at (199,0) size 17x17
                   RenderCounter at (199,0) size 17x17
                     text run at (199,0) width 17: "12"
             RenderText {#text} at (215,0) size 5x17
               text run at (215,0) width 5: " "
    -        RenderInline {SPAN} at (0,0) size 17x17
    -          RenderInline {SPAN} at (0,0) size 17x17
    -            RenderInline (generated) at (0,0) size 17x17
    +        RenderInline {SPAN} at (219,0) size 17x17
    +          RenderInline {SPAN} at (219,0) size 17x17
    +            RenderInline (generated) at (219,0) size 17x17
                   RenderCounter at (219,0) size 17x17
                     text run at (219,0) width 17: "12"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1204-order-01-d-expected.txt b/LayoutTests/platform/glib/css2.1/t1204-order-01-d-expected.txt
    index 5305c6c6d528..b10dc06b68e8 100644
    --- a/LayoutTests/platform/glib/css2.1/t1204-order-01-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1204-order-01-d-expected.txt
    @@ -9,59 +9,59 @@ layer at (0,0) size 800x177
               text run at (405,0) width 322: "multiple of eleven, from 11 to 99, and nothing else."
           RenderBlock {UL} at (0,34) size 784x119
             RenderBlock {LI} at (0,0) size 50x20 [border: (1px solid #000000)]
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (1,1) size 8x17
                 RenderCounter at (1,1) size 8x17
                   text run at (1,1) width 8: "1"
               RenderText {#text} at (9,1) size 8x17
                 text run at (9,1) width 8: "1"
             RenderBlock (floating) {LI} at (0,20) size 50x20 [border: (1px solid #000000)]
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (1,1) size 8x17
                 RenderCounter at (1,1) size 8x17
                   text run at (1,1) width 8: "2"
               RenderText {#text} at (9,1) size 8x17
                 text run at (9,1) width 8: "2"
             RenderBlock {LI} at (0,59) size 50x20 [border: (1px solid #000000)]
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (1,1) size 8x17
                 RenderCounter at (1,1) size 8x17
                   text run at (1,1) width 8: "5"
               RenderText {#text} at (9,1) size 8x17
                 text run at (9,1) width 8: "5"
             RenderBlock {LI} at (0,79) size 50x20 [border: (1px solid #000000)]
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (1,1) size 8x17
                 RenderCounter at (1,1) size 8x17
                   text run at (1,1) width 8: "7"
               RenderText {#text} at (9,1) size 8x17
                 text run at (9,1) width 8: "7"
             RenderBlock {LI} at (0,99) size 50x20 [border: (1px solid #000000)]
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (1,1) size 8x17
                 RenderCounter at (1,1) size 8x17
                   text run at (1,1) width 8: "9"
               RenderText {#text} at (9,1) size 8x17
                 text run at (9,1) width 8: "9"
     layer at (8,70) size 50x39
       RenderBlock (relative positioned) {LI} at (0,20) size 50x39 [border: (1px solid #000000)]
    -    RenderInline (generated) at (0,0) size 8x17
    +    RenderInline (generated) at (1,20) size 8x17
           RenderCounter at (1,20) size 8x17
             text run at (1,20) width 8: "3"
         RenderText {#text} at (9,20) size 8x17
           text run at (9,20) width 8: "3"
     layer at (136,109) size 50x20
       RenderBlock (positioned) {DIV} at (128,0) size 50x20 [border: (1px solid #000000)]
    -    RenderInline (generated) at (0,0) size 8x17
    +    RenderInline (generated) at (1,1) size 8x17
           RenderCounter at (1,1) size 8x17
             text run at (1,1) width 8: "4"
         RenderText {#text} at (9,1) size 8x17
           text run at (9,1) width 8: "4"
     layer at (192,80) size 50x20
       RenderBlock (positioned) {LI} at (192,80) size 50x20 [border: (1px solid #000000)]
    -    RenderInline (generated) at (0,0) size 8x17
    +    RenderInline (generated) at (1,1) size 8x17
           RenderCounter at (1,1) size 8x17
             text run at (1,1) width 8: "6"
         RenderText {#text} at (9,1) size 8x17
           text run at (9,1) width 8: "6"
     layer at (64,128) size 50x20
       RenderBlock (positioned) {LI} at (64,128) size 50x20 [border: (1px solid #000000)]
    -    RenderInline (generated) at (0,0) size 8x17
    +    RenderInline (generated) at (1,1) size 8x17
           RenderCounter at (1,1) size 8x17
             text run at (1,1) width 8: "8"
         RenderText {#text} at (9,1) size 8x17
    diff --git a/LayoutTests/platform/glib/css2.1/t120401-scope-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t120401-scope-00-b-expected.txt
    index 6e2093e6c0aa..b3403951b991 100644
    --- a/LayoutTests/platform/glib/css2.1/t120401-scope-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t120401-scope-00-b-expected.txt
    @@ -11,48 +11,48 @@ layer at (0,0) size 800x94
               RenderInline (generated) at (0,0) size 8x17
                 RenderCounter at (0,0) size 8x17
                   text run at (0,0) width 8: "1"
    -          RenderInline {SPAN} at (0,0) size 16x17
    -            RenderInline (generated) at (0,0) size 8x17
    +          RenderInline {SPAN} at (8,0) size 16x17
    +            RenderInline (generated) at (8,0) size 8x17
                   RenderCounter at (8,0) size 8x17
                     text run at (8,0) width 8: "2"
    -            RenderInline {SPAN} at (0,0) size 8x17
    -              RenderInline (generated) at (0,0) size 8x17
    +            RenderInline {SPAN} at (16,0) size 8x17
    +              RenderInline (generated) at (16,0) size 8x17
                     RenderCounter at (16,0) size 8x17
                       text run at (16,0) width 8: "2"
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +          RenderInline {SPAN} at (24,0) size 8x17
    +            RenderInline (generated) at (24,0) size 8x17
                   RenderCounter at (24,0) size 8x17
                     text run at (24,0) width 8: "1"
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (32,0) size 8x17
                 RenderCounter at (32,0) size 8x17
                   text run at (32,0) width 8: "1"
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (40,0) size 8x17
    +          RenderInline (generated) at (40,0) size 8x17
                 RenderCounter at (40,0) size 8x17
                   text run at (40,0) width 8: "1"
             RenderText {#text} at (48,0) size 4x17
               text run at (48,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 40x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (52,0) size 40x17
    +          RenderInline (generated) at (52,0) size 8x17
                 RenderCounter at (52,0) size 8x17
                   text run at (52,0) width 8: "1"
    -          RenderInline {SPAN} at (0,0) size 16x17
    -            RenderInline (generated) at (0,0) size 8x17
    +          RenderInline {SPAN} at (60,0) size 16x17
    +            RenderInline (generated) at (60,0) size 8x17
                   RenderCounter at (60,0) size 8x17
                     text run at (60,0) width 8: "3"
    -            RenderInline {SPAN} at (0,0) size 8x17
    -              RenderInline (generated) at (0,0) size 8x17
    +            RenderInline {SPAN} at (68,0) size 8x17
    +              RenderInline (generated) at (68,0) size 8x17
                     RenderCounter at (68,0) size 8x17
                       text run at (68,0) width 8: "3"
    -          RenderInline {SPAN} at (0,0) size 8x17
    -            RenderInline (generated) at (0,0) size 8x17
    +          RenderInline {SPAN} at (76,0) size 8x17
    +            RenderInline (generated) at (76,0) size 8x17
                   RenderCounter at (76,0) size 8x17
                     text run at (76,0) width 8: "3"
    -          RenderInline (generated) at (0,0) size 8x17
    +          RenderInline (generated) at (84,0) size 8x17
                 RenderCounter at (84,0) size 8x17
                   text run at (84,0) width 8: "3"
    -        RenderInline {SPAN} at (0,0) size 8x17
    -          RenderInline (generated) at (0,0) size 8x17
    +        RenderInline {SPAN} at (92,0) size 8x17
    +          RenderInline (generated) at (92,0) size 8x17
                 RenderCounter at (92,0) size 8x17
                   text run at (92,0) width 8: "1"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t120401-scope-01-c-expected.txt b/LayoutTests/platform/glib/css2.1/t120401-scope-01-c-expected.txt
    index dd8ae03effcd..f1ceb8acef0c 100644
    --- a/LayoutTests/platform/glib/css2.1/t120401-scope-01-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t120401-scope-01-c-expected.txt
    @@ -15,97 +15,97 @@ layer at (0,0) size 800x94
                   text run at (11,0) width 8: "1"
                 RenderText at (19,0) size 5x17
                   text run at (19,0) width 5: "-"
    -          RenderInline {SPAN} at (0,0) size 442x17
    -            RenderInline (generated) at (0,0) size 24x17
    +          RenderInline {SPAN} at (24,0) size 442x17
    +            RenderInline (generated) at (24,0) size 24x17
                   RenderText at (24,0) size 11x17
                     text run at (24,0) width 11: "B"
                   RenderCounter at (35,0) size 8x17
                     text run at (35,0) width 8: "2"
                   RenderText at (43,0) size 5x17
                     text run at (43,0) width 5: "-"
    -            RenderInline {SPAN} at (0,0) size 219x17
    -              RenderInline (generated) at (0,0) size 36x17
    +            RenderInline {SPAN} at (48,0) size 219x17
    +              RenderInline (generated) at (48,0) size 36x17
                     RenderText at (48,0) size 11x17
                       text run at (48,0) width 11: "B"
                     RenderCounter at (59,0) size 20x17
                       text run at (59,0) width 20: "2.1"
                     RenderText at (79,0) size 5x17
                       text run at (79,0) width 5: "-"
    -              RenderInline {SPAN} at (0,0) size 73x17
    -                RenderInline (generated) at (0,0) size 36x17
    +              RenderInline {SPAN} at (84,0) size 73x17
    +                RenderInline (generated) at (84,0) size 36x17
                       RenderText at (84,0) size 11x17
                         text run at (84,0) width 11: "B"
                       RenderCounter at (95,0) size 20x17
                         text run at (95,0) width 20: "2.2"
                       RenderText at (115,0) size 5x17
                         text run at (115,0) width 5: "-"
    -                RenderInline (generated) at (0,0) size 37x17
    +                RenderInline (generated) at (120,0) size 37x17
                       RenderText at (120,0) size 12x17
                         text run at (120,0) width 12: "A"
                       RenderCounter at (132,0) size 20x17
                         text run at (132,0) width 20: "2.3"
                       RenderText at (152,0) size 5x17
                         text run at (152,0) width 5: "-"
    -              RenderInline {SPAN} at (0,0) size 73x17
    -                RenderInline (generated) at (0,0) size 36x17
    +              RenderInline {SPAN} at (157,0) size 73x17
    +                RenderInline (generated) at (157,0) size 36x17
                       RenderText at (157,0) size 11x17
                         text run at (157,0) width 11: "B"
                       RenderCounter at (168,0) size 20x17
                         text run at (168,0) width 20: "2.4"
                       RenderText at (188,0) size 5x17
                         text run at (188,0) width 5: "-"
    -                RenderInline (generated) at (0,0) size 37x17
    +                RenderInline (generated) at (193,0) size 37x17
                       RenderText at (193,0) size 12x17
                         text run at (193,0) width 12: "A"
                       RenderCounter at (205,0) size 20x17
                         text run at (205,0) width 20: "2.5"
                       RenderText at (225,0) size 5x17
                         text run at (225,0) width 5: "-"
    -              RenderInline (generated) at (0,0) size 37x17
    +              RenderInline (generated) at (230,0) size 37x17
                     RenderText at (230,0) size 12x17
                       text run at (230,0) width 12: "A"
                     RenderCounter at (242,0) size 20x17
                       text run at (242,0) width 20: "2.6"
                     RenderText at (262,0) size 5x17
                       text run at (262,0) width 5: "-"
    -            RenderInline {SPAN} at (0,0) size 154x17
    -              RenderInline (generated) at (0,0) size 36x17
    +            RenderInline {SPAN} at (267,0) size 154x17
    +              RenderInline (generated) at (267,0) size 36x17
                     RenderText at (267,0) size 11x17
                       text run at (267,0) width 11: "B"
                     RenderCounter at (278,0) size 20x17
                       text run at (278,0) width 20: "2.7"
                     RenderText at (298,0) size 5x17
                       text run at (298,0) width 5: "-"
    -              RenderInline {SPAN} at (0,0) size 73x17
    -                RenderInline (generated) at (0,0) size 36x17
    +              RenderInline {SPAN} at (303,0) size 73x17
    +                RenderInline (generated) at (303,0) size 36x17
                       RenderText at (303,0) size 11x17
                         text run at (303,0) width 11: "B"
                       RenderCounter at (314,0) size 20x17
                         text run at (314,0) width 20: "2.8"
                       RenderText at (334,0) size 5x17
                         text run at (334,0) width 5: "-"
    -                RenderInline (generated) at (0,0) size 37x17
    +                RenderInline (generated) at (339,0) size 37x17
                       RenderText at (339,0) size 12x17
                         text run at (339,0) width 12: "A"
                       RenderCounter at (351,0) size 20x17
                         text run at (351,0) width 20: "2.9"
                       RenderText at (371,0) size 5x17
                         text run at (371,0) width 5: "-"
    -              RenderInline (generated) at (0,0) size 45x17
    +              RenderInline (generated) at (376,0) size 45x17
                     RenderText at (376,0) size 12x17
                       text run at (376,0) width 12: "A"
                     RenderCounter at (388,0) size 28x17
                       text run at (388,0) width 28: "2.10"
                     RenderText at (416,0) size 5x17
                       text run at (416,0) width 5: "-"
    -            RenderInline (generated) at (0,0) size 45x17
    +            RenderInline (generated) at (421,0) size 45x17
                   RenderText at (421,0) size 12x17
                     text run at (421,0) width 12: "A"
                   RenderCounter at (433,0) size 28x17
                     text run at (433,0) width 28: "2.11"
                   RenderText at (460,0) size 6x17
                     text run at (460,0) width 6: "-"
    -          RenderInline (generated) at (0,0) size 26x17
    +          RenderInline (generated) at (465,0) size 26x17
                 RenderText at (465,0) size 13x17
                   text run at (465,0) width 13: "A"
                 RenderCounter at (477,0) size 9x17
    diff --git a/LayoutTests/platform/glib/css2.1/t120401-scope-02-c-expected.txt b/LayoutTests/platform/glib/css2.1/t120401-scope-02-c-expected.txt
    index da5da839bb70..46a9a828a3b5 100644
    --- a/LayoutTests/platform/glib/css2.1/t120401-scope-02-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t120401-scope-02-c-expected.txt
    @@ -15,37 +15,37 @@ layer at (0,0) size 800x94
                   text run at (11,0) width 8: "1"
                 RenderText at (19,0) size 5x17
                   text run at (19,0) width 5: "-"
    -          RenderInline {SPAN} at (0,0) size 146x17
    -            RenderInline (generated) at (0,0) size 36x17
    +          RenderInline {SPAN} at (24,0) size 146x17
    +            RenderInline (generated) at (24,0) size 36x17
                   RenderText at (24,0) size 11x17
                     text run at (24,0) width 11: "B"
                   RenderCounter at (35,0) size 20x17
                     text run at (35,0) width 20: "1.1"
                   RenderText at (55,0) size 5x17
                     text run at (55,0) width 5: "-"
    -            RenderInline {SPAN} at (0,0) size 73x17
    -              RenderInline (generated) at (0,0) size 36x17
    +            RenderInline {SPAN} at (60,0) size 73x17
    +              RenderInline (generated) at (60,0) size 36x17
                     RenderText at (60,0) size 11x17
                       text run at (60,0) width 11: "B"
                     RenderCounter at (71,0) size 20x17
                       text run at (71,0) width 20: "1.2"
                     RenderText at (91,0) size 5x17
                       text run at (91,0) width 5: "-"
    -              RenderInline (generated) at (0,0) size 37x17
    +              RenderInline (generated) at (96,0) size 37x17
                     RenderText at (96,0) size 12x17
                       text run at (96,0) width 12: "A"
                     RenderCounter at (108,0) size 20x17
                       text run at (108,0) width 20: "1.3"
                     RenderText at (128,0) size 5x17
                       text run at (128,0) width 5: "-"
    -            RenderInline (generated) at (0,0) size 37x17
    +            RenderInline (generated) at (133,0) size 37x17
                   RenderText at (133,0) size 12x17
                     text run at (133,0) width 12: "A"
                   RenderCounter at (145,0) size 20x17
                     text run at (145,0) width 20: "1.4"
                   RenderText at (165,0) size 5x17
                     text run at (165,0) width 5: "-"
    -          RenderInline (generated) at (0,0) size 25x17
    +          RenderInline (generated) at (170,0) size 25x17
                 RenderText at (170,0) size 12x17
                   text run at (170,0) width 12: "A"
                 RenderCounter at (182,0) size 8x17
    diff --git a/LayoutTests/platform/glib/css2.1/t120401-scope-03-c-expected.txt b/LayoutTests/platform/glib/css2.1/t120401-scope-03-c-expected.txt
    index 22da91130b80..56acda112a05 100644
    --- a/LayoutTests/platform/glib/css2.1/t120401-scope-03-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t120401-scope-03-c-expected.txt
    @@ -15,37 +15,37 @@ layer at (0,0) size 800x94
                   text run at (11,0) width 8: "1"
                 RenderText at (19,0) size 5x17
                   text run at (19,0) width 5: "-"
    -          RenderInline {SPAN} at (0,0) size 110x17
    -            RenderInline (generated) at (0,0) size 24x17
    +          RenderInline {SPAN} at (24,0) size 110x17
    +            RenderInline (generated) at (24,0) size 24x17
                   RenderText at (24,0) size 11x17
                     text run at (24,0) width 11: "B"
                   RenderCounter at (35,0) size 8x17
                     text run at (35,0) width 8: "2"
                   RenderText at (43,0) size 5x17
                     text run at (43,0) width 5: "-"
    -            RenderInline {SPAN} at (0,0) size 49x17
    -              RenderInline (generated) at (0,0) size 24x17
    +            RenderInline {SPAN} at (48,0) size 49x17
    +              RenderInline (generated) at (48,0) size 24x17
                     RenderText at (48,0) size 11x17
                       text run at (48,0) width 11: "B"
                     RenderCounter at (59,0) size 8x17
                       text run at (59,0) width 8: "3"
                     RenderText at (67,0) size 5x17
                       text run at (67,0) width 5: "-"
    -              RenderInline (generated) at (0,0) size 25x17
    +              RenderInline (generated) at (72,0) size 25x17
                     RenderText at (72,0) size 12x17
                       text run at (72,0) width 12: "A"
                     RenderCounter at (84,0) size 8x17
                       text run at (84,0) width 8: "4"
                     RenderText at (92,0) size 5x17
                       text run at (92,0) width 5: "-"
    -            RenderInline (generated) at (0,0) size 37x17
    +            RenderInline (generated) at (97,0) size 37x17
                   RenderText at (97,0) size 12x17
                     text run at (97,0) width 12: "A"
                   RenderCounter at (109,0) size 20x17
                     text run at (109,0) width 20: "4.1"
                   RenderText at (129,0) size 5x17
                     text run at (129,0) width 5: "-"
    -          RenderInline (generated) at (0,0) size 25x17
    +          RenderInline (generated) at (134,0) size 25x17
                 RenderText at (134,0) size 12x17
                   text run at (134,0) width 12: "A"
                 RenderCounter at (146,0) size 8x17
    diff --git a/LayoutTests/platform/glib/css2.1/t120401-scope-04-d-expected.txt b/LayoutTests/platform/glib/css2.1/t120401-scope-04-d-expected.txt
    index b8f5e6d38e72..4e2b5446d053 100644
    --- a/LayoutTests/platform/glib/css2.1/t120401-scope-04-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t120401-scope-04-d-expected.txt
    @@ -14,26 +14,26 @@ layer at (0,0) size 800x94
                   text run at (0,0) width 8: "1"
                 RenderText at (8,0) size 4x17
                   text run at (8,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 0x17
    -        RenderInline {SPAN} at (0,0) size 12x17
    -          RenderInline (generated) at (0,0) size 12x17
    +        RenderInline {SPAN} at (12,0) size 0x17
    +        RenderInline {SPAN} at (12,0) size 12x17
    +          RenderInline (generated) at (12,0) size 12x17
                 RenderCounter at (12,0) size 8x17
                   text run at (12,0) width 8: "1"
                 RenderText at (20,0) size 4x17
                   text run at (20,0) width 4: " "
    -        RenderInline {SPAN} at (0,0) size 55x17
    -          RenderInline (generated) at (0,0) size 11x17
    +        RenderInline {SPAN} at (24,0) size 55x17
    +          RenderInline (generated) at (24,0) size 11x17
                 RenderText at (24,0) size 11x17
                   text run at (24,0) width 11: "R"
    -          RenderInline {SPAN} at (0,0) size 24x17
    -            RenderInline (generated) at (0,0) size 24x17
    +          RenderInline {SPAN} at (35,0) size 24x17
    +            RenderInline (generated) at (35,0) size 24x17
                   RenderCounter at (35,0) size 20x17
                     text run at (35,0) width 20: "1.1"
                   RenderText at (55,0) size 4x17
                     text run at (55,0) width 4: " "
    -          RenderInline {SPAN} at (0,0) size 0x17
    -          RenderInline {SPAN} at (0,0) size 20x17
    -            RenderInline (generated) at (0,0) size 20x17
    +          RenderInline {SPAN} at (59,0) size 0x17
    +          RenderInline {SPAN} at (59,0) size 20x17
    +            RenderInline (generated) at (59,0) size 20x17
                   RenderCounter at (59,0) size 20x17
                     text run at (59,0) width 20: "1.1"
                   RenderText at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1205-c561-list-displ-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1205-c561-list-displ-00-b-expected.txt
    index ad91148484d2..81d9e9bbbfa8 100644
    --- a/LayoutTests/platform/glib/css2.1/t1205-c561-list-displ-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1205-c561-list-displ-00-b-expected.txt
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x202
               RenderText {#text} at (0,0) size 94x17
                 text run at (0,0) width 94: "3. This should "
             RenderText {#text} at (0,0) size 0x0
    -        RenderInline {DIV} at (0,0) size 81x17 [color=#000080]
    +        RenderInline {DIV} at (94,0) size 81x17 [color=#000080]
               RenderText {#text} at (94,0) size 81x17
                 text run at (94,0) width 81: "be line three."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1205-c565-list-pos-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1205-c565-list-pos-00-b-expected.txt
    index 0cfcb2cf6012..d54434430789 100644
    --- a/LayoutTests/platform/glib/css2.1/t1205-c565-list-pos-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1205-c565-list-pos-00-b-expected.txt
    @@ -17,6 +17,6 @@ layer at (0,0) size 800x96
           RenderBlock {OL} at (80,53) size 160x19 [color=#000080] [bgcolor=#000080]
             RenderListItem {LI} at (0,0) size 160x18
               RenderListMarker at (0,0) size 16x17: "1"
    -          RenderInline {SPAN} at (0,0) size 26x17 [color=#FFFFFF]
    +          RenderInline {SPAN} at (16,0) size 26x17 [color=#FFFFFF]
                 RenderText {#text} at (16,0) size 26x17
                   text run at (16,0) width 26: "Test"
    diff --git a/LayoutTests/platform/glib/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
    index be9b11ca5323..5bd9a613ad0c 100644
    --- a/LayoutTests/platform/glib/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1205-c566-list-stl-00-e-ag-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x116
           RenderBlock {UL} at (75,34) size 96x51 [color=#00FF00] [bgcolor=#FF0000] [border: (3px solid #000000)]
             RenderListItem {LI} at (3,3) size 90x45
               RenderListMarker at (0,0) size 45x15: "A"
    -          RenderText {#text} at (45,0) size 90x45
    +          RenderText {#text} at (0,0) size 90x45
                 text run at (45,0) width 45: "x x"
                 text run at (0,15) width 75: "xx xx"
                 text run at (0,30) width 45: "x x"
    diff --git a/LayoutTests/platform/glib/css2.1/t140201-c532-bgcolor-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t140201-c532-bgcolor-00-a-expected.txt
    index e11746a95a3f..5c1c68b4c011 100644
    --- a/LayoutTests/platform/glib/css2.1/t140201-c532-bgcolor-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t140201-c532-bgcolor-00-a-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x118
           RenderBlock {P} at (0,34) size 784x18 [bgcolor=#00FF00]
             RenderText {#text} at (0,0) size 59x17
               text run at (0,0) width 59: "This line "
    -        RenderInline {SPAN} at (0,0) size 100x17
    +        RenderInline {SPAN} at (59,0) size 100x17
               RenderText {#text} at (59,0) size 100x17
                 text run at (59,0) width 100: "should be green"
             RenderText {#text} at (159,0) size 28x17
    diff --git a/LayoutTests/platform/glib/css2.1/t140201-c533-bgimage-00-a-expected.txt b/LayoutTests/platform/glib/css2.1/t140201-c533-bgimage-00-a-expected.txt
    index 073da66a81e1..d7a8e8a5c7c6 100644
    --- a/LayoutTests/platform/glib/css2.1/t140201-c533-bgimage-00-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t140201-c533-bgimage-00-a-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x84
           RenderBlock {P} at (0,34) size 784x18
             RenderText {#text} at (0,0) size 59x17
               text run at (0,0) width 59: "This line "
    -        RenderInline {SPAN} at (0,0) size 100x17
    +        RenderInline {SPAN} at (59,0) size 100x17
               RenderText {#text} at (59,0) size 100x17
                 text run at (59,0) width 100: "should be green"
             RenderText {#text} at (159,0) size 28x17
    diff --git a/LayoutTests/platform/glib/css2.1/t1504-c523-font-style-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1504-c523-font-style-00-b-expected.txt
    index ce83d19b704f..382ec8f50820 100644
    --- a/LayoutTests/platform/glib/css2.1/t1504-c523-font-style-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1504-c523-font-style-00-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 800x118
           RenderBlock {P} at (0,0) size 784x18 [color=#000080]
             RenderText {#text} at (0,0) size 215x17
               text run at (0,0) width 215: "This sentence should be in italics. "
    -        RenderInline {SPAN} at (0,0) size 203x17
    +        RenderInline {SPAN} at (215,0) size 203x17
               RenderText {#text} at (215,0) size 203x17
                 text run at (215,0) width 203: "This sentence should be normal."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1505-c524-font-var-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1505-c524-font-var-00-b-expected.txt
    index de803a797795..74882ca15cde 100644
    --- a/LayoutTests/platform/glib/css2.1/t1505-c524-font-var-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1505-c524-font-var-00-b-expected.txt
    @@ -9,7 +9,7 @@ layer at (0,0) size 800x84
           RenderBlock {P} at (0,34) size 784x18 [color=#000080]
             RenderText {#text} at (0,0) size 263x17
               text run at (0,0) width 263: "This Sentence should be in Small Caps. "
    -        RenderInline {SPAN} at (0,0) size 210x17
    +        RenderInline {SPAN} at (263,0) size 210x17
               RenderText {#text} at (263,0) size 210x17
                 text run at (263,0) width 210: "This Sentence should be Normal."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1506-c525-font-wt-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1506-c525-font-wt-00-b-expected.txt
    index 4ac385135fa4..6d69adc86d9a 100644
    --- a/LayoutTests/platform/glib/css2.1/t1506-c525-font-wt-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1506-c525-font-wt-00-b-expected.txt
    @@ -41,7 +41,7 @@ layer at (0,0) size 800x440
           RenderBlock {P} at (0,389) size 784x19 [color=#000080]
             RenderText {#text} at (0,0) size 202x17
               text run at (0,0) width 202: "This sentence should be bold. "
    -        RenderInline {SPAN} at (0,0) size 203x17
    +        RenderInline {SPAN} at (202,0) size 203x17
               RenderText {#text} at (202,0) size 203x17
                 text run at (202,0) width 203: "This sentence should be normal."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1507-c526-font-sz-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1507-c526-font-sz-00-b-expected.txt
    index d000fe024c3f..e5b988cde0b3 100644
    --- a/LayoutTests/platform/glib/css2.1/t1507-c526-font-sz-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1507-c526-font-sz-00-b-expected.txt
    @@ -18,42 +18,42 @@ layer at (0,0) size 800x323
           RenderBlock {P} at (10,114) size 764x18 [color=#000080]
             RenderText {#text} at (0,6) size 139x10
               text run at (0,6) width 139: "This sentence should be very small. "
    -        RenderInline {SPAN} at (0,0) size 254x17
    +        RenderInline {SPAN} at (138,0) size 254x17
               RenderText {#text} at (138,0) size 254x17
                 text run at (138,0) width 254: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (10,142) size 764x18 [color=#000080]
             RenderText {#text} at (0,5) size 152x11
               text run at (0,5) width 152: "This sentence should be rather small. "
    -        RenderInline {SPAN} at (0,0) size 253x17
    +        RenderInline {SPAN} at (152,0) size 253x17
               RenderText {#text} at (152,0) size 253x17
                 text run at (152,0) width 253: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (10,170) size 764x18 [color=#000080]
             RenderText {#text} at (0,2) size 168x15
               text run at (0,2) width 168: "This sentence should be small. "
    -        RenderInline {SPAN} at (0,0) size 253x17
    +        RenderInline {SPAN} at (168,0) size 253x17
               RenderText {#text} at (168,0) size 253x17
                 text run at (168,0) width 253: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (10,198) size 764x21 [color=#000080]
             RenderText {#text} at (0,0) size 225x20
               text run at (0,0) width 225: "This sentence should be large. "
    -        RenderInline {SPAN} at (0,0) size 254x17
    +        RenderInline {SPAN} at (224,2) size 254x17
               RenderText {#text} at (224,2) size 254x17
                 text run at (224,2) width 254: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (10,229) size 764x27 [color=#000080]
             RenderText {#text} at (0,0) size 362x26
               text run at (0,0) width 362: "This sentence should be rather large. "
    -        RenderInline {SPAN} at (0,0) size 254x17
    +        RenderInline {SPAN} at (361,7) size 254x17
               RenderText {#text} at (361,7) size 254x17
                 text run at (361,7) width 254: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
           RenderBlock {P} at (10,266) size 764x37 [color=#000080]
             RenderText {#text} at (0,0) size 458x36
               text run at (0,0) width 458: "This sentence should be very large. "
    -        RenderInline {SPAN} at (0,0) size 254x17
    +        RenderInline {SPAN} at (457,15) size 254x17
               RenderText {#text} at (457,15) size 254x17
                 text run at (457,15) width 254: "This sentence should be back to normal."
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-00-b-expected.txt
    index b4150deff82a..b01f1a653a6b 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-00-b-expected.txt
    @@ -7,7 +7,7 @@ layer at (0,0) size 800x101
             RenderText {#text} at (0,0) size 636x15
               text run at (0,0) width 636: "This text should be 13px Helvetica in small-caps and italicized. There should be a small gap between each line. "
             RenderInline {SPAN} at (0,0) size 784x75 [color=#C0C0C0]
    -          RenderText {#text} at (635,0) size 784x75
    +          RenderText {#text} at (0,0) size 784x75
                 text run at (635,0) width 133: "dummy text dummy text"
                 text run at (0,15) width 244: "dummy text dummy text dummy text dummy "
                 text run at (243,15) width 409: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-01-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-01-b-expected.txt
    index 38c66e894639..093a2459250d 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-01-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-01-b-expected.txt
    @@ -6,8 +6,8 @@ layer at (0,0) size 800x225
           RenderBlock {P} at (0,0) size 784x189
             RenderText {#text} at (0,3) size 565x20
               text run at (0,3) width 565: "This text should be 18px serif. There should be a 9px gap between each line. "
    -        RenderInline {SPAN} at (0,0) size 744x182 [color=#C0C0C0]
    -          RenderText {#text} at (564,3) size 744x182
    +        RenderInline {SPAN} at (0,3) size 744x182 [color=#C0C0C0]
    +          RenderText {#text} at (0,3) size 744x182
                 text run at (564,3) width 180: "dummy text dummy text"
                 text run at (0,30) width 336: "dummy text dummy text dummy text dummy "
                 text run at (335,30) width 396: "text dummy text dummy text dummy text dummy text"
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-02-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-02-b-expected.txt
    index f46448459a8d..83b174bc2970 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-02-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-02-b-expected.txt
    @@ -6,8 +6,8 @@ layer at (0,0) size 800x225
           RenderBlock {P} at (0,0) size 784x189
             RenderText {#text} at (0,3) size 662x20
               text run at (0,3) width 662: "This text should be 18px sans-serif. There should be a 9px gap between each line. "
    -        RenderInline {SPAN} at (0,0) size 779x182 [color=#C0C0C0]
    -          RenderText {#text} at (662,3) size 779x182
    +        RenderInline {SPAN} at (0,3) size 779x182 [color=#C0C0C0]
    +          RenderText {#text} at (0,3) size 779x182
                 text run at (662,3) width 93: "dummy text"
                 text run at (0,30) width 456: "dummy text dummy text dummy text dummy text dummy "
                 text run at (455,30) width 324: "text dummy text dummy text dummy text"
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-04-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-04-b-expected.txt
    index 4252d977b600..85a82388b477 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-04-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-04-b-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x225
             RenderText {#text} at (0,3) size 759x47
               text run at (0,3) width 759: "This text should be 18px sans-serif, in small-caps, italicized, and very bold. There should be a 9px"
               text run at (0,30) width 178: "gap between each line. "
    -        RenderInline {SPAN} at (0,0) size 752x155 [color=#C0C0C0]
    -          RenderText {#text} at (178,30) size 752x155
    +        RenderInline {SPAN} at (0,30) size 752x155 [color=#C0C0C0]
    +          RenderText {#text} at (0,30) size 752x155
                 text run at (178,30) width 491: "dummy text dummy text dummy text dummy text dummy text dummy "
                 text run at (669,30) width 83: "text dummy"
                 text run at (0,57) width 440: "text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-05-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-05-b-expected.txt
    index d93ea32add0e..1c51b8f570be 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-05-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-05-b-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x414
             RenderText {#text} at (0,17) size 758x74
               text run at (0,17) width 758: "This text should be 18px sans-serif, in small-caps, italicized, and very light. There should be a 36px"
               text run at (0,71) width 174: "gap between each line. "
    -        RenderInline {SPAN} at (0,0) size 750x290 [color=#C0C0C0]
    -          RenderText {#text} at (174,71) size 750x290
    +        RenderInline {SPAN} at (0,71) size 750x290 [color=#C0C0C0]
    +          RenderText {#text} at (0,71) size 750x290
                 text run at (174,71) width 491: "dummy text dummy text dummy text dummy text dummy text dummy "
                 text run at (665,71) width 83: "text dummy"
                 text run at (0,125) width 440: "text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-06-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-06-b-expected.txt
    index 17f00ee617dc..d692bccae57c 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-06-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-06-b-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x288
             RenderText {#text} at (0,8) size 775x56
               text run at (0,8) width 775: "This text should be 18px monospace, in small-caps, italicized, and very bold, with double"
               text run at (0,44) width 121: "line spacing. "
    -        RenderInline {SPAN} at (0,0) size 768x200 [color=#C0C0C0]
    -          RenderText {#text} at (120,44) size 768x200
    +        RenderInline {SPAN} at (0,44) size 768x200 [color=#C0C0C0]
    +          RenderText {#text} at (0,44) size 768x200
                 text run at (120,44) width 522: "dummy text dummy text dummy text dummy text dummy text dummy "
                 text run at (642,44) width 126: "text dummy text"
                 text run at (0,80) width 427: "dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-07-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-07-b-expected.txt
    index 95bc97b7c348..af4dcacea72d 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-07-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-07-b-expected.txt
    @@ -6,7 +6,7 @@ layer at (0,0) size 785x708
           RenderBlock {P} at (0,0) size 769x672
             RenderText {#text} at (0,38) size 755x20
               text run at (0,38) width 755: "This text should be 18px sans-serif, in small-caps and italicized. The lines should be one inch apart."
    -        RenderInline {SPAN} at (0,0) size 750x500 [color=#C0C0C0]
    +        RenderInline {SPAN} at (0,134) size 750x500 [color=#C0C0C0]
               RenderText {#text} at (0,134) size 750x500
                 text run at (0,134) width 491: "dummy text dummy text dummy text dummy text dummy text dummy "
                 text run at (491,134) width 259: "text dummy text dummy text dummy"
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-08-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-08-b-expected.txt
    index d874368aaf3b..aad280405246 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-08-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-08-b-expected.txt
    @@ -7,8 +7,8 @@ layer at (0,0) size 800x324
             RenderText {#text} at (0,8) size 783x56
               text run at (0,8) width 783: "This text should be 18px sans-serif, in small-caps, oblique, and bold. There should be a 9px"
               text run at (0,44) width 201: "gap between each line. "
    -        RenderInline {SPAN} at (0,0) size 737x236 [color=#C0C0C0]
    -          RenderText {#text} at (200,44) size 737x236
    +        RenderInline {SPAN} at (0,44) size 737x236 [color=#C0C0C0]
    +          RenderText {#text} at (0,44) size 737x236
                 text run at (200,44) width 526: "dummy text dummy text dummy text dummy text dummy text"
                 text run at (0,80) width 69: "dummy "
                 text run at (68,80) width 637: "text dummy text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-09-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-09-b-expected.txt
    index 78b554ba86f6..364c76985f5a 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-09-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-09-b-expected.txt
    @@ -6,8 +6,8 @@ layer at (0,0) size 800x111
           RenderBlock {P} at (0,0) size 784x92
             RenderText {#text} at (0,6) size 423x11
               text run at (0,6) width 423: "This test should be about 10px, sans-serif, and light. There should be about 15px between each line. "
    -        RenderInline {SPAN} at (0,0) size 773x80 [color=#C0C0C0]
    -          RenderText {#text} at (423,6) size 773x80
    +        RenderInline {SPAN} at (0,6) size 773x80 [color=#C0C0C0]
    +          RenderText {#text} at (0,6) size 773x80
                 text run at (423,6) width 299: "dummy text dummy text dummy text dummy text dummy text dummy "
                 text run at (722,6) width 50: "text dummy"
                 text run at (0,29) width 265: "text dummy text dummy text dummy text dummy text dummy "
    diff --git a/LayoutTests/platform/glib/css2.1/t1508-c527-font-10-c-expected.txt b/LayoutTests/platform/glib/css2.1/t1508-c527-font-10-c-expected.txt
    index 2b6f434a51c7..ac65bdf5abde 100644
    --- a/LayoutTests/platform/glib/css2.1/t1508-c527-font-10-c-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1508-c527-font-10-c-expected.txt
    @@ -4,14 +4,14 @@ layer at (0,0) size 800x468
       RenderBlock {HTML} at (0,0) size 800x468
         RenderBody {BODY} at (8,18) size 784x432
           RenderBlock {P} at (0,0) size 784x432
    -        RenderInline {SPAN} at (0,0) size 769x398 [color=#FFFFFF] [bgcolor=#000080]
    +        RenderInline {SPAN} at (0,17) size 769x398 [color=#FFFFFF] [bgcolor=#000080]
               RenderText {#text} at (0,17) size 758x74
                 text run at (0,17) width 465: "This text should be 18px sans-serif, in small-caps, italicized, "
                 text run at (464,17) width 294: "and very light. There should be a 36px"
                 text run at (0,71) width 199: "gap betwen each line. The "
                 text run at (198,71) width 437: "text should have a blue background, the gap should not. "
    -          RenderInline {SPAN} at (0,0) size 769x344 [color=#0000FF]
    -            RenderText {#text} at (634,71) size 769x344
    +          RenderInline {SPAN} at (0,71) size 769x344 [color=#0000FF]
    +            RenderText {#text} at (0,71) size 769x344
                   text run at (634,71) width 135: "dummy text dummy"
                   text run at (0,125) width 352: "text dummy text dummy text dummy text dummy "
                   text run at (352,125) width 384: "text dummy text dummy text dummy text dummy text"
    diff --git a/LayoutTests/platform/glib/css2.1/t1601-c547-indent-01-d-expected.txt b/LayoutTests/platform/glib/css2.1/t1601-c547-indent-01-d-expected.txt
    index 2d7bb9e6208e..a87cb6d047b0 100644
    --- a/LayoutTests/platform/glib/css2.1/t1601-c547-indent-01-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1601-c547-indent-01-d-expected.txt
    @@ -4,7 +4,7 @@ layer at (0,0) size 800x218
       RenderBlock {HTML} at (0,0) size 800x218
         RenderBody {BODY} at (8,16) size 784x194
           RenderBlock {P} at (0,0) size 784x36 [bgcolor=#00FFFF]
    -        RenderText {#text} at (392,0) size 751x35
    +        RenderText {#text} at (0,0) size 751x35
               text run at (392,0) width 359: "The first line of this sentence should be indented halfway"
               text run at (0,18) width 66: "across the "
               text run at (66,18) width 415: "page, but the rest of it should be flush with the normal left margin "
    @@ -19,13 +19,13 @@ layer at (0,0) size 800x218
             RenderText {#text} at (0,36) size 145x17
               text run at (0,36) width 145: "the others should all be"
             RenderBR {BR} at (145,36) size 0x17
    -        RenderInline {EM} at (0,0) size 113x17
    +        RenderInline {EM} at (0,54) size 113x17
               RenderText {#text} at (0,54) size 113x17
                 text run at (0,54) width 113: "aligned on the left"
             RenderText {#text} at (113,54) size 99x17
               text run at (113,54) width 99: " of the window."
           RenderBlock {DIV} at (0,140) size 196x54 [bgcolor=#00FFFF]
    -        RenderText {#text} at (98,0) size 178x53
    +        RenderText {#text} at (0,0) size 178x53
               text run at (98,0) width 77: "X The X on"
               text run at (0,18) width 169: "the previous line should be"
               text run at (0,36) width 178: "centered across the window."
    diff --git a/LayoutTests/platform/glib/css2.1/t1602-c546-txt-align-00-b-expected.txt b/LayoutTests/platform/glib/css2.1/t1602-c546-txt-align-00-b-expected.txt
    index f3952fa6cabd..ffbaede8d3e6 100644
    --- a/LayoutTests/platform/glib/css2.1/t1602-c546-txt-align-00-b-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1602-c546-txt-align-00-b-expected.txt
    @@ -17,7 +17,7 @@ layer at (0,0) size 800x386
               text run at (0,0) width 393: "This paragraph should be justified (the right and left margins "
               text run at (392,0) width 105: "should line up). "
             RenderInline {SPAN} at (0,0) size 784x251 [color=#C0C0C0]
    -          RenderText {#text} at (496,0) size 784x251
    +          RenderText {#text} at (0,0) size 784x251
                 text run at (496,0) width 288: "This is just lovely dummy text. Dummy text."
                 text run at (0,18) width 57: "Dummy "
                 text run at (56,18) width 530: "text. This is just lovely dummy text. This is just lovely dummy text. Dummy text. "
    diff --git a/LayoutTests/platform/glib/css2.1/t1604-c542-letter-sp-01-b-a-expected.txt b/LayoutTests/platform/glib/css2.1/t1604-c542-letter-sp-01-b-a-expected.txt
    index 8115727f3840..9ab54fc10a76 100644
    --- a/LayoutTests/platform/glib/css2.1/t1604-c542-letter-sp-01-b-a-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1604-c542-letter-sp-01-b-a-expected.txt
    @@ -18,7 +18,7 @@ layer at (0,0) size 800x202
           RenderBlock {DIV} at (48,106) size 360x24 [color=#00FFFF] [bgcolor=#FFFF00]
             RenderText {#text} at (0,0) size 216x24
               text run at (0,0) width 216: "xx "
    -        RenderInline {SPAN} at (0,0) size 120x24
    +        RenderInline {SPAN} at (216,0) size 120x24
               RenderText {#text} at (216,0) size 120x24
                 text run at (216,0) width 120: "xx xx"
             RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
    index 1439703bdb58..1f12f412383b 100644
    --- a/LayoutTests/platform/glib/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1605-c545-txttrans-00-b-ag-expected.txt
    @@ -10,160 +10,160 @@ layer at (0,0) size 800x190
             RenderBlock {P} at (3,3) size 320x30
               RenderText {#text} at (0,0) size 230x10
                 text run at (0,0) width 230: "Xx xx x. (x.x. XX) x x "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,0) size 20x10
                 RenderText {#text} at (230,0) size 20x10
                   text run at (230,0) width 20: "Xx"
               RenderText {#text} at (250,0) size 40x10
                 text run at (250,0) width 40: "xxx "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,0) size 30x10
                 RenderText {#text} at (290,0) size 30x10
                   text run at (290,0) width 30: "xxx"
               RenderText {#text} at (0,10) size 230x10
                 text run at (0,10) width 230: "Pp pp p. (p.p. PP) p p "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,10) size 20x10
                 RenderText {#text} at (230,10) size 20x10
                   text run at (230,10) width 20: "Pp"
               RenderText {#text} at (250,10) size 40x10
                 text run at (250,10) width 40: "ppp "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,10) size 30x10
                 RenderText {#text} at (290,10) size 30x10
                   text run at (290,10) width 30: "ppp"
               RenderText {#text} at (0,20) size 230x10
                 text run at (0,20) width 230: "\x{C9}\x{E9} \x{E9}\x{E9} \x{E9}. (\x{E9}.\x{E9}. \x{C9}\x{C9}) \x{E9} \x{E9} "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,20) size 20x10
                 RenderText {#text} at (230,20) size 20x10
                   text run at (230,20) width 20: "\x{C9}\x{E9}"
               RenderText {#text} at (250,20) size 40x10
                 text run at (250,20) width 40: "\x{E9}\x{E9}\x{E9} "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,20) size 30x10
                 RenderText {#text} at (290,20) size 30x10
                   text run at (290,20) width 30: "\x{E9}\x{E9}\x{E9}"
               RenderText {#text} at (0,0) size 0x0
             RenderBlock {P} at (3,33) size 320x30
               RenderText {#text} at (0,0) size 230x10
                 text run at (0,0) width 230: "Xx xx x. (x.x. XX) x x "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,0) size 20x10
                 RenderText {#text} at (230,0) size 20x10
                   text run at (230,0) width 20: "Xx"
               RenderText {#text} at (250,0) size 40x10
                 text run at (250,0) width 40: "xxx "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,0) size 30x10
                 RenderText {#text} at (290,0) size 30x10
                   text run at (290,0) width 30: "xxx"
               RenderText {#text} at (0,10) size 230x10
                 text run at (0,10) width 230: "Pp pp p. (p.p. PP) p p "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,10) size 20x10
                 RenderText {#text} at (230,10) size 20x10
                   text run at (230,10) width 20: "Pp"
               RenderText {#text} at (250,10) size 40x10
                 text run at (250,10) width 40: "ppp "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,10) size 30x10
                 RenderText {#text} at (290,10) size 30x10
                   text run at (290,10) width 30: "ppp"
               RenderText {#text} at (0,20) size 230x10
                 text run at (0,20) width 230: "\x{C9}\x{E9} \x{E9}\x{E9} \x{E9}. (\x{E9}.\x{E9}. \x{C9}\x{C9}) \x{E9} \x{E9} "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,20) size 20x10
                 RenderText {#text} at (230,20) size 20x10
                   text run at (230,20) width 20: "\x{C9}\x{E9}"
               RenderText {#text} at (250,20) size 40x10
                 text run at (250,20) width 40: "\x{E9}\x{E9}\x{E9} "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,20) size 30x10
                 RenderText {#text} at (290,20) size 30x10
                   text run at (290,20) width 30: "\x{E9}\x{E9}\x{E9}"
               RenderText {#text} at (0,0) size 0x0
             RenderBlock {P} at (3,63) size 320x30
               RenderText {#text} at (0,0) size 230x10
                 text run at (0,0) width 230: "Xx Xx X. (X.x. XX) X X "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,0) size 20x10
                 RenderText {#text} at (230,0) size 20x10
                   text run at (230,0) width 20: "Xx"
               RenderText {#text} at (250,0) size 40x10
                 text run at (250,0) width 40: "xxx "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,0) size 30x10
                 RenderText {#text} at (290,0) size 30x10
                   text run at (290,0) width 30: "xxx"
               RenderText {#text} at (0,10) size 230x10
                 text run at (0,10) width 230: "Pp Pp P. (P.p. PP) P P "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,10) size 20x10
                 RenderText {#text} at (230,10) size 20x10
                   text run at (230,10) width 20: "Pp"
               RenderText {#text} at (250,10) size 40x10
                 text run at (250,10) width 40: "ppp "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,10) size 30x10
                 RenderText {#text} at (290,10) size 30x10
                   text run at (290,10) width 30: "ppp"
               RenderText {#text} at (0,20) size 230x10
                 text run at (0,20) width 230: "\x{C9}\x{E9} \x{C9}\x{E9} \x{C9}. (\x{C9}.\x{E9}. \x{C9}\x{C9}) \x{C9} \x{C9} "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,20) size 20x10
                 RenderText {#text} at (230,20) size 20x10
                   text run at (230,20) width 20: "\x{C9}\x{E9}"
               RenderText {#text} at (250,20) size 40x10
                 text run at (250,20) width 40: "\x{E9}\x{E9}\x{E9} "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,20) size 30x10
                 RenderText {#text} at (290,20) size 30x10
                   text run at (290,20) width 30: "\x{E9}\x{E9}\x{E9}"
               RenderText {#text} at (0,0) size 0x0
             RenderBlock {P} at (3,93) size 320x30
               RenderText {#text} at (0,0) size 230x10
                 text run at (0,0) width 230: "XX XX X. (X.X. XX) X X "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,0) size 20x10
                 RenderText {#text} at (230,0) size 20x10
                   text run at (230,0) width 20: "Xx"
               RenderText {#text} at (250,0) size 40x10
                 text run at (250,0) width 40: "XXX "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,0) size 30x10
                 RenderText {#text} at (290,0) size 30x10
                   text run at (290,0) width 30: "xxx"
               RenderText {#text} at (0,10) size 230x10
                 text run at (0,10) width 230: "PP PP P. (P.P. PP) P P "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,10) size 20x10
                 RenderText {#text} at (230,10) size 20x10
                   text run at (230,10) width 20: "Pp"
               RenderText {#text} at (250,10) size 40x10
                 text run at (250,10) width 40: "PPP "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,10) size 30x10
                 RenderText {#text} at (290,10) size 30x10
                   text run at (290,10) width 30: "ppp"
               RenderText {#text} at (0,20) size 230x10
                 text run at (0,20) width 230: "\x{C9}\x{C9} \x{C9}\x{C9} \x{C9}. (\x{C9}.\x{C9}. \x{C9}\x{C9}) \x{C9} \x{C9} "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,20) size 20x10
                 RenderText {#text} at (230,20) size 20x10
                   text run at (230,20) width 20: "\x{C9}\x{E9}"
               RenderText {#text} at (250,20) size 40x10
                 text run at (250,20) width 40: "\x{C9}\x{C9}\x{C9} "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,20) size 30x10
                 RenderText {#text} at (290,20) size 30x10
                   text run at (290,20) width 30: "\x{E9}\x{E9}\x{E9}"
               RenderText {#text} at (0,0) size 0x0
             RenderBlock {P} at (3,123) size 320x30
               RenderText {#text} at (0,0) size 230x10
                 text run at (0,0) width 230: "xx xx x. (x.x. xx) x x "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,0) size 20x10
                 RenderText {#text} at (230,0) size 20x10
                   text run at (230,0) width 20: "Xx"
               RenderText {#text} at (250,0) size 40x10
                 text run at (250,0) width 40: "xxx "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,0) size 30x10
                 RenderText {#text} at (290,0) size 30x10
                   text run at (290,0) width 30: "xxx"
               RenderText {#text} at (0,10) size 230x10
                 text run at (0,10) width 230: "pp pp p. (p.p. pp) p p "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,10) size 20x10
                 RenderText {#text} at (230,10) size 20x10
                   text run at (230,10) width 20: "Pp"
               RenderText {#text} at (250,10) size 40x10
                 text run at (250,10) width 40: "ppp "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,10) size 30x10
                 RenderText {#text} at (290,10) size 30x10
                   text run at (290,10) width 30: "ppp"
               RenderText {#text} at (0,20) size 230x10
                 text run at (0,20) width 230: "\x{E9}\x{E9} \x{E9}\x{E9} \x{E9}. (\x{E9}.\x{E9}. \x{E9}\x{E9}) \x{E9} \x{E9} "
    -          RenderInline {SPAN} at (0,0) size 20x10
    +          RenderInline {SPAN} at (230,20) size 20x10
                 RenderText {#text} at (230,20) size 20x10
                   text run at (230,20) width 20: "\x{C9}\x{E9}"
               RenderText {#text} at (250,20) size 40x10
                 text run at (250,20) width 40: "\x{E9}\x{E9}\x{E9} "
    -          RenderInline {SPAN} at (0,0) size 30x10
    +          RenderInline {SPAN} at (290,20) size 30x10
                 RenderText {#text} at (290,20) size 30x10
                   text run at (290,20) width 30: "\x{E9}\x{E9}\x{E9}"
               RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt b/LayoutTests/platform/glib/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
    index 6b95e0e834d1..b425be72c9b7 100644
    --- a/LayoutTests/platform/glib/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t1606-c562-white-sp-00-b-ag-expected.txt
    @@ -29,7 +29,7 @@ layer at (0,0) size 800x154
                 text run at (0,0) width 120: "x  x   x"
                 text run at (120,0) width 0: " "
                 text run at (0,15) width 90: " x    "
    -          RenderInline {SPAN} at (0,0) size 105x15
    +          RenderInline {SPAN} at (90,15) size 105x15
                 RenderText {#text} at (90,15) size 105x15
                   text run at (90,15) width 30: "x "
                   text run at (120,15) width 30: "x "
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-00-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-00-d-expected.txt
    index e386c9b8a510..c6d75d5ba67f 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-00-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-00-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-01-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-01-d-expected.txt
    index bedf1dd4a8c9..cdd3e455680e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-01-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-01-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 150x165
               RenderTableRow {TR} at (0,0) size 150x55
                 RenderTableCell {TD} at (0,15) size 50x25 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,16) size 50x23 [border: (3px double #00FF00) none (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (100,15) size 50x25 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,55) size 150x55
                 RenderTableCell {TD} at (0,70) size 50x25 [border: (3px double #00FF00) none (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,72) size 50x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (100,70) size 50x25 [border: (3px double #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 43x17
    +              RenderText {#text} at (1,19) size 43x17
                     text run at (1,4) width 43: "double"
               RenderTableRow {TR} at (0,110) size 150x55
                 RenderTableCell {TD} at (0,125) size 50x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,126) size 50x23 [border: none (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 43x19
    +              RenderText {#text} at (4,17) size 43x18
                     text run at (4,1) width 43: "double"
                 RenderTableCell {TD} at (100,125) size 50x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-02-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-02-d-expected.txt
    index c755afcc5ce0..2e071579ae94 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-02-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-02-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 119x165
               RenderTableRow {TR} at (0,0) size 119x55
                 RenderTableCell {TD} at (0,15) size 37x25 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,16) size 45x23 [border: (3px solid #00FF00) none (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (82,15) size 37x25 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,55) size 119x55
                 RenderTableCell {TD} at (0,70) size 37x25 [border: (3px solid #00FF00) none (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,72) size 45x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (82,70) size 37x25 [border: (3px solid #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 30x17
    +              RenderText {#text} at (1,19) size 30x17
                     text run at (1,4) width 30: "solid"
               RenderTableRow {TR} at (0,110) size 119x55
                 RenderTableCell {TD} at (0,125) size 37x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,126) size 45x23 [border: none (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 30x19
    +              RenderText {#text} at (4,17) size 30x18
                     text run at (4,1) width 30: "solid"
                 RenderTableCell {TD} at (82,125) size 37x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-03-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-03-d-expected.txt
    index 729b6b836967..5358619856fc 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-03-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-03-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 153x165
               RenderTableRow {TR} at (0,0) size 153x55
                 RenderTableCell {TD} at (0,15) size 51x25 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,16) size 51x23 [border: (3px dashed #00FF00) none (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (102,15) size 51x25 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,55) size 153x55
                 RenderTableCell {TD} at (0,70) size 51x25 [border: (3px dashed #00FF00) none (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,72) size 51x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (102,70) size 51x25 [border: (3px dashed #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 44x17
    +              RenderText {#text} at (1,19) size 44x17
                     text run at (1,4) width 44: "dashed"
               RenderTableRow {TR} at (0,110) size 153x55
                 RenderTableCell {TD} at (0,125) size 51x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,126) size 51x23 [border: none (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 44x19
    +              RenderText {#text} at (4,17) size 44x18
                     text run at (4,1) width 44: "dashed"
                 RenderTableCell {TD} at (102,125) size 51x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-04-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-04-d-expected.txt
    index dc365921f505..346b25038d39 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-04-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-04-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 138x165
               RenderTableRow {TR} at (0,0) size 138x55
                 RenderTableCell {TD} at (0,15) size 46x25 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,16) size 46x23 [border: (3px dotted #00FF00) none (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (92,15) size 46x25 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,55) size 138x55
                 RenderTableCell {TD} at (0,70) size 46x25 [border: (3px dotted #00FF00) none (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,72) size 46x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (92,70) size 46x25 [border: (3px dotted #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 39x17
    +              RenderText {#text} at (1,19) size 39x17
                     text run at (1,4) width 39: "dotted"
               RenderTableRow {TR} at (0,110) size 138x55
                 RenderTableCell {TD} at (0,125) size 46x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,126) size 46x23 [border: none (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 39x19
    +              RenderText {#text} at (4,17) size 39x18
                     text run at (4,1) width 39: "dotted"
                 RenderTableCell {TD} at (92,125) size 46x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-05-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-05-d-expected.txt
    index 22fef010e3e7..8d100aec9f6f 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-05-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-05-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 123x165
               RenderTableRow {TR} at (0,0) size 123x55
                 RenderTableCell {TD} at (0,15) size 39x25 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,16) size 45x23 [border: (3px ridge #00FF00) none (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (84,15) size 39x25 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,55) size 123x55
                 RenderTableCell {TD} at (0,70) size 39x25 [border: (3px ridge #00FF00) none (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,72) size 45x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (84,70) size 39x25 [border: (3px ridge #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 32x17
    +              RenderText {#text} at (1,19) size 32x17
                     text run at (1,4) width 32: "ridge"
               RenderTableRow {TR} at (0,110) size 123x55
                 RenderTableCell {TD} at (0,125) size 39x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,126) size 45x23 [border: none (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 32x19
    +              RenderText {#text} at (4,17) size 32x18
                     text run at (4,1) width 32: "ridge"
                 RenderTableCell {TD} at (84,125) size 39x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-06-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-06-d-expected.txt
    index f3ff931595c5..86b7ffe25a20 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-06-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-06-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 133x165
               RenderTableRow {TR} at (0,0) size 133x55
                 RenderTableCell {TD} at (0,15) size 44x25 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,16) size 45x23 [border: (3px outset #00FF00) none (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (89,15) size 44x25 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,55) size 133x55
                 RenderTableCell {TD} at (0,70) size 44x25 [border: (3px outset #00FF00) none (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,72) size 45x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (89,70) size 44x25 [border: (3px outset #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 37x17
    +              RenderText {#text} at (1,19) size 37x17
                     text run at (1,4) width 37: "outset"
               RenderTableRow {TR} at (0,110) size 133x55
                 RenderTableCell {TD} at (0,125) size 44x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,126) size 45x23 [border: none (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 37x19
    +              RenderText {#text} at (4,17) size 37x18
                     text run at (4,1) width 37: "outset"
                 RenderTableCell {TD} at (89,125) size 44x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-07-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-07-d-expected.txt
    index db0149f1b172..3978b429bd9d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-07-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-07-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 153x165
               RenderTableRow {TR} at (0,0) size 153x55
                 RenderTableCell {TD} at (0,15) size 51x25 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,16) size 51x23 [border: (3px groove #00FF00) none (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (102,15) size 51x25 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,55) size 153x55
                 RenderTableCell {TD} at (0,70) size 51x25 [border: (3px groove #00FF00) none (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,72) size 51x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (102,70) size 51x25 [border: (3px groove #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 44x17
    +              RenderText {#text} at (1,19) size 44x17
                     text run at (1,4) width 44: "groove"
               RenderTableRow {TR} at (0,110) size 153x55
                 RenderTableCell {TD} at (0,125) size 51x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,126) size 51x23 [border: none (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 44x19
    +              RenderText {#text} at (4,17) size 44x18
                     text run at (4,1) width 44: "groove"
                 RenderTableCell {TD} at (102,125) size 51x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-08-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-08-d-expected.txt
    index 9c5044062632..5040747ff575 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-08-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-08-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 117x165
               RenderTableRow {TR} at (0,0) size 117x55
                 RenderTableCell {TD} at (0,15) size 36x25 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,16) size 45x23 [border: (3px inset #00FF00) none (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (81,15) size 36x25 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,55) size 117x55
                 RenderTableCell {TD} at (0,70) size 36x25 [border: (3px inset #00FF00) none (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,72) size 45x21 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 43x19
    +              RenderText {#text} at (1,18) size 43x18
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (81,70) size 36x25 [border: (3px inset #00FF00) none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,4) size 29x17
    +              RenderText {#text} at (1,19) size 29x17
                     text run at (1,4) width 29: "inset"
               RenderTableRow {TR} at (0,110) size 117x55
                 RenderTableCell {TD} at (0,125) size 36x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,126) size 45x23 [border: none (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,0) size 29x19
    +              RenderText {#text} at (4,17) size 29x18
                     text run at (4,1) width 29: "inset"
                 RenderTableCell {TD} at (81,125) size 36x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-09-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-09-d-expected.txt
    index 2e16625cb3a6..f98596d49c1f 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-09-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-09-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 111x150
               RenderTableRow {TR} at (0,0) size 111x50
                 RenderTableCell {TD} at (0,15) size 33x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (78,15) size 33x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,50) size 111x50
                 RenderTableCell {TD} at (0,65) size 33x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (78,65) size 33x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,100) size 111x50
                 RenderTableCell {TD} at (0,115) size 33x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (78,115) size 33x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-10-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-10-d-expected.txt
    index 1ddbd4e54aaf..e900201c8bf6 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-10-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-10-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "double"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-11-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-11-d-expected.txt
    index f5c74b8e93c9..f2d0c921bd21 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-11-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-11-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 160x175
               RenderTableRow {TR} at (0,0) size 160x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 55x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (108,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 160x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (108,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 160x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 55x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (108,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-12-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-12-d-expected.txt
    index 94fadba6bace..371e2a59c3da 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-12-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-12-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 134x175
               RenderTableRow {TR} at (0,0) size 134x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 55x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (95,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 134x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (95,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 134x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 55x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (95,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-13-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-13-d-expected.txt
    index 6691a1467ca4..9e848e591068 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-13-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-13-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 162x175
               RenderTableRow {TR} at (0,0) size 162x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 55x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (109,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 162x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (109,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 162x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 55x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (109,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-14-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-14-d-expected.txt
    index ee50b021fcd9..da0f1856dc01 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-14-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-14-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 152x175
               RenderTableRow {TR} at (0,0) size 152x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 55x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (104,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 152x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (104,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 152x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 55x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (104,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-15-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-15-d-expected.txt
    index 69e307cc01dd..19d8b63473be 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-15-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-15-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 138x175
               RenderTableRow {TR} at (0,0) size 138x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 55x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (97,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 138x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (97,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 138x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 55x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (97,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-16-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-16-d-expected.txt
    index da9d19a666a9..0658be0a861c 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-16-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-16-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 148x175
               RenderTableRow {TR} at (0,0) size 148x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 55x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (102,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 148x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (102,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 148x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 55x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (102,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-17-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-17-d-expected.txt
    index 9ee483a77d9f..d993d0bea6f9 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-17-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-17-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 162x175
               RenderTableRow {TR} at (0,0) size 162x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 55x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (109,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 162x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (109,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 162x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 55x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (109,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-18-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-18-d-expected.txt
    index 8220a2af908a..f077dd7a30f2 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-18-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-18-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 132x175
               RenderTableRow {TR} at (0,0) size 132x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 55x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (94,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 132x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (94,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 132x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 55x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (94,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-19-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-19-d-expected.txt
    index c9f712a9ef98..25991b652d4e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-19-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-19-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 131x170
               RenderTableRow {TR} at (0,0) size 131x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 55x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (93,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 131x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 55x30 [border: (5px double #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 43x17
    +              RenderText {#text} at (6,21) size 43x17
                     text run at (6,6) width 43: "double"
                 RenderTableCell {TD} at (93,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 131x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 55x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (93,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-20-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-20-d-expected.txt
    index 25acc00622b5..13c54a78e66b 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-20-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-20-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 30x17
    +              RenderText {#text} at (1,16) size 30x17
                     text run at (1,1) width 30: "solid"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-21-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-21-d-expected.txt
    index 40f28dff3bec..30b7808652c1 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-21-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-21-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 155x175
               RenderTableRow {TR} at (0,0) size 155x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 50x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (103,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 155x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 50x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (103,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 155x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 50x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (103,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-22-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-22-d-expected.txt
    index 2d8ed1f3a3a4..9b03eecea46c 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-22-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-22-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 121x175
               RenderTableRow {TR} at (0,0) size 121x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 42x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (82,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 121x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 42x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (82,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 121x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 42x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (82,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-23-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-23-d-expected.txt
    index 2f7b5782f667..ebd3169640fc 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-23-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-23-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-24-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-24-d-expected.txt
    index dd5085b00773..123e098ec2fd 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-24-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-24-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 143x175
               RenderTableRow {TR} at (0,0) size 143x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 46x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (95,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 143x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 46x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (95,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 143x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 46x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (95,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-25-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-25-d-expected.txt
    index 817b8cb90729..246b11fb63a8 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-25-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-25-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 125x175
               RenderTableRow {TR} at (0,0) size 125x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 42x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (84,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 125x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 42x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (84,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 125x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 42x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (84,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-26-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-26-d-expected.txt
    index d4c73f4c661a..5726467e08a4 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-26-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-26-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 137x175
               RenderTableRow {TR} at (0,0) size 137x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 44x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (91,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 137x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 44x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (91,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 137x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 44x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (91,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-27-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-27-d-expected.txt
    index 177815fe903c..d1677af7943d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-27-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-27-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-28-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-28-d-expected.txt
    index 560870720c96..655a776a0d22 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-28-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-28-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 119x175
               RenderTableRow {TR} at (0,0) size 119x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 42x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (81,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 119x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 42x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (81,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 119x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 42x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (81,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-29-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-29-d-expected.txt
    index 75705a464cff..20851a2193c0 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-29-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-29-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 118x170
               RenderTableRow {TR} at (0,0) size 118x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 42x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (80,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 118x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 42x30 [border: (5px solid #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 30x17
    +              RenderText {#text} at (6,21) size 30x17
                     text run at (6,6) width 30: "solid"
                 RenderTableCell {TD} at (80,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 118x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 42x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (80,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-30-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-30-d-expected.txt
    index 53936cf4aa62..cb4541e373b5 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-30-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-30-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 136x150
               RenderTableRow {TR} at (0,0) size 136x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 46x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (91,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 136x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 46x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 44x17
    +              RenderText {#text} at (1,16) size 44x17
                     text run at (1,1) width 44: "dashed"
                 RenderTableCell {TD} at (91,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 136x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 46x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (91,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-31-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-31-d-expected.txt
    index ced344c27351..c6e5aa0f3794 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-31-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-31-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 161x175
               RenderTableRow {TR} at (0,0) size 161x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 56x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (109,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 161x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (109,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 161x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 56x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (109,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-32-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-32-d-expected.txt
    index 8bdc5d8c5aed..6c376fac0c0f 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-32-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-32-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 135x175
               RenderTableRow {TR} at (0,0) size 135x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 56x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (96,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 135x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (96,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 135x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 56x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (96,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-33-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-33-d-expected.txt
    index d421302f3894..1f980dd17874 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-33-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-33-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 163x175
               RenderTableRow {TR} at (0,0) size 163x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 56x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (110,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 163x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (110,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 163x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 56x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (110,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-34-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-34-d-expected.txt
    index 985d873ce7ce..419726245e41 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-34-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-34-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 153x175
               RenderTableRow {TR} at (0,0) size 153x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 56x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (105,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 153x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 153x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 56x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (105,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-35-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-35-d-expected.txt
    index 1c47bc0f6d53..1308f3b0374c 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-35-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-35-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 139x175
               RenderTableRow {TR} at (0,0) size 139x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 56x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (98,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 139x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (98,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 139x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 56x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (98,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-36-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-36-d-expected.txt
    index 74e384bb555e..771badff66be 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-36-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-36-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 149x175
               RenderTableRow {TR} at (0,0) size 149x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 56x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (103,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 149x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (103,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 149x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 56x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (103,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-37-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-37-d-expected.txt
    index 45a90baf5ef8..b1eb7d55d732 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-37-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-37-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 163x175
               RenderTableRow {TR} at (0,0) size 163x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 56x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (110,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 163x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (110,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 163x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 56x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (110,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-38-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-38-d-expected.txt
    index 437f68cffde6..d90fb4ab23d0 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-38-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-38-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 133x175
               RenderTableRow {TR} at (0,0) size 133x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 56x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (95,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 133x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (95,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 133x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 56x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (95,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-39-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-39-d-expected.txt
    index f363c91c3824..b42b959f4f5e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-39-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-39-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 132x170
               RenderTableRow {TR} at (0,0) size 132x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 56x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (94,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 132x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 56x30 [border: (5px dashed #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "dashed"
                 RenderTableCell {TD} at (94,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 132x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 56x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (94,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-40-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-40-d-expected.txt
    index 25c20c34b0dd..1175068fe300 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-40-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-40-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 39x17
    +              RenderText {#text} at (1,16) size 39x17
                     text run at (1,1) width 39: "dotted"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-41-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-41-d-expected.txt
    index 34ccfe300231..6b29e930359c 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-41-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-41-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 156x175
               RenderTableRow {TR} at (0,0) size 156x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 51x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (104,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 156x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (104,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 156x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 51x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (104,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-42-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-42-d-expected.txt
    index 42d4e6140b0c..fcb4674f9823 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-42-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-42-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 130x175
               RenderTableRow {TR} at (0,0) size 130x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 51x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (91,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 130x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (91,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 130x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 51x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (91,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-43-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-43-d-expected.txt
    index 9f36445ffe3f..c52e9e330aec 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-43-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-43-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-44-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-44-d-expected.txt
    index a4425eae6953..6344b3baea22 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-44-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-44-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 148x175
               RenderTableRow {TR} at (0,0) size 148x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 51x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (100,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 148x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (100,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 148x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 51x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (100,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-45-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-45-d-expected.txt
    index d64e3e6b067b..b6c9c85edad8 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-45-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-45-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 134x175
               RenderTableRow {TR} at (0,0) size 134x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 51x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (93,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 134x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (93,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 134x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 51x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (93,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-46-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-46-d-expected.txt
    index 87975add1e17..c179bdf9bf35 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-46-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-46-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 144x175
               RenderTableRow {TR} at (0,0) size 144x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 51x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (98,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 144x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (98,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 144x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 51x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (98,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-47-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-47-d-expected.txt
    index 6a26e480902c..0395ce1f75ff 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-47-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-47-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-48-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-48-d-expected.txt
    index ad037587052c..d65d384db642 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-48-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-48-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 128x175
               RenderTableRow {TR} at (0,0) size 128x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 51x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (90,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 128x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (90,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 128x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 51x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (90,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-49-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-49-d-expected.txt
    index aa8458ef2480..297e5d936b8f 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-49-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-49-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 127x170
               RenderTableRow {TR} at (0,0) size 127x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 51x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (89,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 127x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 51x30 [border: (5px dotted #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 39x17
    +              RenderText {#text} at (6,21) size 39x17
                     text run at (6,6) width 39: "dotted"
                 RenderTableCell {TD} at (89,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 127x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 51x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (89,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-50-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-50-d-expected.txt
    index 69b61f8e89bf..b8945d590a09 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-50-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-50-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 32x17
    +              RenderText {#text} at (1,16) size 32x17
                     text run at (1,1) width 32: "ridge"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-51-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-51-d-expected.txt
    index 33c4ba41e6ac..b27d69cbe024 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-51-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-51-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 155x175
               RenderTableRow {TR} at (0,0) size 155x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 50x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (103,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 155x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 50x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (103,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 155x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 50x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (103,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-52-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-52-d-expected.txt
    index ab44f4c0a204..c92f38a854fa 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-52-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-52-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 123x175
               RenderTableRow {TR} at (0,0) size 123x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 44x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (84,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 123x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 44x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (84,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 123x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 44x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (84,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-53-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-53-d-expected.txt
    index f8f0843c93a3..e95529e1ed5d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-53-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-53-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-54-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-54-d-expected.txt
    index 0110427de95a..1ff61835559e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-54-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-54-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 143x175
               RenderTableRow {TR} at (0,0) size 143x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 46x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (95,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 143x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 46x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (95,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 143x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 46x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (95,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-55-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-55-d-expected.txt
    index cb4938311018..5f661e817376 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-55-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-55-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 127x175
               RenderTableRow {TR} at (0,0) size 127x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 44x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (86,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 127x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 44x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (86,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 127x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 44x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (86,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-56-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-56-d-expected.txt
    index d697491ec022..4e6c24b0de08 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-56-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-56-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 137x175
               RenderTableRow {TR} at (0,0) size 137x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 44x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (91,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 137x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 44x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (91,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 137x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 44x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (91,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-57-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-57-d-expected.txt
    index ce40b096afd8..ebbf7cd91f82 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-57-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-57-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-58-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-58-d-expected.txt
    index e4eb40b21e9b..d427f1bc8234 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-58-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-58-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 121x175
               RenderTableRow {TR} at (0,0) size 121x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 44x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (83,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 121x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 44x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (83,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 121x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 44x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (83,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-59-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-59-d-expected.txt
    index 57e25eee1658..fd0ca39158a5 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-59-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-59-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 120x170
               RenderTableRow {TR} at (0,0) size 120x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 44x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (82,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 120x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 44x30 [border: (5px ridge #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 32x17
    +              RenderText {#text} at (6,21) size 32x17
                     text run at (6,6) width 32: "ridge"
                 RenderTableCell {TD} at (82,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 120x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 44x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (82,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-60-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-60-d-expected.txt
    index d3afc8743cbb..aff44df50e1d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-60-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-60-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 37x17
    +              RenderText {#text} at (1,16) size 37x17
                     text run at (1,1) width 37: "outset"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-61-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-61-d-expected.txt
    index 0e62ebd36296..afe3c2957509 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-61-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-61-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 155x175
               RenderTableRow {TR} at (0,0) size 155x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 50x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (103,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 155x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 50x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (103,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 155x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 50x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (103,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-62-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-62-d-expected.txt
    index ed35cb99bec8..61d31aedb8f7 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-62-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-62-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 128x175
               RenderTableRow {TR} at (0,0) size 128x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 49x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (89,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 128x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (89,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 128x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 49x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (89,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-63-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-63-d-expected.txt
    index afa75f9f519a..c2134031b322 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-63-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-63-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-64-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-64-d-expected.txt
    index 585a8c19e924..39894a70dd02 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-64-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-64-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 146x175
               RenderTableRow {TR} at (0,0) size 146x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 49x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (98,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 146x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (98,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 146x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 49x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (98,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-65-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-65-d-expected.txt
    index c1c49dff803a..6c6c79e63888 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-65-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-65-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 132x175
               RenderTableRow {TR} at (0,0) size 132x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 49x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (91,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 132x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (91,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 132x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 49x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (91,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-66-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-66-d-expected.txt
    index 1d1404feff17..2d94aac01061 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-66-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-66-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 142x175
               RenderTableRow {TR} at (0,0) size 142x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 49x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (96,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 142x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (96,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 142x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 49x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (96,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-67-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-67-d-expected.txt
    index 57d3329cd20c..eacb742125fa 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-67-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-67-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-68-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-68-d-expected.txt
    index 59d03b94d857..4bc9684bb960 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-68-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-68-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 126x175
               RenderTableRow {TR} at (0,0) size 126x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 49x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (88,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 126x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (88,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 126x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 49x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (88,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-69-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-69-d-expected.txt
    index 1f869812f631..bbd81e79dae8 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-69-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-69-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 125x170
               RenderTableRow {TR} at (0,0) size 125x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 49x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (87,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 125x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 49x30 [border: (5px outset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 37x17
    +              RenderText {#text} at (6,21) size 37x17
                     text run at (6,6) width 37: "outset"
                 RenderTableCell {TD} at (87,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 125x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 49x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (87,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-70-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-70-d-expected.txt
    index ed79906e406f..5701273605a5 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-70-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-70-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 136x150
               RenderTableRow {TR} at (0,0) size 136x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 46x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (91,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 136x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 46x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 44x17
    +              RenderText {#text} at (1,16) size 44x17
                     text run at (1,1) width 44: "groove"
                 RenderTableCell {TD} at (91,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 136x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 46x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (91,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-71-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-71-d-expected.txt
    index b7fe8b65536e..919300f0c82b 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-71-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-71-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 161x175
               RenderTableRow {TR} at (0,0) size 161x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 56x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (109,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 161x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (109,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 161x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 56x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (109,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-72-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-72-d-expected.txt
    index f3833fb7d8b8..4282c49a5216 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-72-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-72-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 135x175
               RenderTableRow {TR} at (0,0) size 135x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 56x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (96,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 135x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (96,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 135x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 56x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (96,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-73-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-73-d-expected.txt
    index 4774a6c128f5..24078f0a3a15 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-73-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-73-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 163x175
               RenderTableRow {TR} at (0,0) size 163x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 56x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (110,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 163x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (110,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 163x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 56x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (110,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-74-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-74-d-expected.txt
    index fb13ecfb1432..2e5965ab22b7 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-74-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-74-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 153x175
               RenderTableRow {TR} at (0,0) size 153x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 56x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (105,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 153x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (105,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 153x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 56x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (105,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-75-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-75-d-expected.txt
    index 462023ae9ce7..1b63fcc37568 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-75-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-75-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 139x175
               RenderTableRow {TR} at (0,0) size 139x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 56x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (98,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 139x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (98,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 139x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 56x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (98,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-76-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-76-d-expected.txt
    index f53927fd2a80..1b177f5aff85 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-76-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-76-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 149x175
               RenderTableRow {TR} at (0,0) size 149x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 56x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (103,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 149x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (103,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 149x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 56x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (103,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-77-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-77-d-expected.txt
    index 715b0f61acf2..7cbd2743300a 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-77-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-77-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 163x175
               RenderTableRow {TR} at (0,0) size 163x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 56x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (110,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 163x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (110,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 163x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 56x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (110,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-78-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-78-d-expected.txt
    index b5d5eedca35f..356fe1a76aa0 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-78-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-78-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 133x175
               RenderTableRow {TR} at (0,0) size 133x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 56x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (95,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 133x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (95,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 133x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 56x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (95,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-79-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-79-d-expected.txt
    index 9c9bffe6d37d..0cb6acfd1e15 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-79-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-79-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 132x170
               RenderTableRow {TR} at (0,0) size 132x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 56x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (94,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 132x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 56x30 [border: (5px groove #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 44x17
    +              RenderText {#text} at (6,21) size 44x17
                     text run at (6,6) width 44: "groove"
                 RenderTableCell {TD} at (94,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 132x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 56x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (94,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-80-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-80-d-expected.txt
    index 02c91d911805..3f93bc1a1df8 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-80-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-80-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 29x17
    +              RenderText {#text} at (1,16) size 29x17
                     text run at (1,1) width 29: "inset"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-81-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-81-d-expected.txt
    index f520ff54a47e..b826098d733c 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-81-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-81-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 155x175
               RenderTableRow {TR} at (0,0) size 155x58
                 RenderTableCell {TD} at (0,16) size 53x26 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,15) size 50x28 [border: (3px double #00FF00) (5px double #FF0000) (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (103,16) size 52x26 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,20) size 43x18
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,58) size 155x60
                 RenderTableCell {TD} at (0,75) size 53x26 [border: (3px double #00FF00) (5px double #FF0000) (2px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 43x19
    +              RenderText {#text} at (4,21) size 43x18
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,73) size 50x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (103,75) size 52x26 [border: (3px double #00FF00) (5px double #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 43x19
    +              RenderText {#text} at (6,21) size 43x18
                     text run at (6,4) width 43: "double"
               RenderTableRow {TR} at (0,118) size 155x57
                 RenderTableCell {TD} at (0,134) size 53x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (53,133) size 50x27 [border: (5px double #FF0000) (2px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 43x17
    +              RenderText {#text} at (4,21) size 43x17
                     text run at (4,6) width 43: "double"
                 RenderTableCell {TD} at (103,134) size 52x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,20) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-82-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-82-d-expected.txt
    index 120b63af1bb5..84bef04ec003 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-82-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-82-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 120x175
               RenderTableRow {TR} at (0,0) size 120x58
                 RenderTableCell {TD} at (0,16) size 40x26 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,15) size 41x28 [border: (3px solid #00FF00) (5px solid #FF0000) (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (81,16) size 39x26 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,20) size 30x18
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,58) size 120x60
                 RenderTableCell {TD} at (0,75) size 40x26 [border: (3px solid #00FF00) (5px solid #FF0000) (2px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 30x19
    +              RenderText {#text} at (4,21) size 30x18
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,73) size 41x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (81,75) size 39x26 [border: (3px solid #00FF00) (5px solid #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 30x19
    +              RenderText {#text} at (6,21) size 30x18
                     text run at (6,4) width 30: "solid"
               RenderTableRow {TR} at (0,118) size 120x57
                 RenderTableCell {TD} at (0,134) size 40x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (40,133) size 41x27 [border: (5px solid #FF0000) (2px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 30x17
    +              RenderText {#text} at (4,21) size 30x17
                     text run at (4,6) width 30: "solid"
                 RenderTableCell {TD} at (81,134) size 39x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,20) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-83-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-83-d-expected.txt
    index 2df73554fbc9..7978de95bfa6 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-83-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-83-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px dashed #00FF00) (5px dashed #FF0000) (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px dashed #00FF00) (5px dashed #FF0000) (2px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px dashed #00FF00) (5px dashed #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "dashed"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px dashed #FF0000) (2px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "dashed"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-84-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-84-d-expected.txt
    index 32bf7fe7e404..ca7a9634620d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-84-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-84-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 143x175
               RenderTableRow {TR} at (0,0) size 143x58
                 RenderTableCell {TD} at (0,16) size 49x26 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,15) size 46x28 [border: (3px dotted #00FF00) (5px dotted #FF0000) (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (95,16) size 48x26 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,20) size 39x18
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,58) size 143x60
                 RenderTableCell {TD} at (0,75) size 49x26 [border: (3px dotted #00FF00) (5px dotted #FF0000) (2px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 39x19
    +              RenderText {#text} at (4,21) size 39x18
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,73) size 46x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (95,75) size 48x26 [border: (3px dotted #00FF00) (5px dotted #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 39x19
    +              RenderText {#text} at (6,21) size 39x18
                     text run at (6,4) width 39: "dotted"
               RenderTableRow {TR} at (0,118) size 143x57
                 RenderTableCell {TD} at (0,134) size 49x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (49,133) size 46x27 [border: (5px dotted #FF0000) (2px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 39x17
    +              RenderText {#text} at (4,21) size 39x17
                     text run at (4,6) width 39: "dotted"
                 RenderTableCell {TD} at (95,134) size 48x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,20) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-85-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-85-d-expected.txt
    index 220969f9e146..0dc3a5169231 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-85-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-85-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 124x175
               RenderTableRow {TR} at (0,0) size 124x58
                 RenderTableCell {TD} at (0,16) size 42x26 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,15) size 41x28 [border: (3px ridge #00FF00) (5px ridge #FF0000) (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (83,16) size 41x26 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,20) size 32x18
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,58) size 124x60
                 RenderTableCell {TD} at (0,75) size 42x26 [border: (3px ridge #00FF00) (5px ridge #FF0000) (2px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 32x19
    +              RenderText {#text} at (4,21) size 32x18
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,73) size 41x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (83,75) size 41x26 [border: (3px ridge #00FF00) (5px ridge #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 32x19
    +              RenderText {#text} at (6,21) size 32x18
                     text run at (6,4) width 32: "ridge"
               RenderTableRow {TR} at (0,118) size 124x57
                 RenderTableCell {TD} at (0,134) size 42x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (42,133) size 41x27 [border: (5px ridge #FF0000) (2px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 32x17
    +              RenderText {#text} at (4,21) size 32x17
                     text run at (4,6) width 32: "ridge"
                 RenderTableCell {TD} at (83,134) size 41x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,20) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-86-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-86-d-expected.txt
    index 9b53027183f5..dcb9141dfa2d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-86-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-86-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 137x175
               RenderTableRow {TR} at (0,0) size 137x58
                 RenderTableCell {TD} at (0,16) size 47x26 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,15) size 44x28 [border: (3px outset #00FF00) (5px outset #FF0000) (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (91,16) size 46x26 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,20) size 37x18
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,58) size 137x60
                 RenderTableCell {TD} at (0,75) size 47x26 [border: (3px outset #00FF00) (5px outset #FF0000) (2px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 37x19
    +              RenderText {#text} at (4,21) size 37x18
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,73) size 44x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (91,75) size 46x26 [border: (3px outset #00FF00) (5px outset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 37x19
    +              RenderText {#text} at (6,21) size 37x18
                     text run at (6,4) width 37: "outset"
               RenderTableRow {TR} at (0,118) size 137x57
                 RenderTableCell {TD} at (0,134) size 47x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (47,133) size 44x27 [border: (5px outset #FF0000) (2px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 37x17
    +              RenderText {#text} at (4,21) size 37x17
                     text run at (4,6) width 37: "outset"
                 RenderTableCell {TD} at (91,134) size 46x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,20) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-87-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-87-d-expected.txt
    index a93680857c33..f2a59993fb52 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-87-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-87-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 158x175
               RenderTableRow {TR} at (0,0) size 158x58
                 RenderTableCell {TD} at (0,16) size 54x26 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,15) size 51x28 [border: (3px groove #00FF00) (5px groove #FF0000) (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (105,16) size 53x26 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,20) size 44x18
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,58) size 158x60
                 RenderTableCell {TD} at (0,75) size 54x26 [border: (3px groove #00FF00) (5px groove #FF0000) (2px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 44x19
    +              RenderText {#text} at (4,21) size 44x18
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,73) size 51x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (105,75) size 53x26 [border: (3px groove #00FF00) (5px groove #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 44x19
    +              RenderText {#text} at (6,21) size 44x18
                     text run at (6,4) width 44: "groove"
               RenderTableRow {TR} at (0,118) size 158x57
                 RenderTableCell {TD} at (0,134) size 54x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (54,133) size 51x27 [border: (5px groove #FF0000) (2px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 44x17
    +              RenderText {#text} at (4,21) size 44x17
                     text run at (4,6) width 44: "groove"
                 RenderTableCell {TD} at (105,134) size 53x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,20) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-88-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-88-d-expected.txt
    index 184518c1f3ba..00e0a2fa4938 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-88-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-88-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x238
             RenderTableSection {TBODY} at (2,2) size 118x175
               RenderTableRow {TR} at (0,0) size 118x58
                 RenderTableCell {TD} at (0,16) size 39x26 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,15) size 41x28 [border: (3px inset #00FF00) (5px inset #FF0000) (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (80,16) size 38x26 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,20) size 29x18
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,58) size 118x60
                 RenderTableCell {TD} at (0,75) size 39x26 [border: (3px inset #00FF00) (5px inset #FF0000) (2px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,3) size 29x19
    +              RenderText {#text} at (4,21) size 29x18
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,73) size 41x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (80,75) size 38x26 [border: (3px inset #00FF00) (5px inset #FF0000)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,3) size 29x19
    +              RenderText {#text} at (6,21) size 29x18
                     text run at (6,4) width 29: "inset"
               RenderTableRow {TR} at (0,118) size 118x57
                 RenderTableCell {TD} at (0,134) size 39x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (39,133) size 41x27 [border: (5px inset #FF0000) (2px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,6) size 29x17
    +              RenderText {#text} at (4,21) size 29x17
                     text run at (4,6) width 29: "inset"
                 RenderTableCell {TD} at (80,134) size 38x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,20) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-89-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-89-d-expected.txt
    index 41221d1f6feb..df7fd379353d 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-89-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-89-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (0,0) size 117x170
               RenderTableRow {TR} at (0,0) size 117x55
                 RenderTableCell {TD} at (0,17) size 38x21 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,15) size 41x25 [border: none] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (79,17) size 38x21 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,55) size 117x60
                 RenderTableCell {TD} at (0,75) size 38x20 [border: none] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,70) size 41x30 [border: (5px inset #00FF00)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (6,6) size 29x17
    +              RenderText {#text} at (6,21) size 29x17
                     text run at (6,6) width 29: "inset"
                 RenderTableCell {TD} at (79,75) size 38x20 [border: none] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (6,1) size 31x17
    +              RenderText {#text} at (6,21) size 31x17
                     text run at (6,1) width 31: "none"
               RenderTableRow {TR} at (0,115) size 117x55
                 RenderTableCell {TD} at (0,132) size 38x21 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (38,130) size 41x25 [border: (5px none #FF0000)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,6) size 31x17
    +              RenderText {#text} at (1,21) size 31x17
                     text run at (1,6) width 31: "none"
                 RenderTableCell {TD} at (79,132) size 38x21 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,0) size 31x19
    +              RenderText {#text} at (1,18) size 31x18
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-90-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-90-d-expected.txt
    index 0ce1a055821a..4c3084d4e7f0 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-90-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-90-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 135x150
               RenderTableRow {TR} at (0,0) size 135x50
                 RenderTableCell {TD} at (0,15) size 45x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,15) size 45x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,15) size 45x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,50) size 135x50
                 RenderTableCell {TD} at (0,65) size 45x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,65) size 45x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (90,65) size 45x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
               RenderTableRow {TR} at (0,100) size 135x50
                 RenderTableCell {TD} at (0,115) size 45x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (45,115) size 45x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
                 RenderTableCell {TD} at (90,115) size 45x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 43x17
    +              RenderText {#text} at (1,16) size 43x17
                     text run at (1,1) width 43: "hidden"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-91-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-91-d-expected.txt
    index 59ca6ccb2e44..b96c0442ea7e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-91-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-91-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 150x165
               RenderTableRow {TR} at (0,0) size 150x55
                 RenderTableCell {TD} at (0,15) size 50x25 [border: (3px double #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,15) size 50x25 [border: (3px double #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (100,15) size 50x25 [border: (3px double #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,55) size 150x55
                 RenderTableCell {TD} at (0,70) size 50x25 [border: (3px double #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,70) size 50x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (100,70) size 50x25 [border: (3px double #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
               RenderTableRow {TR} at (0,110) size 150x55
                 RenderTableCell {TD} at (0,125) size 50x25 [border: (3px double #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (50,125) size 50x25 [border: (3px double #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
                 RenderTableCell {TD} at (100,125) size 50x25 [border: (3px double #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 43x17
    +              RenderText {#text} at (4,19) size 43x17
                     text run at (4,4) width 43: "double"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-92-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-92-d-expected.txt
    index 265ba1d0c33b..6e27f3e71f2e 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-92-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-92-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 112x165
               RenderTableRow {TR} at (0,0) size 112x55
                 RenderTableCell {TD} at (0,15) size 37x25 [border: (3px solid #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,15) size 38x25 [border: (3px solid #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (75,15) size 37x25 [border: (3px solid #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,55) size 112x55
                 RenderTableCell {TD} at (0,70) size 37x25 [border: (3px solid #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,70) size 38x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (75,70) size 37x25 [border: (3px solid #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
               RenderTableRow {TR} at (0,110) size 112x55
                 RenderTableCell {TD} at (0,125) size 37x25 [border: (3px solid #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (37,125) size 38x25 [border: (3px solid #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
                 RenderTableCell {TD} at (75,125) size 37x25 [border: (3px solid #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 30x17
    +              RenderText {#text} at (4,19) size 30x17
                     text run at (4,4) width 30: "solid"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-93-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-93-d-expected.txt
    index 456be135c337..f130bee411a9 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-93-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-93-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 153x165
               RenderTableRow {TR} at (0,0) size 153x55
                 RenderTableCell {TD} at (0,15) size 51x25 [border: (3px dashed #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,15) size 51x25 [border: (3px dashed #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (102,15) size 51x25 [border: (3px dashed #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,55) size 153x55
                 RenderTableCell {TD} at (0,70) size 51x25 [border: (3px dashed #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,70) size 51x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (102,70) size 51x25 [border: (3px dashed #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
               RenderTableRow {TR} at (0,110) size 153x55
                 RenderTableCell {TD} at (0,125) size 51x25 [border: (3px dashed #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (51,125) size 51x25 [border: (3px dashed #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
                 RenderTableCell {TD} at (102,125) size 51x25 [border: (3px dashed #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "dashed"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-94-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-94-d-expected.txt
    index 923bdb054a7e..7bb3899d6af5 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-94-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-94-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 138x165
               RenderTableRow {TR} at (0,0) size 138x55
                 RenderTableCell {TD} at (0,15) size 46x25 [border: (3px dotted #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,15) size 46x25 [border: (3px dotted #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (92,15) size 46x25 [border: (3px dotted #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,55) size 138x55
                 RenderTableCell {TD} at (0,70) size 46x25 [border: (3px dotted #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,70) size 46x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (92,70) size 46x25 [border: (3px dotted #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
               RenderTableRow {TR} at (0,110) size 138x55
                 RenderTableCell {TD} at (0,125) size 46x25 [border: (3px dotted #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (46,125) size 46x25 [border: (3px dotted #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
                 RenderTableCell {TD} at (92,125) size 46x25 [border: (3px dotted #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 39x17
    +              RenderText {#text} at (4,19) size 39x17
                     text run at (4,4) width 39: "dotted"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-95-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-95-d-expected.txt
    index 9a4e8dec7656..ddc21372cd63 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-95-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-95-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 117x165
               RenderTableRow {TR} at (0,0) size 117x55
                 RenderTableCell {TD} at (0,15) size 39x25 [border: (3px ridge #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,15) size 39x25 [border: (3px ridge #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (78,15) size 39x25 [border: (3px ridge #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,55) size 117x55
                 RenderTableCell {TD} at (0,70) size 39x25 [border: (3px ridge #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,70) size 39x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (78,70) size 39x25 [border: (3px ridge #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
               RenderTableRow {TR} at (0,110) size 117x55
                 RenderTableCell {TD} at (0,125) size 39x25 [border: (3px ridge #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (39,125) size 39x25 [border: (3px ridge #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
                 RenderTableCell {TD} at (78,125) size 39x25 [border: (3px ridge #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 32x17
    +              RenderText {#text} at (4,19) size 32x17
                     text run at (4,4) width 32: "ridge"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-96-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-96-d-expected.txt
    index c76b72d68e87..a4b882a3dca5 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-96-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-96-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 132x165
               RenderTableRow {TR} at (0,0) size 132x55
                 RenderTableCell {TD} at (0,15) size 44x25 [border: (3px outset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,15) size 44x25 [border: (3px outset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (88,15) size 44x25 [border: (3px outset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,55) size 132x55
                 RenderTableCell {TD} at (0,70) size 44x25 [border: (3px outset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,70) size 44x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (88,70) size 44x25 [border: (3px outset #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
               RenderTableRow {TR} at (0,110) size 132x55
                 RenderTableCell {TD} at (0,125) size 44x25 [border: (3px outset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (44,125) size 44x25 [border: (3px outset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
                 RenderTableCell {TD} at (88,125) size 44x25 [border: (3px outset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 37x17
    +              RenderText {#text} at (4,19) size 37x17
                     text run at (4,4) width 37: "outset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-97-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-97-d-expected.txt
    index 073ad1f9b7e0..70bcc40a1381 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-97-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-97-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 153x165
               RenderTableRow {TR} at (0,0) size 153x55
                 RenderTableCell {TD} at (0,15) size 51x25 [border: (3px groove #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,15) size 51x25 [border: (3px groove #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (102,15) size 51x25 [border: (3px groove #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,55) size 153x55
                 RenderTableCell {TD} at (0,70) size 51x25 [border: (3px groove #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,70) size 51x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (102,70) size 51x25 [border: (3px groove #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
               RenderTableRow {TR} at (0,110) size 153x55
                 RenderTableCell {TD} at (0,125) size 51x25 [border: (3px groove #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (51,125) size 51x25 [border: (3px groove #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
                 RenderTableCell {TD} at (102,125) size 51x25 [border: (3px groove #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 44x17
    +              RenderText {#text} at (4,19) size 44x17
                     text run at (4,4) width 44: "groove"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-98-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-98-d-expected.txt
    index 9e91f7f96b57..e0164a4f8874 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-98-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-98-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x228
             RenderTableSection {TBODY} at (2,2) size 110x165
               RenderTableRow {TR} at (0,0) size 110x55
                 RenderTableCell {TD} at (0,15) size 36x25 [border: (3px inset #00FF00)] [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,15) size 38x25 [border: (3px inset #00FF00)] [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (74,15) size 36x25 [border: (3px inset #00FF00)] [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,55) size 110x55
                 RenderTableCell {TD} at (0,70) size 36x25 [border: (3px inset #00FF00)] [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,70) size 38x25 [border: (3px none #FF0000)] [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 31x17
    +              RenderText {#text} at (4,19) size 31x17
                     text run at (4,4) width 31: "none"
                 RenderTableCell {TD} at (74,70) size 36x25 [border: (3px inset #00FF00)] [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
               RenderTableRow {TR} at (0,110) size 110x55
                 RenderTableCell {TD} at (0,125) size 36x25 [border: (3px inset #00FF00)] [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (36,125) size 38x25 [border: (3px inset #00FF00)] [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
                 RenderTableCell {TD} at (74,125) size 36x25 [border: (3px inset #00FF00)] [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (4,4) size 29x17
    +              RenderText {#text} at (4,19) size 29x17
                     text run at (4,4) width 29: "inset"
    diff --git a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-99-d-expected.txt b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-99-d-expected.txt
    index 52176f9f428f..3d26abb9afb7 100644
    --- a/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-99-d-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/t170602-bdr-conflct-w-99-d-expected.txt
    @@ -10,31 +10,31 @@ layer at (0,0) size 800x208
             RenderTableSection {TBODY} at (0,0) size 99x150
               RenderTableRow {TR} at (0,0) size 99x50
                 RenderTableCell {TD} at (0,15) size 33x20 [r=0 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,15) size 33x20 [r=0 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (66,15) size 33x20 [r=0 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,50) size 99x50
                 RenderTableCell {TD} at (0,65) size 33x20 [r=1 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,65) size 33x20 [r=1 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (66,65) size 33x20 [r=1 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
               RenderTableRow {TR} at (0,100) size 99x50
                 RenderTableCell {TD} at (0,115) size 33x20 [r=2 c=0 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (33,115) size 33x20 [r=2 c=1 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
                 RenderTableCell {TD} at (66,115) size 33x20 [r=2 c=2 rs=1 cs=1]
    -              RenderText {#text} at (1,1) size 31x17
    +              RenderText {#text} at (1,16) size 31x17
                     text run at (1,1) width 31: "none"
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-055-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-055-expected.txt
    index c2aa1b78fa01..d19009602325 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-055-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-055-expected.txt
    @@ -17,7 +17,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,104) size 780x39
    @@ -25,7 +25,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,175) size 780x39
    @@ -33,7 +33,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
     layer at (8,50) size 159x249
    @@ -45,7 +45,7 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,104) size 155x39
    @@ -53,7 +53,7 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,175) size 155x39
    @@ -61,6 +61,6 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-056-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-056-expected.txt
    index c2aa1b78fa01..d19009602325 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-056-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-056-expected.txt
    @@ -17,7 +17,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,104) size 780x39
    @@ -25,7 +25,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,175) size 780x39
    @@ -33,7 +33,7 @@ layer at (8,50) size 784x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
     layer at (8,50) size 159x249
    @@ -45,7 +45,7 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,104) size 155x39
    @@ -53,7 +53,7 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
           RenderBlock {div} at (1,175) size 155x39
    @@ -61,6 +61,6 @@ layer at (8,50) size 159x249
               RenderTableSection (anonymous) at (0,0) size 155x39
                 RenderTableRow (anonymous) at (0,0) size 155x39
                   RenderTableCell {span} at (0,0) size 155x39 [border: (1px solid #008000)] [r=0 c=0 rs=1 cs=1]
    -                RenderInline {b} at (0,0) size 153x36
    +                RenderInline {b} at (1,1) size 153x36
                       RenderText {#text} at (1,1) size 153x36
                         text run at (1,1) width 153: "Hello Kitty"
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-091-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-091-expected.txt
    index 7486226f6495..920c00020c0b 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-091-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-091-expected.txt
    @@ -17,7 +17,7 @@ layer at (8,41) size 784x92
                 RenderInline {span} at (0,0) size 112x30
                   RenderText {#text} at (0,0) size 112x30
                     text run at (0,0) width 112: "Row 1, "
    -            RenderInline {span} at (0,0) size 80x30
    +            RenderInline {span} at (112,0) size 80x30
                   RenderText {#text} at (112,0) size 80x30
                     text run at (112,0) width 80: "Col 1"
               RenderTableCell {span} at (224,0) size 224x30 [r=0 c=1 rs=1 cs=1]
    @@ -38,13 +38,13 @@ layer at (8,41) size 784x92
                 RenderInline {span} at (0,0) size 64x30
                   RenderText {#text} at (0,0) size 64x30
                     text run at (0,0) width 64: "Row "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (64,0) size 64x30
                   RenderText {#text} at (64,0) size 64x30
                     text run at (64,0) width 64: "22, "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (128,0) size 64x30
                   RenderText {#text} at (128,0) size 64x30
                     text run at (128,0) width 64: "Col "
    -            RenderInline {span} at (0,0) size 16x30
    +            RenderInline {span} at (192,0) size 16x30
                   RenderText {#text} at (192,0) size 16x30
                     text run at (192,0) width 16: "2"
               RenderTableCell {span} at (448,30) size 224x30 [r=1 c=2 rs=1 cs=1]
    @@ -65,13 +65,13 @@ layer at (8,41) size 784x92
                 RenderInline {span} at (0,0) size 64x30
                   RenderText {#text} at (0,0) size 64x30
                     text run at (0,0) width 64: "Row "
    -            RenderInline {span} at (0,0) size 80x30
    +            RenderInline {span} at (64,0) size 80x30
                   RenderText {#text} at (64,0) size 80x30
                     text run at (64,0) width 80: "333, "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (144,0) size 64x30
                   RenderText {#text} at (144,0) size 64x30
                     text run at (144,0) width 64: "Col "
    -            RenderInline {span} at (0,0) size 16x30
    +            RenderInline {span} at (208,0) size 16x30
                   RenderText {#text} at (208,0) size 16x30
                     text run at (208,0) width 16: "3"
     layer at (8,41) size 674x92
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-092-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-092-expected.txt
    index e5c91a541642..9ed8d4caa919 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-092-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-092-expected.txt
    @@ -51,7 +51,7 @@ layer at (8,41) size 674x92
                 RenderInline {span} at (0,0) size 112x30
                   RenderText {#text} at (0,0) size 112x30
                     text run at (0,0) width 112: "Row 1, "
    -            RenderInline {span} at (0,0) size 80x30
    +            RenderInline {span} at (112,0) size 80x30
                   RenderText {#text} at (112,0) size 80x30
                     text run at (112,0) width 80: "Col 1"
               RenderTableCell {span} at (224,0) size 224x30 [r=0 c=1 rs=1 cs=1]
    @@ -72,13 +72,13 @@ layer at (8,41) size 674x92
                 RenderInline {span} at (0,0) size 64x30
                   RenderText {#text} at (0,0) size 64x30
                     text run at (0,0) width 64: "Row "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (64,0) size 64x30
                   RenderText {#text} at (64,0) size 64x30
                     text run at (64,0) width 64: "22, "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (128,0) size 64x30
                   RenderText {#text} at (128,0) size 64x30
                     text run at (128,0) width 64: "Col "
    -            RenderInline {span} at (0,0) size 16x30
    +            RenderInline {span} at (192,0) size 16x30
                   RenderText {#text} at (192,0) size 16x30
                     text run at (192,0) width 16: "2"
               RenderTableCell {span} at (448,30) size 224x30 [r=1 c=2 rs=1 cs=1]
    @@ -99,12 +99,12 @@ layer at (8,41) size 674x92
                 RenderInline {span} at (0,0) size 64x30
                   RenderText {#text} at (0,0) size 64x30
                     text run at (0,0) width 64: "Row "
    -            RenderInline {span} at (0,0) size 80x30
    +            RenderInline {span} at (64,0) size 80x30
                   RenderText {#text} at (64,0) size 80x30
                     text run at (64,0) width 80: "333, "
    -            RenderInline {span} at (0,0) size 64x30
    +            RenderInline {span} at (144,0) size 64x30
                   RenderText {#text} at (144,0) size 64x30
                     text run at (144,0) width 64: "Col "
    -            RenderInline {span} at (0,0) size 16x30
    +            RenderInline {span} at (208,0) size 16x30
                   RenderText {#text} at (208,0) size 16x30
                     text run at (208,0) width 16: "3"
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-115-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-115-expected.txt
    index b5b6a7555c07..fa4ceb2f7f1b 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-115-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-115-expected.txt
    @@ -14,7 +14,7 @@ layer at (8,50) size 784x39
           RenderInline {span} at (0,0) size 38x36
             RenderText {#text} at (0,0) size 38x36
               text run at (0,0) width 38: "a b"
    -      RenderInline {span} at (0,0) size 38x36
    +      RenderInline {span} at (38,0) size 38x36
             RenderText {#text} at (38,0) size 38x36
               text run at (38,0) width 38: "c d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-116-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-116-expected.txt
    index 2357c4986532..3a0bdf758f48 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-116-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-116-expected.txt
    @@ -18,7 +18,7 @@ layer at (8,50) size 78x39
           RenderInline {span} at (0,0) size 38x36
             RenderText {#text} at (0,0) size 38x36
               text run at (0,0) width 38: "a b"
    -      RenderInline {span} at (0,0) size 38x36
    +      RenderInline {span} at (38,0) size 38x36
             RenderText {#text} at (38,0) size 38x36
               text run at (38,0) width 38: "c d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-117-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-117-expected.txt
    index bbdf0d0086d5..0c516f3180c7 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-117-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-117-expected.txt
    @@ -10,14 +10,14 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 68x36
    +    RenderInline {span} at (1,1) size 68x36
           RenderText {#text} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 14x36
    +      RenderInline {span} at (1,1) size 14x36
             RenderText {#text} at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderTable at (15,30) size 0x0
             RenderTableCol {span} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 54x36
    +      RenderInline {span} at (15,1) size 54x36
             RenderText {#text} at (15,1) size 54x36
               text run at (15,1) width 54: "bc d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-118-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-118-expected.txt
    index 6c46d1cbc54c..70a6926a2e30 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-118-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-118-expected.txt
    @@ -14,14 +14,14 @@ layer at (8,50) size 784x39
           text run at (1,1) width 68: "abc d"
     layer at (8,50) size 70x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 70x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 68x36
    +    RenderInline {span} at (1,1) size 68x36
           RenderText {#text} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 14x36
    +      RenderInline {span} at (1,1) size 14x36
             RenderText {#text} at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderTable at (15,30) size 0x0
             RenderTableCol {span} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 54x36
    +      RenderInline {span} at (15,1) size 54x36
             RenderText {#text} at (15,1) size 54x36
               text run at (15,1) width 54: "bc d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-119-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-119-expected.txt
    index 4613172898a0..9594f4b94e5d 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-119-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-119-expected.txt
    @@ -10,14 +10,14 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 68x36
    +    RenderInline {span} at (1,1) size 68x36
           RenderText {#text} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 14x36
    +      RenderInline {span} at (1,1) size 14x36
             RenderText {#text} at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderTable at (15,30) size 0x0
             RenderBlock {span} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 54x36
    +      RenderInline {span} at (15,1) size 54x36
             RenderText {#text} at (15,1) size 54x36
               text run at (15,1) width 54: "bc d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-120-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-120-expected.txt
    index ae615e44a5a2..f9360ee80ba7 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-120-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-120-expected.txt
    @@ -14,14 +14,14 @@ layer at (8,50) size 784x39
           text run at (1,1) width 68: "abc d"
     layer at (8,50) size 70x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 70x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 68x36
    +    RenderInline {span} at (1,1) size 68x36
           RenderText {#text} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 14x36
    +      RenderInline {span} at (1,1) size 14x36
             RenderText {#text} at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderTable at (15,30) size 0x0
             RenderBlock {span} at (0,0) size 0x0
    -      RenderInline {span} at (0,0) size 54x36
    +      RenderInline {span} at (15,1) size 54x36
             RenderText {#text} at (15,1) size 54x36
               text run at (15,1) width 54: "bc d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-121-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-121-expected.txt
    index b5b6a7555c07..fa4ceb2f7f1b 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-121-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-121-expected.txt
    @@ -14,7 +14,7 @@ layer at (8,50) size 784x39
           RenderInline {span} at (0,0) size 38x36
             RenderText {#text} at (0,0) size 38x36
               text run at (0,0) width 38: "a b"
    -      RenderInline {span} at (0,0) size 38x36
    +      RenderInline {span} at (38,0) size 38x36
             RenderText {#text} at (38,0) size 38x36
               text run at (38,0) width 38: "c d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-122-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-122-expected.txt
    index 2357c4986532..3a0bdf758f48 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-122-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-122-expected.txt
    @@ -18,7 +18,7 @@ layer at (8,50) size 78x39
           RenderInline {span} at (0,0) size 38x36
             RenderText {#text} at (0,0) size 38x36
               text run at (0,0) width 38: "a b"
    -      RenderInline {span} at (0,0) size 38x36
    +      RenderInline {span} at (38,0) size 38x36
             RenderText {#text} at (38,0) size 38x36
               text run at (38,0) width 38: "c d"
           RenderText {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-177-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-177-expected.txt
    index 2023410acd9a..98ffa7dcf9bb 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-177-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-177-expected.txt
    @@ -10,7 +10,7 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 22x36
             text run at (1,1) width 22: "a "
           RenderTable at (23,1) size 30x37
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-178-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-178-expected.txt
    index c36394e0f290..6102fd5c34cf 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-178-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-178-expected.txt
    @@ -14,7 +14,7 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 22x36
             text run at (1,1) width 22: "a "
           RenderTable at (23,1) size 30x37
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-179-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-179-expected.txt
    index 2023410acd9a..98ffa7dcf9bb 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-179-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-179-expected.txt
    @@ -10,7 +10,7 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 22x36
             text run at (1,1) width 22: "a "
           RenderTable at (23,1) size 30x37
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-180-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-180-expected.txt
    index c36394e0f290..6102fd5c34cf 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-180-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-180-expected.txt
    @@ -14,7 +14,7 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 22x36
             text run at (1,1) width 22: "a "
           RenderTable at (23,1) size 30x37
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-181-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-181-expected.txt
    index 71ca32e156ad..5e02435c23f5 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-181-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-181-expected.txt
    @@ -12,7 +12,7 @@ layer at (8,0) size 20x18
                 RenderTableCell {span} at (0,0) size 8x18 [r=0 c=0 rs=1 cs=1]
                   RenderText {#text} at (0,0) size 8x17
                     text run at (0,0) width 8: "b"
    -      RenderInline (generated) at (0,0) size 12x17
    +      RenderInline (generated) at (8,0) size 12x17
             RenderText at (8,0) size 12x17
               text run at (8,0) width 12: " d"
         RenderText zI: 1 {#text} at (0,0) size 0x0
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-189-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-189-expected.txt
    index 331ec441a7a7..273381d0728d 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-189-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-189-expected.txt
    @@ -10,8 +10,8 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-190-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-190-expected.txt
    index a3d8a80bfb13..49d0f0658a0f 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-190-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-190-expected.txt
    @@ -14,8 +14,8 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-191-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-191-expected.txt
    index 331ec441a7a7..273381d0728d 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-191-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-191-expected.txt
    @@ -10,8 +10,8 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-192-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-192-expected.txt
    index a3d8a80bfb13..49d0f0658a0f 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-192-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-192-expected.txt
    @@ -14,8 +14,8 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-193-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-193-expected.txt
    index 331ec441a7a7..273381d0728d 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-193-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-193-expected.txt
    @@ -10,8 +10,8 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-194-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-194-expected.txt
    index a3d8a80bfb13..49d0f0658a0f 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-194-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-194-expected.txt
    @@ -14,8 +14,8 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-195-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-195-expected.txt
    index 331ec441a7a7..273381d0728d 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-195-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-195-expected.txt
    @@ -10,8 +10,8 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-196-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-196-expected.txt
    index a3d8a80bfb13..49d0f0658a0f 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-196-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-196-expected.txt
    @@ -14,8 +14,8 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    -      RenderInline (generated) at (0,0) size 14x36
    +    RenderInline {span} at (1,1) size 76x36
    +      RenderInline (generated) at (1,1) size 14x36
             RenderText at (1,1) size 14x36
               text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-205-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-205-expected.txt
    index 0773419f444d..89fe82ad9ecc 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-205-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-205-expected.txt
    @@ -10,7 +10,7 @@ layer at (8,50) size 784x39
       RenderBlock (relative positioned) {div} at (0,34) size 784x39
     layer at (8,50) size 784x39
       RenderBlock (relative positioned) zI: 1 {div} at (0,0) size 784x39 [color=#FF0000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 14x36
             text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-206-expected.txt b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-206-expected.txt
    index a993f7c2ac20..35e364c20803 100644
    --- a/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-206-expected.txt
    +++ b/LayoutTests/platform/glib/css2.1/tables/table-anonymous-objects-206-expected.txt
    @@ -14,7 +14,7 @@ layer at (8,50) size 784x39
           text run at (1,1) width 76: "a bc d"
     layer at (8,50) size 78x39
       RenderBlock (positioned) zI: 2 {div} at (0,0) size 78x39 [color=#008000]
    -    RenderInline {span} at (0,0) size 76x36
    +    RenderInline {span} at (1,1) size 76x36
           RenderText {#text} at (1,1) size 14x36
             text run at (1,1) width 14: "a"
           RenderText {#text} at (15,1) size 8x36
    diff --git a/LayoutTests/platform/glib/css3/flexbox/button-expected.txt b/LayoutTests/platform/glib/css3/flexbox/button-expected.txt
    index 28710256e32b..0759cc43b48f 100644
    --- a/LayoutTests/platform/glib/css3/flexbox/button-expected.txt
    +++ b/LayoutTests/platform/glib/css3/flexbox/button-expected.txt
    @@ -8,7 +8,7 @@ layer at (0,0) size 800x246
               text run at (0,0) width 402: "Test for empty buttons, which inherit from RenderFlexibleBox. "
               text run at (401,0) width 363: "Empty  buttons should not collapse, which makes"
               text run at (0,18) width 487: "them different from most flex boxes. Empty