WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
153144
Drop obsolete HTMLDocument.width / height attributes
https://bugs.webkit.org/show_bug.cgi?id=153144
Summary
Drop obsolete HTMLDocument.width / height attributes
Chris Dumez
Reported
2016-01-15 13:23:32 PST
Drop obsolete HTMLDocument.width / height attributes. Firefox and Chrome already no longer expose these.
Attachments
Patch
(7.07 KB, patch)
2016-01-15 13:26 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2016-01-15 13:26:41 PST
Created
attachment 269094
[details]
Patch
Ryosuke Niwa
Comment 2
2016-01-15 15:03:20 PST
When did they drop these attributes? It seems a bit risky to drop these. Do you have any idea how frequently this API is used?
Chris Dumez
Comment 3
2016-01-15 15:09:29 PST
Chrome dropped them a long time ago: commit db4caeb7bfb774361db83c257f6a610ec81ed462 Author:
esprehn@chromium.org
<
esprehn@chromium.org
@bbb929c8-8fbe-4397-9dbb-9b2b20218538> Date: Tue Jun 25 05:16:56 2013 +0000 Remove HTMLDocument.width and height properties No other rendering engine except WebKit supports these now, and they only support it apparently for content in WebView. Reference:
https://developer.mozilla.org/en-US/docs/Web/API/document.height
https://bugs.webkit.org/show_bug.cgi?id=72591
https://bugs.webkit.org/show_bug.cgi?id=80494
R=abarth@chromium.org
,
arv@chromium.org
Review URL:
https://chromiumcodereview.appspot.com/17585006
git-svn-id: svn://svn.chromium.org/blink/trunk@152987 bbb929c8-8fbe-4397-9dbb-9b2b20218538 Firefox dropped it in Gecko 6.0. I really don't think it is that risky. We also have time still to see if there is any breakage from this.
Ryosuke Niwa
Comment 4
2016-01-15 16:39:00 PST
Comment on
attachment 269094
[details]
Patch okay.
WebKit Commit Bot
Comment 5
2016-01-15 17:04:01 PST
Comment on
attachment 269094
[details]
Patch Clearing flags on attachment: 269094 Committed
r195160
: <
http://trac.webkit.org/changeset/195160
>
WebKit Commit Bot
Comment 6
2016-01-15 17:04:05 PST
All reviewed patches have been landed. Closing bug.
Alexey Proskuryakov
Comment 7
2016-01-15 21:56:21 PST
See also:
bug 72591
,
bug 82596
.
Ryosuke Niwa
Comment 8
2016-01-16 22:58:10 PST
We should check the app discussed in
https://bugs.webkit.org/show_bug.cgi?id=80494
is broken again or not. It seems like this change was quite risky as I had initially suspected.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug