Bug 178783 - Available height is wrong for positioned elements with "box-sizing: border-box"
Summary: Available height is wrong for positioned elements with "box-sizing: border-box"
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Manuel Rego Casasnovas
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-10-25 04:53 PDT by Manuel Rego Casasnovas
Modified: 2017-11-22 12:38 PST (History)
8 users (show)

See Also:


Attachments
Test case for replaced elements (413 bytes, text/html)
2017-10-25 04:53 PDT, Manuel Rego Casasnovas
no flags Details
Current vs expected output for replaced elements (6.56 KB, image/png)
2017-10-25 04:53 PDT, Manuel Rego Casasnovas
no flags Details
Test case for -webkit-fill-available (328 bytes, text/html)
2017-10-25 04:54 PDT, Manuel Rego Casasnovas
no flags Details
Current vs expected output for -webkit-fill-available (5.42 KB, image/png)
2017-10-25 04:54 PDT, Manuel Rego Casasnovas
no flags Details
Patch (10.13 KB, patch)
2017-11-22 07:08 PST, Manuel Rego Casasnovas
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rego Casasnovas 2017-10-25 04:53:37 PDT
Created attachment 324805 [details]
Test case for replaced elements

Attaching 2 examples: one using replaced elements (an image) and another one using "-webkit-fill-available"
to show the issues with "box-sizing: border-box" in positioned elements.
Comment 1 Manuel Rego Casasnovas 2017-10-25 04:53:58 PDT
Created attachment 324806 [details]
Current vs expected output for replaced elements
Comment 2 Manuel Rego Casasnovas 2017-10-25 04:54:14 PDT
Created attachment 324807 [details]
Test case for -webkit-fill-available
Comment 3 Manuel Rego Casasnovas 2017-10-25 04:54:36 PDT
Created attachment 324808 [details]
Current vs expected output for -webkit-fill-available
Comment 4 Manuel Rego Casasnovas 2017-11-22 07:08:58 PST
Created attachment 327451 [details]
Patch
Comment 5 WebKit Commit Bot 2017-11-22 12:37:38 PST
Comment on attachment 327451 [details]
Patch

Clearing flags on attachment: 327451

Committed r225101: <https://trac.webkit.org/changeset/225101>
Comment 6 WebKit Commit Bot 2017-11-22 12:37:40 PST
All reviewed patches have been landed.  Closing bug.
Comment 7 Radar WebKit Bug Importer 2017-11-22 12:38:38 PST
<rdar://problem/35669543>