SVG 2 textPath/tspan getBBox method broken
Categories
(Core :: SVG, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox68 | --- | fixed |
People
(Reporter: malcolm.murphy, Assigned: violet.bugreport)
References
(Blocks 2 open bugs)
Details
Attachments
(3 files)
Comment 1•11 years ago
|
||
Updated•11 years ago
|
Updated•11 years ago
|
Reporter | ||
Comment 2•11 years ago
|
||
Comment 3•11 years ago
|
||
Reporter | ||
Comment 4•11 years ago
|
||
Comment 5•11 years ago
|
||
Comment 6•11 years ago
|
||
Comment 7•10 years ago
|
||
Comment 8•10 years ago
|
||
Updated•10 years ago
|
Comment 9•10 years ago
|
||
Comment 10•10 years ago
|
||
Comment 11•9 years ago
|
||
Comment 12•9 years ago
|
||
Comment 13•9 years ago
|
||
Comment 14•9 years ago
|
||
Comment 15•9 years ago
|
||
Comment 16•9 years ago
|
||
Comment 17•9 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 19•6 years ago
|
||
We implements getBBox for tspan. The implementation also has consistent
behavior as getBoundingClientRect.
Comment 20•6 years ago
|
||
Comment 21•6 years ago
|
||
Backed out for perma fails on dom/svg/test/test_bbox.xhtm.
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=240204741&repo=autoland&lineNumber=8726
01:41:52 INFO - TEST-START | dom/svg/test/test_bbox.xhtml
01:41:52 INFO - GECKO(903) | ++DOMWINDOW == 20 (0x11dc83000) [pid = 905] [serial = 67] [outer = 0x12633dd40]
01:41:52 INFO - GECKO(903) | ++DOCSHELL 0x11c924800 == 8 [pid = 905] [id = {31bfdf88-cb29-d24d-adde-0f580edbe8ca}]
01:41:52 INFO - GECKO(903) | ++DOMWINDOW == 21 (0x11c6f43e0) [pid = 905] [serial = 68] [outer = 0x0]
01:41:52 INFO - GECKO(903) | ++DOMWINDOW == 22 (0x126c59400) [pid = 905] [serial = 69] [outer = 0x11c6f43e0]
01:41:52 INFO - TEST-INFO | started process screencapture
01:41:52 INFO - TEST-INFO | screencapture: exit 0
01:41:52 INFO - Buffered messages logged at 01:41:52
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | fO.getBBox().x - got 10, expected 10 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | fO.getBBox().y - got 10, expected 10 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | fO.getBBox().width - got 100, expected 100 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | fO.getBBox().height - got 100, expected 100 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | i.getBBox().x - got 10, expected 10 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | i.getBBox().y - got 10, expected 10 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | i.getBBox().width - got 100, expected 100 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | i.getBBox().height - got 100, expected 100 (within 0)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | a.getBBox().height
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | a.getBBox().height
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | b.getBBox().x
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | b.getBBox().y
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | b.getBBox().width - got 10, expected 10 (within 0.0002)
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | b.getBBox().height
01:41:52 INFO - Buffered messages finished
01:41:52 INFO - TEST-UNEXPECTED-FAIL | dom/svg/test/test_bbox.xhtml | tspantext1.getBBox().x - got 19, expected 20
01:41:52 INFO - SimpleTest.is@SimpleTest/SimpleTest.js:320:16
01:41:52 INFO - compareBBox@dom/svg/test/test_bbox.xhtml:44:5
01:41:52 INFO - run@dom/svg/test/test_bbox.xhtml:65:3
01:41:52 INFO - EventListener.handleEvent*@dom/svg/test/test_bbox.xhtml:78:8
01:41:52 INFO - TEST-PASS | dom/svg/test/test_bbox.xhtml | tspantext1.getBBox().y
01:41:52 INFO - Not taking screenshot here: see the one that was previously logged
Backout: https://hg.mozilla.org/integration/autoland/rev/d6ace2daa6327706bbaad8a36ad11b8a4f721ec5
Comment 22•6 years ago
|
||
Comment 23•6 years ago
|
||
bugherder |
Assignee | ||
Updated•6 years ago
|
Description
•