DescriptionAdd new html elements test
Add new PageSerializerTest.HTMLElements test based on
WebPageSerializerTest.HTMLNodes which will be removed together with the
old serializer in a later commit. The new test covers
PageSerializerTest.InputImage so that test is removed.
To correctly include all resources for an element the
presentationAttributeStyle for must also be processed.
--
This review is part of set aiming to merge the two existing page
serializers, WebPageSerializerImpl and PageSerializer into the latter
one.
In addition to this it moves all the old tests from
WebPageNewSerializerTest and WebPageSerializerTest to the newer
PageSerializerTest structure and splits out a test for MHTML into the
MHTMLTest file.
Note: This is a rebase and split of
https://codereview.chromium.org/68613003 from Opera which was reverted
due to failing tests. In addition to the rebase some smaller fixes was
done to accommodate to changes in the code from when it was first
landed.
BUG=328354
R=hajimehoshi@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197021
Patch Set 1 #
Total comments: 2
Patch Set 2 : Rename text.txt to empty.txt #
Total comments: 2
Messages
Total messages: 12 (2 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||