Bug 1969478 part 1: Rename naturalWidth-naturalHeight-unavailable.tentative.html to naturalWidth-naturalHeight-width-height.tentative.html. a=RyanVM
I originally created this test as a placeholder to test some edge cases where the naturalWidth and naturalHeight might be unavailable (hence "unavailable" in the name), with the intent of ultimately merging it back into naturalWidth-naturalHeight.html once https://github.com/whatwg/html/issues/11287 was resolved. However, I'm now planning for this test to just be the canonical test for the img.{naturalWidth,naturalHeight,width,height} attributes, for a variety of scenarios (not just ones where the natural width/height might be unavailable). Then we can remove the naturalWidth-naturalHeight.html test entirely (obsoleted by this test) when the spec change is complete. This patch is the first part of this -- just renaming the test and updating the title to reflect its new broader purpose. Original Revision: https://phabricator.services.mozilla.com/D251969 Differential Revision: https://phabricator.services.mozilla.com/D267120
This commit is contained in:
committed by
rvandermeulen@mozilla.com
parent
b9d21a62b9
commit
dfd471c795
@@ -1,3 +0,0 @@
|
||||
[naturalWidth-naturalHeight-unavailable.tentative.html]
|
||||
expected:
|
||||
if (processor == "x86") and (os == "linux"): CRASH
|
||||
@@ -0,0 +1,4 @@
|
||||
[naturalWidth-naturalHeight-width-height.tentative.html]
|
||||
# TODO(dholbert): Look into this crash in bug 1969597
|
||||
expected:
|
||||
if (processor == "x86") and (os == "linux"): CRASH
|
||||
@@ -1,7 +1,7 @@
|
||||
<!doctype html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>HTMLImageElement naturalWidth/naturalHeight behavior for SVG that lacks at least one natural dimension</title>
|
||||
<title>HTMLImageElement attributes naturalWidth, naturalHeight, width, height</title>
|
||||
<!-- Note: this test asserts a different expectation from what the HTML spec
|
||||
requires, as of mid-2025 when this testcase is being written. The spec
|
||||
behavior doesn't appear to be web-compatible for some of the cases here,
|
||||
Reference in New Issue
Block a user