WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
147193
Implement an internal API to paint DOM elements onto a canvas for testing
https://bugs.webkit.org/show_bug.cgi?id=147193
Summary
Implement an internal API to paint DOM elements onto a canvas for testing
Wenson Hsieh
Reported
2015-07-22 09:53:16 PDT
While working on
https://bugs.webkit.org/show_bug.cgi?id=147192
, I realized that there's no easy way to test the fact that search fields should be empty (no placeholder text) by default besides using pixel tests, which are not particularly useful. This could be addressed via an internal API that renders DOM elements or part of the DOM onto a canvas element in the DOM, so that we can run tests regarding the look of elements in Javascript, without using pixel tests.
Attachments
Add attachment
proposed patch, testcase, etc.
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