Open Bug 1987354 Opened 4 months ago Updated 3 months ago

codepen.io - Text element is overlapping the SVG object

Categories

(Core :: Layout: Grid, defect)

Desktop
All
defect

Tracking

()

Webcompat Score 1
Tracking Status
firefox-esr115 --- wontfix
firefox-esr128 --- wontfix
firefox-esr140 --- wontfix
firefox142 --- wontfix
firefox143 --- wontfix
firefox144 --- fix-optional

People

(Reporter: rbucata, Unassigned, NeedInfo)

References

(Regression, )

Details

(Keywords: regression, Whiteboard: [webcompat-source:web-bugs])

Attachments

(1 file)

Environment:
Operating system: Windows 11
Firefox version: Firefox 143.0b7

Steps to reproduce:

  1. Navigate to: https://codepen.io/th3s4mur41/pen/RNWdxbz
  2. Observe the console output

Expected Behavior:
Text is outside of the SVG circle object

Actual Behavior:
Text is inside the SVG circle object

Notes:

  • Reproduces regardless of the status of ETP
  • Reproduces in firefox-nightly, and firefox-release
  • Does not reproduce in chrome

Created from https://github.com/webcompat/web-bugs/issues/176002

OS: Windows 11 → All
Attached video Chr vs ff

In general demos on codepen.io aren't webcompat issues; moving this to Core :: Layout for triage as a correctness bug.

Component: Site Reports → Layout
Product: Web Compatibility → Core

Set release status flags based on info from the regressing bug 1519519

:emilio, since you are the author of the regressor, bug 1519519, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Webcompat Score: --- → 1

Doesn't actually need min() nor svg, reduced to

<!DOCTYPE html>
<div style="display: grid; width: 200px; grid-template-columns: 200px">
  <div style="display: grid; grid-row: span 2; grid-template-rows: subgrid">
    <canvas width="100" height="100" style="inline-size: 100%; background: cyan"></canvas>
    text
  </div>
</div>

Seems a subgrid problem with percentages.

Component: Layout → Layout: Grid
Severity: -- → S3

(In reply to Oriol Brufau [:Oriol] from comment #5)

Doesn't actually need min() nor svg, reduced to

<!DOCTYPE html>
<div style="display: grid; width: 200px; grid-template-columns: 200px">
  <div style="display: grid; grid-row: span 2; grid-template-rows: subgrid">
    <canvas width="100" height="100" style="inline-size: 100%; background: cyan"></canvas>
    text
  </div>
</div>

Seems a subgrid problem with percentages.

Regression window:
https://hg-edge.mozilla.org/mozilla-central/pushloghtml?fromchange=ac95bdf3c0b3f6f0bb31bb49e7714ca93a5a9c9a&tochange=5d3e1ea7769357bce7297b83be3863034bcf656e

Bug 1553824 - [css-grid-2] Invalidate any stored used track sizes on subgrids too.

Ting-Yu, I think you're familiar with track sizing? Can you set a severity on this? Maybe it's a dupe...

Flags: needinfo?(emilio) → needinfo?(aethanyc)
Regressed by: 1553824
No longer regressed by: css-min-max

Ah, Tiaan had already S3'd this, but still would be good if you can take a look.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: