commit | 24615339dcd4d5bf4ffad3ceb1a5b88c526c8b0f | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Thu Nov 15 17:44:05 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Nov 15 17:44:05 2018 |
tree | 2464b6fb330507ff8eb0362a79efbcde51f78f9e | |
parent | 47f35a3192cb23183bb07f35aa5d50da31ab0e98 [diff] |
[LayoutNG] Add NGPhysicalLineBoxFragment::IsEmptyLineBox() This patch adds IsEmptyLineBox() function that returns whethe the line box is "empty", or "certain zero-height line box" as defined in CSS2[1] or not, and change where we used to determine it by checking if the number of children is 0. [1] https://drafts.csswg.org/css2/visuren.html#phantom-line-box Bug: 636993, 903578 Change-Id: I2b9961e1ecb743063238b39a3a5be53f15ffce8c Reviewed-on: https://chromium-review.googlesource.com/c/1332972 Reviewed-by: Aleks Totic <atotic@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#608419}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .