Bug 141939

Summary: [Mac] [iOS] Parsing support for -apple-trailing-word
Product: WebKit Reporter: Myles C. Maxfield <mmaxfield>
Component: New BugsAssignee: Myles C. Maxfield <mmaxfield>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, commit-queue, dino, hyatt, jonlee, kling, koivisto, rniwa, sam, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 141998, 142000    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch
none
Archive of layout-test-results from ews105 for mac-mavericks-wk2
none
Archive of layout-test-results from ews100 for mac-mavericks
none
Patch
none
Archive of layout-test-results from ews106 for mac-mavericks-wk2
none
Archive of layout-test-results from ews100 for mac-mavericks
none
Test list for failures
none
Patch none

Myles C. Maxfield
Reported 2015-02-23 17:29:34 PST
Parsing support for -webkit-trailing-word
Attachments
Patch (51.12 KB, patch)
2015-02-23 17:38 PST, Myles C. Maxfield
no flags
Patch (51.12 KB, patch)
2015-02-23 19:17 PST, Myles C. Maxfield
no flags
Patch (51.27 KB, patch)
2015-02-23 19:22 PST, Myles C. Maxfield
no flags
Patch (51.28 KB, patch)
2015-02-23 19:25 PST, Myles C. Maxfield
no flags
Archive of layout-test-results from ews105 for mac-mavericks-wk2 (1.22 MB, application/zip)
2015-02-23 20:58 PST, Build Bot
no flags
Archive of layout-test-results from ews100 for mac-mavericks (1.23 MB, application/zip)
2015-02-23 21:51 PST, Build Bot
no flags
Patch (52.21 KB, patch)
2015-02-24 11:15 PST, Myles C. Maxfield
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (1.27 MB, application/zip)
2015-02-24 12:37 PST, Build Bot
no flags
Archive of layout-test-results from ews100 for mac-mavericks (794.38 KB, application/zip)
2015-02-24 12:38 PST, Build Bot
no flags
Test list for failures (2.73 KB, text/plain)
2015-02-25 09:48 PST, Myles C. Maxfield
no flags
Patch (55.42 KB, patch)
2015-02-25 13:44 PST, Myles C. Maxfield
no flags
Myles C. Maxfield
Comment 1 2015-02-23 17:38:04 PST
Myles C. Maxfield
Comment 2 2015-02-23 19:17:48 PST
Myles C. Maxfield
Comment 3 2015-02-23 19:22:39 PST
Myles C. Maxfield
Comment 4 2015-02-23 19:25:08 PST
Build Bot
Comment 5 2015-02-23 20:58:25 PST
Comment on attachment 247188 [details] Patch Attachment 247188 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/5599821268254720 New failing tests: fast/forms/targeted-frame-submission.html http/tests/misc/acid3.html fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html tables/mozilla_expected_failures/bugs/bug2479-5.html
Build Bot
Comment 6 2015-02-23 20:58:29 PST
Created attachment 247197 [details] Archive of layout-test-results from ews105 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 7 2015-02-23 21:51:44 PST
Comment on attachment 247188 [details] Patch Attachment 247188 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/4647036561391616 New failing tests: fast/forms/targeted-frame-submission.html fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-roundtrip.html
Build Bot
Comment 8 2015-02-23 21:51:47 PST
Created attachment 247203 [details] Archive of layout-test-results from ews100 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-mavericks Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 9 2015-02-24 11:15:06 PST
Andreas Kling
Comment 10 2015-02-24 11:46:30 PST
Comment on attachment 247248 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247248&action=review This looks good, though I'd prefer we name the flag CSS_TRAILING_WORD to make it a bit more clear what this is about. r=me > Source/WebCore/css/CSSPrimitiveValueMappings.h:5259 > + } Maybe a default case here with ASSERT_NOT_REACHED to match operator TrailingWord()? > Source/WebCore/rendering/style/RenderStyle.h:1653 > + void setTrailingWord(TrailingWord v) { SET_VAR(rareInheritedData, trailingWord, static_cast<int>(v)); } Shouldn't the static_cast be to <unsigned> here rather than <int>, given that StyleRareInheritedData::trailingWord is unsigned?
Build Bot
Comment 11 2015-02-24 12:37:17 PST
Comment on attachment 247248 [details] Patch Attachment 247248 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/6589789755146240 New failing tests: fast/forms/targeted-frame-submission.html tables/mozilla/bugs/bug139524-2.html
Build Bot
Comment 12 2015-02-24 12:37:21 PST
Created attachment 247251 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Build Bot
Comment 13 2015-02-24 12:38:35 PST
Comment on attachment 247248 [details] Patch Attachment 247248 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/5020605199941632 New failing tests: editing/selection/designmode-no-caret.html fast/forms/targeted-frame-submission.html
Build Bot
Comment 14 2015-02-24 12:38:38 PST
Created attachment 247252 [details] Archive of layout-test-results from ews100 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews100 Port: mac-mavericks Platform: Mac OS X 10.9.5
Myles C. Maxfield
Comment 15 2015-02-24 17:17:57 PST
WebKit Commit Bot
Comment 16 2015-02-24 19:42:04 PST
Re-opened since this is blocked by bug 141998
Myles C. Maxfield
Comment 17 2015-02-25 09:47:30 PST
This causes flakiness.
Myles C. Maxfield
Comment 18 2015-02-25 09:48:18 PST
Created attachment 247332 [details] Test list for failures
Myles C. Maxfield
Comment 19 2015-02-25 11:04:37 PST
Comment on attachment 247248 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247248&action=review > Source/WebCore/rendering/SimpleLineLayout.cpp:169 > + if (style.trailingWord() != TrailingWord::Auto) > + return false; This seems to have caused the flakiness....
Myles C. Maxfield
Comment 20 2015-02-25 13:44:08 PST
Myles C. Maxfield
Comment 21 2015-02-25 13:44:52 PST
I wasn't initializing the new state in RenderStyle upon creation.
Myles C. Maxfield
Comment 22 2015-02-25 16:44:31 PST
Comment on attachment 247340 [details] Patch I'll commit this tomorrow.
Myles C. Maxfield
Comment 23 2015-02-26 11:39:29 PST
Radar WebKit Bug Importer
Comment 24 2015-03-03 16:18:15 PST
Note You need to log in before you can comment on or make changes to this bug.