RESOLVED FIXED Bug 102665
Repaint issues with vertical text which has absolute (or fixed) position specified for it.
https://bugs.webkit.org/show_bug.cgi?id=102665
Summary Repaint issues with vertical text which has absolute (or fixed) position spec...
Arpita Bahuguna
Reported 2012-11-19 01:55:14 PST
Created attachment 174918 [details] Testpage for selection issue Vertically aligned text, contained in a absolute (of fixed) positioned block, is not selectable. Attached is a testpage to verify the said behavior. Try selecting any part of the vertical text in the given testpage.
Attachments
Testpage for selection issue (552 bytes, text/html)
2012-11-19 01:55 PST, Arpita Bahuguna
no flags
WIP patch (1.22 KB, patch)
2012-11-21 04:39 PST, Arpita Bahuguna
no flags
Testcase for caret movement (400 bytes, text/html)
2013-06-20 04:26 PDT, Arpita Bahuguna
no flags
Testcase for caret movement (396 bytes, text/html)
2013-06-20 04:35 PDT, Arpita Bahuguna
no flags
Patch (6.00 KB, patch)
2013-06-26 04:11 PDT, Arpita Bahuguna
no flags
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 (522.19 KB, application/zip)
2013-06-26 07:01 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-08 for mac-mountainlion (603.61 KB, application/zip)
2013-06-26 08:02 PDT, Build Bot
no flags
Archive of layout-test-results from APPLE-EWS-1 for win-future (810.09 KB, application/zip)
2013-06-26 08:13 PDT, Build Bot
no flags
Archive of layout-test-results from APPLE-EWS-3 for win-future (810.18 KB, application/zip)
2013-06-26 09:49 PDT, Build Bot
no flags
Patch (6.09 KB, patch)
2013-06-26 23:22 PDT, Arpita Bahuguna
no flags
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 (498.95 KB, application/zip)
2013-06-27 00:07 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-03 for mac-mountainlion (555.53 KB, application/zip)
2013-06-27 02:10 PDT, Build Bot
no flags
Archive of layout-test-results from APPLE-EWS-5 for win-future (810.24 KB, application/zip)
2013-06-27 05:21 PDT, Build Bot
no flags
Archive of layout-test-results from APPLE-EWS-1 for win-future (810.56 KB, application/zip)
2013-06-27 06:34 PDT, Build Bot
no flags
Archive of layout-test-results from APPLE-EWS-3 for win-future (810.44 KB, application/zip)
2013-06-27 07:37 PDT, Build Bot
no flags
Patch (6.15 KB, patch)
2013-07-02 04:37 PDT, Arpita Bahuguna
no flags
Patch (29.95 KB, patch)
2016-06-02 12:03 PDT, zalan
no flags
Archive of layout-test-results from ews102 for mac-yosemite (809.50 KB, application/zip)
2016-06-02 12:52 PDT, Build Bot
no flags
Archive of layout-test-results from ews107 for mac-yosemite-wk2 (940.23 KB, application/zip)
2016-06-02 12:56 PDT, Build Bot
no flags
Archive of layout-test-results from ews113 for mac-yosemite (1.42 MB, application/zip)
2016-06-02 13:06 PDT, Build Bot
no flags
Patch (30.00 KB, patch)
2016-06-02 18:47 PDT, zalan
no flags
Archive of layout-test-results from ews102 for mac-yosemite (947.55 KB, application/zip)
2016-06-02 19:39 PDT, Build Bot
no flags
Archive of layout-test-results from ews107 for mac-yosemite-wk2 (937.95 KB, application/zip)
2016-06-02 19:43 PDT, Build Bot
no flags
Archive of layout-test-results from ews115 for mac-yosemite (1.42 MB, application/zip)
2016-06-02 19:56 PDT, Build Bot
no flags
Patch (30.74 KB, patch)
2016-06-02 20:54 PDT, zalan
no flags
Patch (7.35 KB, patch)
2016-06-05 17:58 PDT, zalan
no flags
Arpita Bahuguna
Comment 1 2012-11-21 04:39:42 PST
Created attachment 175410 [details] WIP patch
Arpita Bahuguna
Comment 2 2013-06-20 04:26:47 PDT
Created attachment 205071 [details] Testcase for caret movement Place the cursor at the middle of the vertically aligned text. Try to insert a line break/paragraph and that point or try to move the caret using the arrow keys. Notice how the expected behavior is visible only after a repaint occurs on the page. The root editing element in this case is again positioned; either absolute or fixed.
Arpita Bahuguna
Comment 3 2013-06-20 04:34:34 PDT
Comment on attachment 205071 [details] Testcase for caret movement Incorrect test case
Arpita Bahuguna
Comment 4 2013-06-20 04:35:17 PDT
Created attachment 205072 [details] Testcase for caret movement Place the cursor at the middle of the vertically aligned text. Try to insert a line break/paragraph and that point or try to move the caret using the arrow keys. Notice how the expected behavior is visible only after a repaint occurs on the page. The root editing element in this case is again positioned; either absolute or fixed.
Arpita Bahuguna
Comment 5 2013-06-26 04:11:30 PDT
Build Bot
Comment 6 2013-06-26 07:01:47 PDT
Comment on attachment 205469 [details] Patch Attachment 205469 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/916668 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 7 2013-06-26 07:01:50 PDT
Created attachment 205486 [details] Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Build Bot
Comment 8 2013-06-26 08:02:21 PDT
Comment on attachment 205469 [details] Patch Attachment 205469 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/957178 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 9 2013-06-26 08:02:25 PDT
Created attachment 205490 [details] Archive of layout-test-results from webkit-ews-08 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-08 Port: mac-mountainlion Platform: Mac OS X 10.8.3
Build Bot
Comment 10 2013-06-26 08:13:19 PDT
Comment on attachment 205469 [details] Patch Attachment 205469 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/967294 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 11 2013-06-26 08:13:22 PDT
Created attachment 205494 [details] Archive of layout-test-results from APPLE-EWS-1 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-1 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Build Bot
Comment 12 2013-06-26 09:49:14 PDT
Comment on attachment 205469 [details] Patch Attachment 205469 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/919243 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 13 2013-06-26 09:49:18 PDT
Created attachment 205505 [details] Archive of layout-test-results from APPLE-EWS-3 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-3 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Arpita Bahuguna
Comment 14 2013-06-26 23:22:09 PDT
Build Bot
Comment 15 2013-06-27 00:07:17 PDT
Comment on attachment 205564 [details] Patch Attachment 205564 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/993112 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 16 2013-06-27 00:07:22 PDT
Created attachment 205568 [details] Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-15 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.3
Build Bot
Comment 17 2013-06-27 02:10:43 PDT
Comment on attachment 205564 [details] Patch Attachment 205564 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/987201 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 18 2013-06-27 02:10:48 PDT
Created attachment 205577 [details] Archive of layout-test-results from webkit-ews-03 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-03 Port: mac-mountainlion Platform: Mac OS X 10.8.3
Build Bot
Comment 19 2013-06-27 05:21:11 PDT
Comment on attachment 205564 [details] Patch Attachment 205564 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/976253 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 20 2013-06-27 05:21:16 PDT
Created attachment 205591 [details] Archive of layout-test-results from APPLE-EWS-5 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-5 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Build Bot
Comment 21 2013-06-27 06:34:46 PDT
Comment on attachment 205564 [details] Patch Attachment 205564 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/972637 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 22 2013-06-27 06:34:50 PDT
Created attachment 205597 [details] Archive of layout-test-results from APPLE-EWS-1 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-1 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Build Bot
Comment 23 2013-06-27 07:37:38 PDT
Comment on attachment 205564 [details] Patch Attachment 205564 [details] did not pass win-ews (win): Output: http://webkit-queues.appspot.com/results/997104 New failing tests: editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html
Build Bot
Comment 24 2013-06-27 07:37:42 PDT
Created attachment 205605 [details] Archive of layout-test-results from APPLE-EWS-3 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: APPLE-EWS-3 Port: win-future Platform: CYGWIN_NT-6.1-WOW64-1.7.20-0.266-5-3-i686-32bit
Arpita Bahuguna
Comment 25 2013-06-28 06:45:33 PDT
Hey Zalan, Following are the repaint rects on mac: (repaint rects (rect -46 201 32 300) (rect 2 200 202 302) (rect 155 409 16 1) (rect 155 409 16 1) (rect 155 409 16 1) (rect 155 393 16 1) (rect -46 201 32 300) (rect 155 393 16 1) (rect 155 409 16 1) (rect 155 409 16 1) (rect 155 393 16 1) (rect 155 201 32 300) (rect -46 201 32 300) (rect 155 201 32 300) (rect 155 201 32 300) (rect -46 201 32 300) (rect -30 201 16 300) (rect 107 393 16 1) (rect 123 201 16 1) ) and following are on qt: (repaint rects (rect -33 201 19 300) (rect 2 200 202 302) (rect 168 384 19 1) (rect 168 384 19 1) (rect 168 384 19 1) (rect 168 375 19 1) (rect -33 201 19 300) (rect 168 375 19 1) (rect 168 384 19 1) (rect 168 384 19 1) (rect 168 375 19 1) (rect 168 201 19 300) (rect -33 201 19 300) (rect 168 201 19 300) (rect 168 201 19 300) (rect -33 201 19 300) (rect -33 201 19 300) (rect 133 375 19 1) (rect 133 201 19 1) )
Ryosuke Niwa
Comment 26 2013-06-28 14:22:30 PDT
Comment on attachment 205564 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=205564&action=review > LayoutTests/editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html:18 > + font-family: Ahem; You should specify the font size by px here.
Arpita Bahuguna
Comment 27 2013-07-02 04:37:20 PDT
Arpita Bahuguna
Comment 28 2013-07-02 06:24:41 PDT
(In reply to comment #26) > (From update of attachment 205564 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=205564&action=review > > > LayoutTests/editing/inserting/insert-paragraph-between-vertical-text-with-positioned-root.html:18 > > + font-family: Ahem; > > You should specify the font size by px here. Hi Ryosuke, thanks for the tip! Have uploaded another patch specifying the font-size and line-height as well.
Ryosuke Niwa
Comment 29 2013-07-14 23:20:44 PDT
+enrica.
Brady Eidson
Comment 30 2016-05-24 22:01:38 PDT
Comment on attachment 205890 [details] Patch Assuming that patches for review since 2013 are stale, r-
zalan
Comment 31 2016-06-02 11:40:11 PDT
zalan
Comment 32 2016-06-02 12:03:07 PDT
Build Bot
Comment 33 2016-06-02 12:52:47 PDT
Comment on attachment 280344 [details] Patch Attachment 280344 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1424532 New failing tests: fast/repaint/vertical-text-repaint.html
Build Bot
Comment 34 2016-06-02 12:52:53 PDT
Created attachment 280352 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 35 2016-06-02 12:56:10 PDT
Comment on attachment 280344 [details] Patch Attachment 280344 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1424538 New failing tests: svg/animations/smil-leak-element-instances.svg
Build Bot
Comment 36 2016-06-02 12:56:16 PDT
Created attachment 280353 [details] Archive of layout-test-results from ews107 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 37 2016-06-02 13:06:04 PDT
Comment on attachment 280344 [details] Patch Attachment 280344 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1424547 New failing tests: fast/repaint/vertical-text-repaint.html
Build Bot
Comment 38 2016-06-02 13:06:09 PDT
Created attachment 280354 [details] Archive of layout-test-results from ews113 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-yosemite Platform: Mac OS X 10.10.5
Dave Hyatt
Comment 39 2016-06-02 13:07:19 PDT
Comment on attachment 280344 [details] Patch r=me, make sure you figure out layout tests.
zalan
Comment 40 2016-06-02 18:47:51 PDT
zalan
Comment 41 2016-06-02 18:48:24 PDT
Checking repaint rects on EWS.
Build Bot
Comment 42 2016-06-02 19:39:10 PDT
Comment on attachment 280399 [details] Patch Attachment 280399 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/1426066 New failing tests: fast/repaint/vertical-text-repaint.html
Build Bot
Comment 43 2016-06-02 19:39:17 PDT
Created attachment 280410 [details] Archive of layout-test-results from ews102 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews102 Port: mac-yosemite Platform: Mac OS X 10.10.5
Build Bot
Comment 44 2016-06-02 19:43:28 PDT
Comment on attachment 280399 [details] Patch Attachment 280399 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/1426071 New failing tests: fast/repaint/vertical-text-repaint.html
Build Bot
Comment 45 2016-06-02 19:43:33 PDT
Created attachment 280413 [details] Archive of layout-test-results from ews107 for mac-yosemite-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-yosemite-wk2 Platform: Mac OS X 10.10.5
Build Bot
Comment 46 2016-06-02 19:56:33 PDT
Comment on attachment 280399 [details] Patch Attachment 280399 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/1426074 New failing tests: fast/repaint/vertical-text-repaint.html
Build Bot
Comment 47 2016-06-02 19:56:39 PDT
Created attachment 280419 [details] Archive of layout-test-results from ews115 for mac-yosemite The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews115 Port: mac-yosemite Platform: Mac OS X 10.10.5
zalan
Comment 48 2016-06-02 20:54:24 PDT
WebKit Commit Bot
Comment 49 2016-06-02 22:26:32 PDT
Comment on attachment 280422 [details] Patch Clearing flags on attachment: 280422 Committed r201635: <http://trac.webkit.org/changeset/201635>
WebKit Commit Bot
Comment 50 2016-06-02 22:26:41 PDT
All reviewed patches have been landed. Closing bug.
zalan
Comment 51 2016-06-05 17:58:00 PDT
Reopening to attach new patch.
zalan
Comment 52 2016-06-05 17:58:04 PDT
WebKit Commit Bot
Comment 53 2016-06-05 17:59:31 PDT
Attachment 280567 [details] did not pass style-queue: ERROR: Source/WebCore/ChangeLog:1: ChangeLog entry has no bug number [changelog/bugnumber] [5] Total errors found: 1 in 7 files If any of these errors are false positives, please file a bug against check-webkit-style.
WebKit Commit Bot
Comment 54 2016-06-05 20:17:57 PDT
Comment on attachment 280567 [details] Patch Clearing flags on attachment: 280567 Committed r201704: <http://trac.webkit.org/changeset/201704>
WebKit Commit Bot
Comment 55 2016-06-05 20:18:07 PDT
All reviewed patches have been landed. Closing bug.
Simon Fraser (smfr)
Comment 56 2016-08-15 16:56:41 PDT
*** Bug 157571 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.