Bug 121550

Summary: Avoid using RenderBR internally in RenderMenuList.
Product: WebKit Reporter: Andreas Kling <kling>
Component: Layout and RenderingAssignee: Andreas Kling <kling>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, darin, kling, rniwa
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2
none
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion
none
Patch
koivisto: review+, buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 none

Andreas Kling
Reported 2013-09-18 05:36:51 PDT
Avoid using RenderBR internally in RenderMenuList.
Attachments
Patch (3.90 KB, patch)
2013-09-18 05:38 PDT, Andreas Kling
no flags
Patch (3.99 KB, patch)
2013-09-18 05:45 PDT, Andreas Kling
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (658.25 KB, application/zip)
2013-09-18 06:27 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-07 for mac-mountainlion (669.68 KB, application/zip)
2013-09-18 06:57 PDT, Build Bot
no flags
Patch (12.73 KB, patch)
2013-09-18 07:43 PDT, Andreas Kling
koivisto: review+
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 (689.99 KB, application/zip)
2013-09-18 08:24 PDT, Build Bot
no flags
Andreas Kling
Comment 1 2013-09-18 05:38:22 PDT
Andreas Kling
Comment 2 2013-09-18 05:45:32 PDT
Build Bot
Comment 3 2013-09-18 06:26:59 PDT
Comment on attachment 211988 [details] Patch Attachment 211988 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1886432 New failing tests: fast/forms/menulist-separator-painting.html fast/forms/select-empty-option-height.html fast/forms/select-baseline.html fast/replaced/three-selects-break.html fast/forms/form-element-geometry.html fast/flexbox/clear-overflow-before-scroll-update.html fast/forms/HTMLOptionElement_label06.html fast/forms/selectlist-minsize.html fast/forms/HTMLOptionElement_label07.html
Build Bot
Comment 4 2013-09-18 06:27:00 PDT
Created attachment 211989 [details] Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-14 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Build Bot
Comment 5 2013-09-18 06:57:29 PDT
Comment on attachment 211988 [details] Patch Attachment 211988 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1930152 New failing tests: fast/forms/menulist-separator-painting.html fast/forms/select-empty-option-height.html fast/forms/select-baseline.html fast/replaced/three-selects-break.html fast/forms/form-element-geometry.html fast/flexbox/clear-overflow-before-scroll-update.html fast/forms/HTMLOptionElement_label06.html fast/forms/selectlist-minsize.html fast/forms/HTMLOptionElement_label07.html
Build Bot
Comment 6 2013-09-18 06:57:30 PDT
Created attachment 211993 [details] Archive of layout-test-results from webkit-ews-07 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-07 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Andreas Kling
Comment 7 2013-09-18 07:43:03 PDT
Antti Koivisto
Comment 8 2013-09-18 07:45:33 PDT
Comment on attachment 211995 [details] Patch r=me
Antti Koivisto
Comment 9 2013-09-18 07:59:23 PDT
Comment on attachment 211995 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=211995&action=review > Source/WebCore/rendering/RenderMenuList.cpp:245 > + m_buttonText = new (renderArena()) RenderText(&document(), s.impl()); we need RenderText::createAnonymous
Build Bot
Comment 10 2013-09-18 08:24:53 PDT
Comment on attachment 211995 [details] Patch Attachment 211995 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1889231 New failing tests: fast/forms/menulist-separator-painting.html fast/forms/select-empty-option-height.html fast/forms/select-baseline.html fast/replaced/three-selects-break.html fast/forms/form-element-geometry.html fast/flexbox/clear-overflow-before-scroll-update.html fast/forms/HTMLOptionElement_label06.html fast/forms/selectlist-minsize.html fast/forms/HTMLOptionElement_label07.html platform/mac/editing/input/caret-primary-bidi.html
Build Bot
Comment 11 2013-09-18 08:24:55 PDT
Created attachment 211998 [details] Archive of layout-test-results from webkit-ews-14 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-14 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.5
Andreas Kling
Comment 12 2013-09-18 08:34:10 PDT
Darin Adler
Comment 13 2013-09-18 18:42:32 PDT
Why a newline? If the text can be set to something arbitrary, say a space, then why not use a space?
Andreas Kling
Comment 14 2013-09-18 18:43:55 PDT
(In reply to comment #13) > Why a newline? If the text can be set to something arbitrary, say a space, then why not use a space? I don't know really. Looks like whitespace collapsing turns it into a space in the end anyway.. Does it make a difference somehow? If so I can fix it :)
Darin Adler
Comment 15 2013-09-18 18:52:13 PDT
(In reply to comment #14) > Does it make a difference somehow? I have no idea.
Note You need to log in before you can comment on or make changes to this bug.