<button> should support ::first-line and ::first-letter
Created attachment 192096 [details] Patch
Comment on attachment 192096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192096&action=review > Source/WebCore/rendering/RenderBlock.cpp:6496 > + if (firstLineBlock->isReplaced() || firstLineBlock->isFloating() How about a FIXME to remove the isRenderButton check once we support align-items on RenderBlock and migrate RenderButton off of RenderFlexibleBox? > Source/WebCore/rendering/RenderBlock.cpp:6550 > + !parentBlock->isBlockFlow() || (parentBlock->isFlexibleBox() && !parentBlock->isRenderButton())) ditto
Comment on attachment 192096 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=192096&action=review > Source/WebCore/rendering/RenderBlock.cpp:6498 > + || (parentBlock->isFlexibleBox() && !parentBlock->isRenderButton())) Can we add a comment about why this is needed? Flex box doesn't support :first-line and :first-letter by design (in the spec), but we're adding a hack here since <buttons> are magical.
Created attachment 192237 [details] Patch
Comment on attachment 192237 [details] Patch Rejecting attachment 192237 [details] from commit-queue. Failed to run "['/mnt/git/webkit-commit-queue/Tools/Scripts/webkit-patch', '--status-host=webkit-commit-queue.appspot.com', '--bot-id=gce-cq-02', 'land-attachment', '--force-clean', '--non-interactive', '--parent-command=commit-queue', 192237, '--port=chromium-xvfb']" exit_code: 2 cwd: /mnt/git/webkit-commit-queue Last 500 characters of output: rce/WebKit/chromium/webkit/media/crypto/ppapi/cdm --revision 181763 --non-interactive --force --accept theirs-conflict --ignore-externals' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' 56>At revision 181763. ________ running '/usr/bin/python tools/clang/scripts/update.py --mac-only' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' ________ running '/usr/bin/python gyp_webkit' in '/mnt/git/webkit-commit-queue/Source/WebKit/chromium' Updating webkit projects from gyp files... Full output: http://webkit-commit-queue.appspot.com/results/17025416
Comment on attachment 192237 [details] Patch ChangeLog merge conflict? I guess just try again? I though the bots handled that.
Comment on attachment 192237 [details] Patch Clearing flags on attachment: 192237 Committed r145265: <http://trac.webkit.org/changeset/145265>
All reviewed patches have been landed. Closing bug.