Summary: | itemType.add should treat \t as a space | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Arko Saha <arko> | ||||||||
Component: | DOM | Assignee: | Arko Saha <arko> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | dglazkov, rniwa, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 92986 | ||||||||||
Attachments: |
|
Description
Arko Saha
2012-08-02 07:35:54 PDT
Created attachment 157463 [details]
Patch
Comment on attachment 157463 [details] Patch Attachment 157463 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/13458705 New failing tests: fast/dom/HTMLElement/class-list.html fast/dom/HTMLElement/class-list-quirks.html fast/dom/HTMLOutputElement/dom-settable-token-list.html Created attachment 157473 [details]
Archive of layout-test-results from gce-cr-linux-06
The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-06 Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'> Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Created attachment 157492 [details]
Patch for review
Comment on attachment 157492 [details] Patch for review View in context: https://bugs.webkit.org/attachment.cgi?id=157492&action=review > Source/WebCore/html/DOMTokenList.cpp:59 > + if (!isHTMLSpace(input[input.length()-1])) I know this was also true in the old code but there should be a space around -. > LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html:21 > + debug("PASS: " + description); You can use testPassed. > LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html:23 > + debug("FAIL: " + description + " expected '" + expected + "' but got " + actual); and testFailed. > LayoutTests/fast/dom/MicroData/domsettabletokenlist-attributes-add-token.html:27 > +createElement('itemref', 'a '); It looks as if itemref is an element name. Probably better to rename createElement to createDivWithAttribute. Committed r125257: <http://trac.webkit.org/changeset/125257> |