The WML support should be added in a few reviewable chunks. Based on the patches living in bug 20393, a new simpler patch will be created only adding a few WML elements (<card> / <p> / <a>) - but with a new design. WML elements don't inherit from HTML* elements anymore, CSS integratin is much simpler, no need for a new WMLTokenizer class etc. Stay tuned, uploading patches soon.
Created attachment 25226 [details] 1) Add WML tests (LayoutTests/fast/wml & WebCore/manual-tests/wml)
Created attachment 25227 [details] 2) Add WML build support (WebKitTools/Scripts/ changes)
Created attachment 25228 [details] 3) Add basic WML support & WebCore integration
Landed in r38541.
Comment on attachment 25228 [details] 3) Add basic WML support & WebCore integration The .pro changes read as though WML will be enabled unless explicitly disabled. Given that this is primarily intended for mobile devices, does it make sense for this to be the default behaviour? A bunch of this code uses the incorrect "Wml" capitalization in method and variable names. The use of ENABLE to wrap code for a specific library is not consistent with existing patterns: USE should be used instead. Putting code wrapped in ENABLE(WBXML) directly in the cross-platform MainResourceLoader.cpp is not desirable. The code should be refactored so that this isn't necessary. The Torch Mobile copyright line appears to have two different forms. Is that intentional?
(In reply to comment #5) > (From update of attachment 25228 [details] [review]) > The .pro changes read as though WML will be enabled unless explicitly disabled. > Given that this is primarily intended for mobile devices, does it make sense > for this to be the default behaviour? Just noticed and fixed - just an oversight. > A bunch of this code uses the incorrect "Wml" capitalization in method and > variable names. I wasn't aware of this requirement. Will fix. > The use of ENABLE to wrap code for a specific library is not consistent with > existing patterns: USE should be used instead. > > Putting code wrapped in ENABLE(WBXML) directly in the cross-platform > MainResourceLoader.cpp is not desirable. The code should be refactored so that > this isn't necessary. Okay, I'll join IRC to discuss :-) > The Torch Mobile copyright line appears to have two different forms. Is that > intentional? Not sure, will have to pass that question to George.