Bug 1707643 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

STR:
1. Load this testcase:
```
data:text/html,<div style="display:grid;align-items:end; height: 200px; padding: 50px; background: teal"><div style="position:absolute">Inside-teal
```

EXPECTED RESULTS:
The "Inside-teal" text should be inside the teal area (specifically, 50px above the bottom of it)

ACTUAL RESULTS:
The text is outside the teal area.

It seems like we're not properly accounting for border/padding when determining the end position (and similar for "center", not tested in this testcase)

We apparently have some WPT tests (written by me) that improperly expect our current rendering.  I think Chromium folks may be fixing those tests in https://chromium-review.googlesource.com/c/chromium/src/+/2803842 , and we'll start failing those tests after that point. (and we'll start passing them again when we fix this bug)
STR:
1. Load this testcase:
```
data:text/html,<div style="display:grid;align-items:end; height: 200px; padding: 50px; background: teal"><div style="position:absolute">Inside-teal
```

EXPECTED RESULTS:
The "Inside-teal" text should be inside the teal area (specifically, 50px above the bottom of it)

ACTUAL RESULTS:
The text is outside the teal area.

It seems like we're not properly accounting for border/padding when determining the end position (and similar for "center", not tested in this testcase)

We apparently have some WPT tests (written by me) that improperly expect our current rendering.  I think Chromium folks may be fixing those tests in https://chromium-review.googlesource.com/c/chromium/src/+/2803842 , and we'll start failing those tests after that point. (and we'll start passing them again when we fix this bug)  (Or they just might mark them as expected-fail on their end; not sure.)

Back to Bug 1707643 Comment 0