Summary: | Web Inspector: make HTML editing preserve node identity when node nesting level changes. | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Pavel Feldman <pfeldman> | ||||
Component: | Web Inspector (Deprecated) | Assignee: | Pavel Feldman <pfeldman> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | apavlov, bweinstein, joepeck, keishi, loislo, ossy, pfeldman, pmuellr, rik, timothy, yurys | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Pavel Feldman
2012-01-12 08:51:28 PST
Created attachment 122253 [details]
Patch
Comment on attachment 122253 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=122253&action=review > Source/WebCore/inspector/DOMEditor.cpp:402 > + Deque<Digest*> queue; Why do you prefer BFS over DFS here? Committed r104920: <http://trac.webkit.org/changeset/104920> (In reply to comment #3) > Committed r104920: <http://trac.webkit.org/changeset/104920> Reopen, because it broke the 32 bit builds: cc1plus: warnings being treated as errors /ramdisk/qt-linux-32-release-webkit2/build/Source/WebCore/inspector/DOMEditor.cpp: In member function ‘void WebCore::DOMEditor::dumpMap(const WTF::String&, const WTF::Vector<std::pair<WebCore::DOMEditor::Digest*, unsigned int>, 0u>&, const WTF::Vector<WTF::OwnPtr<WebCore::DOMEditor::Digest>, 0u>&)’: /ramdisk/qt-linux-32-release-webkit2/build/Source/WebCore/inspector/DOMEditor.cpp:430: error: format ‘%ld’ expects type ‘long int’, but argument 4 has type ‘size_t’ /ramdisk/qt-linux-32-release-webkit2/build/Source/WebCore/inspector/DOMEditor.cpp:430: error: format ‘%ld’ expects type ‘long int’, but argument 6 has type ‘unsigned int’ Could you fix it? Buildfix landed in http://trac.webkit.org/changeset/104923 (In reply to comment #5) > Buildfix landed in http://trac.webkit.org/changeset/104923 can be re-closed? |