Changeset 292270 in webkit
- Timestamp:
- Apr 2, 2022 2:03:18 PM (2 years ago)
- Location:
- trunk
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r292268 r292270 1 2022-04-02 Alan Bujtas <zalan@apple.com> 2 3 [Ruby] Remove incorrect implicit integral floor in RenderRubyText::adjustInlineDirectionLineBounds 4 https://bugs.webkit.org/show_bug.cgi?id=238671 5 6 Reviewed by Simon Fraser. 7 8 * TestExpectations: 9 * fast/ruby/bopomofo-mixed-expected.txt: 10 * platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt: 11 * platform/mac/fast/ruby/bopomofo-expected.txt: 12 * platform/mac/fast/ruby/bopomofo-letter-spacing-expected.txt: 13 * platform/mac/fast/ruby/bopomofo-rl-expected.txt: 14 * platform/mac/fast/ruby/ruby-run-break-expected.txt: 15 * platform/mac/fast/ruby/ruby-runs-expected.txt: 16 * platform/mac/fast/ruby/ruby-runs-spans-expected.txt: 17 * platform/mac/fast/ruby/ruby-text-before-after-content-expected.txt: 18 * platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt: 19 * platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt: 20 1 21 2022-04-02 Ziran Sun <zsun@igalia.com> 2 22 -
trunk/LayoutTests/TestExpectations
r292268 r292270 4648 4648 # webkit-ruby-text 4649 4649 imported/w3c/web-platform-tests/css/css-contain/contain-layout-017.html [ ImageOnlyFailure ] 4650 imported/w3c/web-platform-tests/css/css-contain/contain-paint-008.html [ ImageOnlyFailure ]4651 4650 imported/w3c/web-platform-tests/css/css-contain/contain-paint-021.html [ ImageOnlyFailure ] 4652 4651 imported/w3c/web-platform-tests/css/css-contain/contain-paint-clip-015.html [ ImageOnlyFailure ] -
trunk/LayoutTests/fast/ruby/bopomofo-mixed-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 11x8 11 11 RenderRubyText {RT} at (10,0) size 10x8 12 RenderText {#text} at (0, 3) size 9x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 9x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 11x8 15 15 RenderText {#text} at (1,0) size 9x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 11x16 24 24 RenderRubyText {RT} at (10,0) size 10x16 25 RenderText {#text} at (0, 7) size 9x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 9x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 11x16 28 28 RenderText {#text} at (1,0) size 9x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 11x8 37 37 RenderRubyText {RT} at (10,0) size 10x8 38 RenderText {#text} at (0, 3) size 9x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 9x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 11x8 41 41 RenderText {#text} at (1,0) size 9x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 11x16 50 50 RenderRubyText {RT} at (10,0) size 10x16 51 RenderText {#text} at (0, 7) size 9x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 9x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 11x16 54 54 RenderText {#text} at (1,0) size 9x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 11x8 63 63 RenderRubyText {RT} at (10,0) size 10x8 64 RenderText {#text} at (0, 3) size 9x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 9x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 11x8 67 67 RenderText {#text} at (1,0) size 9x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 11x16 83 83 RenderRubyText {RT} at (10,0) size 10x16 84 RenderText {#text} at (0, 7) size 9x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 9x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 11x16 87 87 RenderText {#text} at (1,0) size 9x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 11x16 96 96 RenderRubyText {RT} at (10,0) size 9x16 97 RenderText {#text} at (0, 7) size 9x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 9x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 11x16 100 100 RenderText {#text} at (1,0) size 9x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 11x16 116 116 RenderRubyText {RT} at (10,0) size 10x16 117 RenderText {#text} at (0, 7) size 9x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 9x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 11x16 120 120 RenderText {#text} at (1,0) size 9x16 -
trunk/LayoutTests/platform/ios/fast/css/bidi-override-in-anonymous-block-expected.txt
r286113 r292270 143 143 RenderRubyRun (anonymous) at (89,29) size 13x0 144 144 RenderRubyText {RT} at (0,-11) size 12x12 145 RenderText {#text} at (0,0) size 1 3x11145 RenderText {#text} at (0,0) size 12x11 146 146 text run at (0,0) width 12: "def" 147 147 RenderText {#text} at (84,12) size 5x19 -
trunk/LayoutTests/platform/ios/fast/ruby/bopomofo-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 12x8 11 11 RenderRubyText {RT} at (11,0) size 11x8 12 RenderText {#text} at (0, 3) size 10x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 10x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 12x8 15 15 RenderText {#text} at (1,0) size 10x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 12x16 24 24 RenderRubyText {RT} at (11,0) size 11x16 25 RenderText {#text} at (0, 7) size 10x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 10x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 12x16 28 28 RenderText {#text} at (1,0) size 10x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 12x8 37 37 RenderRubyText {RT} at (11,0) size 11x8 38 RenderText {#text} at (0, 3) size 10x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 10x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 12x8 41 41 RenderText {#text} at (1,0) size 10x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 12x16 50 50 RenderRubyText {RT} at (11,0) size 11x16 51 RenderText {#text} at (0, 7) size 10x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 10x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 12x16 54 54 RenderText {#text} at (1,0) size 10x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 12x8 63 63 RenderRubyText {RT} at (11,0) size 11x8 64 RenderText {#text} at (0, 3) size 10x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 10x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 12x8 67 67 RenderText {#text} at (1,0) size 10x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 12x16 83 83 RenderRubyText {RT} at (11,0) size 11x16 84 RenderText {#text} at (0, 7) size 10x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 10x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 12x16 87 87 RenderText {#text} at (1,0) size 10x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 12x16 96 96 RenderRubyText {RT} at (11,0) size 11x16 97 RenderText {#text} at (0, 7) size 10x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 10x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 12x16 100 100 RenderText {#text} at (1,0) size 10x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 12x16 116 116 RenderRubyText {RT} at (11,0) size 11x16 117 RenderText {#text} at (0, 7) size 10x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 10x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 12x16 120 120 RenderText {#text} at (1,0) size 10x16 -
trunk/LayoutTests/platform/ios/fast/ruby/bopomofo-letter-spacing-expected.txt
r268958 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 12x8 11 11 RenderRubyText {RT} at (11,0) size 11x8 12 RenderText {#text} at (0, 3) size 10x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 10x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 12x8 15 15 RenderText {#text} at (1,0) size 10x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 12x16 24 24 RenderRubyText {RT} at (11,0) size 11x16 25 RenderText {#text} at (0, 7) size 10x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 10x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 12x16 28 28 RenderText {#text} at (1,0) size 10x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 12x8 37 37 RenderRubyText {RT} at (11,0) size 11x8 38 RenderText {#text} at (0, 3) size 10x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 10x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 12x8 41 41 RenderText {#text} at (1,0) size 10x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 12x16 50 50 RenderRubyText {RT} at (11,0) size 11x16 51 RenderText {#text} at (0, 7) size 10x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 10x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 12x16 54 54 RenderText {#text} at (1,0) size 10x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 12x8 63 63 RenderRubyText {RT} at (11,0) size 11x8 64 RenderText {#text} at (0, 3) size 10x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 10x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 12x8 67 67 RenderText {#text} at (1,0) size 10x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 12x16 83 83 RenderRubyText {RT} at (11,0) size 11x16 84 RenderText {#text} at (0, 7) size 10x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 10x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 12x16 87 87 RenderText {#text} at (1,0) size 10x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 12x16 96 96 RenderRubyText {RT} at (11,0) size 11x16 97 RenderText {#text} at (0, 7) size 10x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 10x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 12x16 100 100 RenderText {#text} at (1,0) size 10x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 12x16 116 116 RenderRubyText {RT} at (11,0) size 11x16 117 RenderText {#text} at (0, 7) size 10x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 10x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 12x16 120 120 RenderText {#text} at (1,0) size 10x16 -
trunk/LayoutTests/platform/ios/fast/ruby/bopomofo-mixed-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 12x8 11 11 RenderRubyText {RT} at (11,0) size 11x8 12 RenderText {#text} at (0, 3) size 10x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 10x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 12x8 15 15 RenderText {#text} at (1,0) size 10x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 12x16 24 24 RenderRubyText {RT} at (11,0) size 11x16 25 RenderText {#text} at (0, 7) size 10x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 10x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 12x16 28 28 RenderText {#text} at (1,0) size 10x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 12x8 37 37 RenderRubyText {RT} at (11,0) size 11x8 38 RenderText {#text} at (0, 3) size 10x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 10x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 12x8 41 41 RenderText {#text} at (1,0) size 10x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 12x16 50 50 RenderRubyText {RT} at (11,0) size 11x16 51 RenderText {#text} at (0, 7) size 10x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 10x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 12x16 54 54 RenderText {#text} at (1,0) size 10x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 12x8 63 63 RenderRubyText {RT} at (11,0) size 11x8 64 RenderText {#text} at (0, 3) size 10x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 10x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 12x8 67 67 RenderText {#text} at (1,0) size 10x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 12x16 83 83 RenderRubyText {RT} at (11,0) size 11x16 84 RenderText {#text} at (0, 7) size 10x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 10x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 12x16 87 87 RenderText {#text} at (1,0) size 10x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 12x16 96 96 RenderRubyText {RT} at (11,0) size 11x16 97 RenderText {#text} at (0, 7) size 10x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 10x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 12x16 100 100 RenderText {#text} at (1,0) size 10x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 12x16 116 116 RenderRubyText {RT} at (11,0) size 11x16 117 RenderText {#text} at (0, 7) size 10x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 10x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 12x16 120 120 RenderText {#text} at (1,0) size 10x16 -
trunk/LayoutTests/platform/ios/fast/ruby/bopomofo-rl-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,12) size 12x8 11 11 RenderRubyText {RT} at (-9,0) size 11x8 12 RenderText {#text} at (0, 3) size 10x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 10x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 12x8 15 15 RenderText {#text} at (1,0) size 10x8 … … 23 23 RenderRubyRun (anonymous) at (0,4) size 12x24 24 24 RenderRubyText {RT} at (-9,0) size 11x24 25 RenderText {#text} at (0,1 1) size 10x326 text run at (0,1 1) width 3: "\x{2CB}"25 RenderText {#text} at (0,10) size 10x4 26 text run at (0,10) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 12x24 28 28 RenderText {#text} at (1,0) size 10x24 … … 36 36 RenderRubyRun (anonymous) at (0,12) size 12x8 37 37 RenderRubyText {RT} at (-9,0) size 11x8 38 RenderText {#text} at (0, 3) size 10x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 10x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 12x8 41 41 RenderText {#text} at (1,0) size 10x8 … … 49 49 RenderRubyRun (anonymous) at (0,4) size 12x24 50 50 RenderRubyText {RT} at (-9,0) size 11x24 51 RenderText {#text} at (0,1 1) size 10x352 text run at (0,1 1) width 3: "\x{2CA}"51 RenderText {#text} at (0,10) size 10x4 52 text run at (0,10) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 12x24 54 54 RenderText {#text} at (1,0) size 10x24 … … 62 62 RenderRubyRun (anonymous) at (0,12) size 12x8 63 63 RenderRubyText {RT} at (-9,0) size 11x8 64 RenderText {#text} at (0, 3) size 10x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 10x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 12x8 67 67 RenderText {#text} at (1,0) size 10x8 … … 73 73 RenderRubyText {RT} at (-5,0) size 12x32 74 74 RenderText {#text} at (1,5) size 10x22 75 text run at (1,5) width 2 1: "\x{3113}\x{2C7}"75 text run at (1,5) width 22: "\x{3113}\x{2C7}" 76 76 RenderRubyBase (anonymous) at (0,0) size 48x32 77 77 RenderText {#text} at (6,0) size 36x32 … … 82 82 RenderRubyRun (anonymous) at (0,4) size 12x24 83 83 RenderRubyText {RT} at (-9,0) size 11x24 84 RenderText {#text} at (0,1 1) size 10x385 text run at (0,1 1) width 3: "\x{2CB}"84 RenderText {#text} at (0,10) size 10x4 85 text run at (0,10) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 12x24 87 87 RenderText {#text} at (1,0) size 10x24 … … 95 95 RenderRubyRun (anonymous) at (0,4) size 12x24 96 96 RenderRubyText {RT} at (-9,0) size 11x24 97 RenderText {#text} at (0,1 1) size 10x398 text run at (0,1 1) width 3: "\x{2C7}"97 RenderText {#text} at (0,10) size 10x4 98 text run at (0,10) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 12x24 100 100 RenderText {#text} at (1,0) size 10x24 … … 115 115 RenderRubyRun (anonymous) at (0,4) size 12x24 116 116 RenderRubyText {RT} at (-9,0) size 11x24 117 RenderText {#text} at (0,1 1) size 10x3118 text run at (0,1 1) width 3: "\x{2CA}"117 RenderText {#text} at (0,10) size 10x4 118 text run at (0,10) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 12x24 120 120 RenderText {#text} at (1,0) size 10x24 -
trunk/LayoutTests/platform/ios/fast/ruby/ruby-text-before-after-content-expected.txt
r179104 r292270 10 10 RenderText at (0,0) size 62x19 11 11 text run at (0,0) width 62: "BEFORE" 12 RenderText {#text} at (61,0) size 7 6x1913 text run at (61,0) width 7 6: "CONTENT"14 RenderInline (generated) at (0,0) size 5 2x1915 RenderText at (136,0) size 5 2x1916 text run at (136,0) width 5 2: "AFTER"12 RenderText {#text} at (61,0) size 75x19 13 text run at (61,0) width 75: "CONTENT" 14 RenderInline (generated) at (0,0) size 51x19 15 RenderText at (136,0) size 51x19 16 text run at (136,0) width 51: "AFTER" 17 17 RenderRubyBase (anonymous) at (0,0) size 187x38 18 18 RenderText {#text} at (81,1) size 24x36 -
trunk/LayoutTests/platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt
r286113 r292270 143 143 RenderRubyRun (anonymous) at (89,27) size 13x0 144 144 RenderRubyText {RT} at (0,-10) size 12x10 145 RenderText {#text} at (0,0) size 1 3x10145 RenderText {#text} at (0,0) size 12x10 146 146 text run at (0,0) width 12: "def" 147 147 RenderText {#text} at (84,11) size 5x18 -
trunk/LayoutTests/platform/mac/fast/ruby/bopomofo-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 11x8 11 11 RenderRubyText {RT} at (10,0) size 10x8 12 RenderText {#text} at (0, 3) size 9x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 9x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 11x8 15 15 RenderText {#text} at (1,0) size 9x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 11x16 24 24 RenderRubyText {RT} at (10,0) size 10x16 25 RenderText {#text} at (0, 7) size 9x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 9x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 11x16 28 28 RenderText {#text} at (1,0) size 9x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 11x8 37 37 RenderRubyText {RT} at (10,0) size 10x8 38 RenderText {#text} at (0, 3) size 9x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 9x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 11x8 41 41 RenderText {#text} at (1,0) size 9x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 11x16 50 50 RenderRubyText {RT} at (10,0) size 10x16 51 RenderText {#text} at (0, 7) size 9x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 9x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 11x16 54 54 RenderText {#text} at (1,0) size 9x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 11x8 63 63 RenderRubyText {RT} at (10,0) size 10x8 64 RenderText {#text} at (0, 3) size 9x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 9x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 11x8 67 67 RenderText {#text} at (1,0) size 9x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 11x16 83 83 RenderRubyText {RT} at (10,0) size 10x16 84 RenderText {#text} at (0, 7) size 9x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 9x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 11x16 87 87 RenderText {#text} at (1,0) size 9x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 11x16 96 96 RenderRubyText {RT} at (10,0) size 9x16 97 RenderText {#text} at (0, 7) size 9x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 9x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 11x16 100 100 RenderText {#text} at (1,0) size 9x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 11x16 116 116 RenderRubyText {RT} at (10,0) size 10x16 117 RenderText {#text} at (0, 7) size 9x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 9x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 11x16 120 120 RenderText {#text} at (1,0) size 9x16 -
trunk/LayoutTests/platform/mac/fast/ruby/bopomofo-letter-spacing-expected.txt
r268958 r292270 10 10 RenderRubyRun (anonymous) at (0,0) size 11x8 11 11 RenderRubyText {RT} at (10,0) size 10x8 12 RenderText {#text} at (0, 3) size 9x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 9x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 11x8 15 15 RenderText {#text} at (1,0) size 9x8 … … 23 23 RenderRubyRun (anonymous) at (0,0) size 11x16 24 24 RenderRubyText {RT} at (10,0) size 10x16 25 RenderText {#text} at (0, 7) size 9x326 text run at (0, 7) width 3: "\x{2CB}"25 RenderText {#text} at (0,6) size 9x4 26 text run at (0,6) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 11x16 28 28 RenderText {#text} at (1,0) size 9x16 … … 36 36 RenderRubyRun (anonymous) at (0,0) size 11x8 37 37 RenderRubyText {RT} at (10,0) size 10x8 38 RenderText {#text} at (0, 3) size 9x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 9x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 11x8 41 41 RenderText {#text} at (1,0) size 9x8 … … 49 49 RenderRubyRun (anonymous) at (0,0) size 11x16 50 50 RenderRubyText {RT} at (10,0) size 10x16 51 RenderText {#text} at (0, 7) size 9x352 text run at (0, 7) width 3: "\x{2CA}"51 RenderText {#text} at (0,6) size 9x4 52 text run at (0,6) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 11x16 54 54 RenderText {#text} at (1,0) size 9x16 … … 62 62 RenderRubyRun (anonymous) at (0,0) size 11x8 63 63 RenderRubyText {RT} at (10,0) size 10x8 64 RenderText {#text} at (0, 3) size 9x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 9x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 11x8 67 67 RenderText {#text} at (1,0) size 9x8 … … 82 82 RenderRubyRun (anonymous) at (0,0) size 11x16 83 83 RenderRubyText {RT} at (10,0) size 10x16 84 RenderText {#text} at (0, 7) size 9x385 text run at (0, 7) width 3: "\x{2CB}"84 RenderText {#text} at (0,6) size 9x4 85 text run at (0,6) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 11x16 87 87 RenderText {#text} at (1,0) size 9x16 … … 95 95 RenderRubyRun (anonymous) at (0,0) size 11x16 96 96 RenderRubyText {RT} at (10,0) size 9x16 97 RenderText {#text} at (0, 7) size 9x398 text run at (0, 7) width 3: "\x{2C7}"97 RenderText {#text} at (0,6) size 9x4 98 text run at (0,6) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 11x16 100 100 RenderText {#text} at (1,0) size 9x16 … … 115 115 RenderRubyRun (anonymous) at (0,0) size 11x16 116 116 RenderRubyText {RT} at (10,0) size 10x16 117 RenderText {#text} at (0, 7) size 9x3118 text run at (0, 7) width 3: "\x{2CA}"117 RenderText {#text} at (0,6) size 9x4 118 text run at (0,6) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 11x16 120 120 RenderText {#text} at (1,0) size 9x16 -
trunk/LayoutTests/platform/mac/fast/ruby/bopomofo-rl-expected.txt
r258990 r292270 10 10 RenderRubyRun (anonymous) at (0,12) size 11x8 11 11 RenderRubyText {RT} at (-8,0) size 10x8 12 RenderText {#text} at (0, 3) size 9x313 text run at (0, 3) width 3: "\x{2CB}"12 RenderText {#text} at (0,2) size 9x4 13 text run at (0,2) width 3: "\x{2CB}" 14 14 RenderRubyBase (anonymous) at (0,0) size 11x8 15 15 RenderText {#text} at (1,0) size 9x8 … … 23 23 RenderRubyRun (anonymous) at (0,4) size 11x24 24 24 RenderRubyText {RT} at (-8,0) size 10x24 25 RenderText {#text} at (0,1 1) size 9x326 text run at (0,1 1) width 3: "\x{2CB}"25 RenderText {#text} at (0,10) size 9x4 26 text run at (0,10) width 3: "\x{2CB}" 27 27 RenderRubyBase (anonymous) at (0,0) size 11x24 28 28 RenderText {#text} at (1,0) size 9x24 … … 36 36 RenderRubyRun (anonymous) at (0,12) size 11x8 37 37 RenderRubyText {RT} at (-8,0) size 10x8 38 RenderText {#text} at (0, 3) size 9x339 text run at (0, 3) width 3: "\x{2CA}"38 RenderText {#text} at (0,2) size 9x4 39 text run at (0,2) width 3: "\x{2CA}" 40 40 RenderRubyBase (anonymous) at (0,0) size 11x8 41 41 RenderText {#text} at (1,0) size 9x8 … … 49 49 RenderRubyRun (anonymous) at (0,4) size 11x24 50 50 RenderRubyText {RT} at (-8,0) size 10x24 51 RenderText {#text} at (0,1 1) size 9x352 text run at (0,1 1) width 3: "\x{2CA}"51 RenderText {#text} at (0,10) size 9x4 52 text run at (0,10) width 3: "\x{2CA}" 53 53 RenderRubyBase (anonymous) at (0,0) size 11x24 54 54 RenderText {#text} at (1,0) size 9x24 … … 62 62 RenderRubyRun (anonymous) at (0,12) size 11x8 63 63 RenderRubyText {RT} at (-8,0) size 10x8 64 RenderText {#text} at (0, 3) size 9x365 text run at (0, 3) width 3: "\x{2CB}"64 RenderText {#text} at (0,2) size 9x4 65 text run at (0,2) width 3: "\x{2CB}" 66 66 RenderRubyBase (anonymous) at (0,0) size 11x8 67 67 RenderText {#text} at (1,0) size 9x8 … … 73 73 RenderRubyText {RT} at (-5,0) size 11x32 74 74 RenderText {#text} at (1,5) size 9x22 75 text run at (1,5) width 2 1: "\x{3113}\x{2C7}"75 text run at (1,5) width 22: "\x{3113}\x{2C7}" 76 76 RenderRubyBase (anonymous) at (0,0) size 48x32 77 77 RenderText {#text} at (5,0) size 37x32 … … 82 82 RenderRubyRun (anonymous) at (0,4) size 11x24 83 83 RenderRubyText {RT} at (-8,0) size 10x24 84 RenderText {#text} at (0,1 1) size 9x385 text run at (0,1 1) width 3: "\x{2CB}"84 RenderText {#text} at (0,10) size 9x4 85 text run at (0,10) width 3: "\x{2CB}" 86 86 RenderRubyBase (anonymous) at (0,0) size 11x24 87 87 RenderText {#text} at (1,0) size 9x24 … … 95 95 RenderRubyRun (anonymous) at (0,4) size 11x24 96 96 RenderRubyText {RT} at (-8,0) size 9x24 97 RenderText {#text} at (0,1 1) size 9x398 text run at (0,1 1) width 3: "\x{2C7}"97 RenderText {#text} at (0,10) size 9x4 98 text run at (0,10) width 3: "\x{2C7}" 99 99 RenderRubyBase (anonymous) at (0,0) size 11x24 100 100 RenderText {#text} at (1,0) size 9x24 … … 115 115 RenderRubyRun (anonymous) at (0,4) size 11x24 116 116 RenderRubyText {RT} at (-8,0) size 10x24 117 RenderText {#text} at (0,1 1) size 9x3118 text run at (0,1 1) width 3: "\x{2CA}"117 RenderText {#text} at (0,10) size 9x4 118 text run at (0,10) width 3: "\x{2CA}" 119 119 RenderRubyBase (anonymous) at (0,0) size 11x24 120 120 RenderText {#text} at (1,0) size 9x24 -
trunk/LayoutTests/platform/mac/fast/ruby/ruby-run-break-expected.txt
r268958 r292270 25 25 RenderRubyRun (anonymous) at (187,12) size 17x18 26 26 RenderRubyText {RT} at (0,-10) size 16x10 27 RenderText {#text} at (0,0) size 1 7x1028 text run at (0,0) width 1 7: "Text"27 RenderText {#text} at (0,0) size 16x10 28 text run at (0,0) width 16: "Text" 29 29 RenderRubyBase (anonymous) at (0,0) size 16x18 30 30 RenderText {#text} at (3,0) size 10x18 -
trunk/LayoutTests/platform/mac/fast/ruby/ruby-runs-expected.txt
r268958 r292270 22 22 RenderRubyRun (anonymous) at (175,10) size 17x18 23 23 RenderRubyText {RT} at (0,-10) size 16x10 24 RenderText {#text} at (0,0) size 1 7x1025 text run at (0,0) width 1 7: "Text"24 RenderText {#text} at (0,0) size 16x10 25 text run at (0,0) width 16: "Text" 26 26 RenderRubyBase (anonymous) at (0,0) size 16x18 27 27 RenderText {#text} at (3,0) size 10x18 -
trunk/LayoutTests/platform/mac/fast/ruby/ruby-runs-spans-expected.txt
r177774 r292270 13 13 RenderRubyRun (anonymous) at (152,10) size 40x18 14 14 RenderRubyText {RT} at (0,-10) size 39x10 15 RenderText {#text} at (0,0) size 40x1016 text run at (0,0) width 40: "Hyper-text"15 RenderText {#text} at (0,0) size 39x10 16 text run at (0,0) width 39: "Hyper-text" 17 17 RenderRubyBase (anonymous) at (0,0) size 39x18 18 18 RenderInline {SPAN} at (0,0) size 23x18 … … 21 21 RenderRubyRun (anonymous) at (191,10) size 91x18 22 22 RenderRubyText {RT} at (0,-10) size 90x10 23 RenderText {#text} at (0,0) size 9 1x1024 text run at (0,0) width 9 1: "Markup Language Lvl. 5"23 RenderText {#text} at (0,0) size 90x10 24 text run at (0,0) width 90: "Markup Language Lvl. 5" 25 25 RenderRubyBase (anonymous) at (0,0) size 90x18 26 26 RenderInline {SPAN} at (0,0) size 16x18 -
trunk/LayoutTests/platform/mac/fast/ruby/ruby-text-before-after-content-expected.txt
r177774 r292270 10 10 RenderText at (0,0) size 62x18 11 11 text run at (0,0) width 62: "BEFORE" 12 RenderText {#text} at (61,0) size 7 6x1813 text run at (61,0) width 7 6: "CONTENT"14 RenderInline (generated) at (0,0) size 5 2x1815 RenderText at (136,0) size 5 2x1816 text run at (136,0) width 5 2: "AFTER"12 RenderText {#text} at (61,0) size 75x18 13 text run at (61,0) width 75: "CONTENT" 14 RenderInline (generated) at (0,0) size 51x18 15 RenderText at (136,0) size 51x18 16 text run at (136,0) width 51: "AFTER" 17 17 RenderRubyBase (anonymous) at (0,0) size 187x37 18 18 RenderText {#text} at (81,0) size 24x37 -
trunk/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-rt-expected.txt
r177774 r292270 19 19 RenderRubyRun (anonymous) at (152,10) size 40x18 20 20 RenderRubyText {RT} at (0,-10) size 39x10 21 RenderText {#text} at (0,0) size 40x1022 text run at (0,0) width 40: "Hyper-text"21 RenderText {#text} at (0,0) size 39x10 22 text run at (0,0) width 39: "Hyper-text" 23 23 RenderRubyBase (anonymous) at (0,0) size 39x18 24 24 RenderInline {SPAN} at (0,0) size 23x18 … … 45 45 RenderRubyRun (anonymous) at (152,10) size 40x18 46 46 RenderRubyText {RT} at (0,-10) size 39x10 47 RenderText {#text} at (0,0) size 40x1048 text run at (0,0) width 40: "Hyper-text"47 RenderText {#text} at (0,0) size 39x10 48 text run at (0,0) width 39: "Hyper-text" 49 49 RenderRubyBase (anonymous) at (0,0) size 39x18 50 50 RenderInline {SPAN} at (0,0) size 23x18 -
trunk/LayoutTests/platform/mac/fast/ruby/rubyDOM-insert-text1-expected.txt
r177774 r292270 19 19 RenderRubyRun (anonymous) at (152,10) size 40x18 20 20 RenderRubyText {RT} at (0,-10) size 39x10 21 RenderText {#text} at (0,0) size 40x1022 text run at (0,0) width 40: "Hyper-text"21 RenderText {#text} at (0,0) size 39x10 22 text run at (0,0) width 39: "Hyper-text" 23 23 RenderRubyBase (anonymous) at (0,0) size 39x18 24 24 RenderText {#text} at (8,0) size 23x18 … … 43 43 RenderRubyRun (anonymous) at (152,10) size 40x18 44 44 RenderRubyText {RT} at (0,-10) size 39x10 45 RenderText {#text} at (0,0) size 40x1046 text run at (0,0) width 40: "Hyper-text"45 RenderText {#text} at (0,0) size 39x10 46 text run at (0,0) width 39: "Hyper-text" 47 47 RenderRubyBase (anonymous) at (0,0) size 39x18 48 48 RenderText {#text} at (8,0) size 23x18 -
trunk/Source/WebCore/ChangeLog
r292268 r292270 1 2022-04-02 Alan Bujtas <zalan@apple.com> 2 3 [Ruby] Remove incorrect implicit integral floor in RenderRubyText::adjustInlineDirectionLineBounds 4 https://bugs.webkit.org/show_bug.cgi?id=238671 5 6 Reviewed by Simon Fraser. 7 8 In case of a fractional width value, the unintended integral flooring makes us believe we've got content overflow and we apply 9 a fractional inset which slightly moves the content in the inline direction. 10 11 * rendering/RenderRubyText.cpp: 12 (WebCore::RenderRubyText::adjustInlineDirectionLineBounds const): 13 1 14 2022-04-02 Ziran Sun <zsun@igalia.com> 2 15 -
trunk/Source/WebCore/rendering/RenderRubyText.cpp
r278253 r292270 76 76 return RenderBlockFlow::adjustInlineDirectionLineBounds(expansionOpportunityCount, logicalLeft, logicalWidth); 77 77 78 intmaxPreferredLogicalWidth = this->maxPreferredLogicalWidth();78 auto maxPreferredLogicalWidth = this->maxPreferredLogicalWidth(); 79 79 if (maxPreferredLogicalWidth >= logicalWidth) 80 80 return;
Note: See TracChangeset
for help on using the changeset viewer.