New issue
Advanced search Search tips

Issue 641364 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Feature



Sign in to add a comment

ResizeObserver calculates wrong content rectangle of <svg> elements

Reported by que....@gmail.com, Aug 26 2016

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.0 Safari/537.36

Steps to reproduce the problem:
1. Take a look at this example: http://jsbin.com/kosujulefo/edit?html,js,console

What is the expected behavior?
As for the spec (https://wicg.github.io/ResizeObserver/#content-rect-h) "top" and "left" properties of a content rectangle
of an <svg> element need to be 0 even if element has paddings.  

What went wrong?
Padding values of content rectangle are non-zero.

Did this work before? No 

Chrome version: 54.0.2840.0  Channel: canary
OS Version: 10.0
Flash Version: Shockwave Flash 22.0 r0
 
Components: Blink>JavaScript
Components: -Blink>JavaScript Blink>DOM
Status: Untriaged (was: Unconfirmed)
Considering this is a Feature request and marking it as untriaged.

Comment 4 by atotic@chromium.org, Aug 31 2016

Owner: atotic@chromium.org
Status: Assigned (was: Untriaged)
Status: Fixed (was: Assigned)

Sign in to add a comment