mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00:00
3c53568904
--HG-- rename : editor/libeditor/html/TextEditorTest.cpp => editor/libeditor/TextEditorTest.cpp rename : editor/libeditor/html/TextEditorTest.h => editor/libeditor/TextEditorTest.h rename : editor/libeditor/html/TypeInState.cpp => editor/libeditor/TypeInState.cpp rename : editor/libeditor/html/TypeInState.h => editor/libeditor/TypeInState.h rename : editor/libeditor/html/crashtests/336081-1.xhtml => editor/libeditor/crashtests/336081-1.xhtml rename : editor/libeditor/html/crashtests/382778-1.html => editor/libeditor/crashtests/382778-1.html rename : editor/libeditor/html/crashtests/407074-1.html => editor/libeditor/crashtests/407074-1.html rename : editor/libeditor/html/crashtests/407277-1.html => editor/libeditor/crashtests/407277-1.html rename : editor/libeditor/html/crashtests/414178-1.html => editor/libeditor/crashtests/414178-1.html rename : editor/libeditor/html/crashtests/418923-1.html => editor/libeditor/crashtests/418923-1.html rename : editor/libeditor/html/crashtests/420439.html => editor/libeditor/crashtests/420439.html rename : editor/libeditor/html/crashtests/428489-1.html => editor/libeditor/crashtests/428489-1.html rename : editor/libeditor/html/crashtests/431086-1.xhtml => editor/libeditor/crashtests/431086-1.xhtml rename : editor/libeditor/html/crashtests/448329-1.html => editor/libeditor/crashtests/448329-1.html rename : editor/libeditor/html/crashtests/448329-2.html => editor/libeditor/crashtests/448329-2.html rename : editor/libeditor/html/crashtests/448329-3.html => editor/libeditor/crashtests/448329-3.html rename : editor/libeditor/html/crashtests/456727-1.html => editor/libeditor/crashtests/456727-1.html rename : editor/libeditor/html/crashtests/456727-2.html => editor/libeditor/crashtests/456727-2.html rename : editor/libeditor/html/crashtests/467647-1.html => editor/libeditor/crashtests/467647-1.html rename : editor/libeditor/html/crashtests/499844-1.html => editor/libeditor/crashtests/499844-1.html rename : editor/libeditor/html/crashtests/503709-1.xhtml => editor/libeditor/crashtests/503709-1.xhtml rename : editor/libeditor/html/crashtests/513375-1.xhtml => editor/libeditor/crashtests/513375-1.xhtml rename : editor/libeditor/html/crashtests/535632-1.xhtml => editor/libeditor/crashtests/535632-1.xhtml rename : editor/libeditor/html/crashtests/574558-1.xhtml => editor/libeditor/crashtests/574558-1.xhtml rename : editor/libeditor/html/crashtests/582138-1.xhtml => editor/libeditor/crashtests/582138-1.xhtml rename : editor/libeditor/html/crashtests/612565-1.html => editor/libeditor/crashtests/612565-1.html rename : editor/libeditor/html/crashtests/615015-1.html => editor/libeditor/crashtests/615015-1.html rename : editor/libeditor/html/crashtests/615450-1.html => editor/libeditor/crashtests/615450-1.html rename : editor/libeditor/html/crashtests/639736-1.xhtml => editor/libeditor/crashtests/639736-1.xhtml rename : editor/libeditor/html/crashtests/643786-1.html => editor/libeditor/crashtests/643786-1.html rename : editor/libeditor/html/crashtests/682650-1.html => editor/libeditor/crashtests/682650-1.html rename : editor/libeditor/html/crashtests/716456-1.html => editor/libeditor/crashtests/716456-1.html rename : editor/libeditor/html/crashtests/759748.html => editor/libeditor/crashtests/759748.html rename : editor/libeditor/html/crashtests/761861.html => editor/libeditor/crashtests/761861.html rename : editor/libeditor/html/crashtests/766305.html => editor/libeditor/crashtests/766305.html rename : editor/libeditor/html/crashtests/766387.html => editor/libeditor/crashtests/766387.html rename : editor/libeditor/html/crashtests/766795.html => editor/libeditor/crashtests/766795.html rename : editor/libeditor/html/crashtests/767169.html => editor/libeditor/crashtests/767169.html rename : editor/libeditor/html/crashtests/768748.html => editor/libeditor/crashtests/768748.html rename : editor/libeditor/html/crashtests/769008-1.html => editor/libeditor/crashtests/769008-1.html rename : editor/libeditor/html/crashtests/769967.xhtml => editor/libeditor/crashtests/769967.xhtml rename : editor/libeditor/html/crashtests/793866.html => editor/libeditor/crashtests/793866.html rename : editor/libeditor/html/nsEditProperty.cpp => editor/libeditor/nsEditProperty.cpp rename : editor/libeditor/html/nsHTMLAbsPosition.cpp => editor/libeditor/nsHTMLAbsPosition.cpp rename : editor/libeditor/html/nsHTMLAnonymousUtils.cpp => editor/libeditor/nsHTMLAnonymousUtils.cpp rename : editor/libeditor/html/nsHTMLCSSUtils.cpp => editor/libeditor/nsHTMLCSSUtils.cpp rename : editor/libeditor/html/nsHTMLCSSUtils.h => editor/libeditor/nsHTMLCSSUtils.h rename : editor/libeditor/html/nsHTMLDataTransfer.cpp => editor/libeditor/nsHTMLDataTransfer.cpp rename : editor/libeditor/html/nsHTMLEditRules.cpp => editor/libeditor/nsHTMLEditRules.cpp rename : editor/libeditor/html/nsHTMLEditRules.h => editor/libeditor/nsHTMLEditRules.h rename : editor/libeditor/html/nsHTMLEditUtils.cpp => editor/libeditor/nsHTMLEditUtils.cpp rename : editor/libeditor/html/nsHTMLEditUtils.h => editor/libeditor/nsHTMLEditUtils.h rename : editor/libeditor/html/nsHTMLEditor.cpp => editor/libeditor/nsHTMLEditor.cpp rename : editor/libeditor/html/nsHTMLEditor.h => editor/libeditor/nsHTMLEditor.h rename : editor/libeditor/html/nsHTMLEditorEventListener.cpp => editor/libeditor/nsHTMLEditorEventListener.cpp rename : editor/libeditor/html/nsHTMLEditorEventListener.h => editor/libeditor/nsHTMLEditorEventListener.h rename : editor/libeditor/html/nsHTMLEditorStyle.cpp => editor/libeditor/nsHTMLEditorStyle.cpp rename : editor/libeditor/html/nsHTMLInlineTableEditor.cpp => editor/libeditor/nsHTMLInlineTableEditor.cpp rename : editor/libeditor/html/nsHTMLObjectResizer.cpp => editor/libeditor/nsHTMLObjectResizer.cpp rename : editor/libeditor/html/nsHTMLObjectResizer.h => editor/libeditor/nsHTMLObjectResizer.h rename : editor/libeditor/html/nsHTMLURIRefObject.cpp => editor/libeditor/nsHTMLURIRefObject.cpp rename : editor/libeditor/html/nsHTMLURIRefObject.h => editor/libeditor/nsHTMLURIRefObject.h rename : editor/libeditor/html/nsTableEditor.cpp => editor/libeditor/nsTableEditor.cpp rename : editor/libeditor/html/nsWSRunObject.cpp => editor/libeditor/nsWSRunObject.cpp rename : editor/libeditor/html/nsWSRunObject.h => editor/libeditor/nsWSRunObject.h rename : editor/libeditor/html/tests/browserscope/lib/richtext/LICENSE => editor/libeditor/tests/browserscope/lib/richtext/LICENSE rename : editor/libeditor/html/tests/browserscope/lib/richtext/README => editor/libeditor/tests/browserscope/lib/richtext/README rename : editor/libeditor/html/tests/browserscope/lib/richtext/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext/README.Mozilla rename : editor/libeditor/html/tests/browserscope/lib/richtext/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext/currentStatus.js rename : editor/libeditor/html/tests/browserscope/lib/richtext/current_revision => editor/libeditor/tests/browserscope/lib/richtext/current_revision rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/editable.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/editable.html rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/js/range.js => editor/libeditor/tests/browserscope/lib/richtext/richtext/js/range.js rename : editor/libeditor/html/tests/browserscope/lib/richtext/richtext/richtext.html => editor/libeditor/tests/browserscope/lib/richtext/richtext/richtext.html rename : editor/libeditor/html/tests/browserscope/lib/richtext/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext/update_from_upstream rename : editor/libeditor/html/tests/browserscope/lib/richtext2/LICENSE => editor/libeditor/tests/browserscope/lib/richtext2/LICENSE rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README => editor/libeditor/tests/browserscope/lib/richtext2/README rename : editor/libeditor/html/tests/browserscope/lib/richtext2/README.Mozilla => editor/libeditor/tests/browserscope/lib/richtext2/README.Mozilla rename : editor/libeditor/html/tests/browserscope/lib/richtext2/currentStatus.js => editor/libeditor/tests/browserscope/lib/richtext2/currentStatus.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/current_revision => editor/libeditor/tests/browserscope/lib/richtext2/current_revision rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/__init__.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/common.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/common.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/handlers.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/handlers.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/common.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/common.css rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-body.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-dM.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable-div.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/editable.css => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/editable.css rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/canonicalize.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/compare.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/output.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/output.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/pad.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range-bootstrap.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/range.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/range.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/run.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/run.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/units.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/units.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/static/js/variables.js rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/output.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/output.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/templates/richtext2.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/__init__.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/apply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/apply.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/applyCSS.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/change.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/change.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/changeCSS.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/delete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/delete.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/forwarddelete.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/insert.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/insert.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryEnabled.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryIndeterm.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryState.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/querySupported.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/queryValue.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/selection.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/selection.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapply.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/tests/unapplyCSS.py rename : editor/libeditor/html/tests/browserscope/lib/richtext2/richtext2/unittestexample.html => editor/libeditor/tests/browserscope/lib/richtext2/richtext2/unittestexample.html rename : editor/libeditor/html/tests/browserscope/lib/richtext2/update_from_upstream => editor/libeditor/tests/browserscope/lib/richtext2/update_from_upstream rename : editor/libeditor/html/tests/browserscope/mochitest.ini => editor/libeditor/tests/browserscope/mochitest.ini rename : editor/libeditor/html/tests/browserscope/test_richtext.html => editor/libeditor/tests/browserscope/test_richtext.html rename : editor/libeditor/html/tests/browserscope/test_richtext2.html => editor/libeditor/tests/browserscope/test_richtext2.html rename : editor/libeditor/html/tests/data/cfhtml-chromium.txt => editor/libeditor/tests/data/cfhtml-chromium.txt rename : editor/libeditor/html/tests/data/cfhtml-firefox.txt => editor/libeditor/tests/data/cfhtml-firefox.txt rename : editor/libeditor/html/tests/data/cfhtml-ie.txt => editor/libeditor/tests/data/cfhtml-ie.txt rename : editor/libeditor/html/tests/data/cfhtml-nocontext.txt => editor/libeditor/tests/data/cfhtml-nocontext.txt rename : editor/libeditor/html/tests/data/cfhtml-ooo.txt => editor/libeditor/tests/data/cfhtml-ooo.txt rename : editor/libeditor/html/tests/file_bug549262.html => editor/libeditor/tests/file_bug549262.html rename : editor/libeditor/html/tests/file_bug674770-1.html => editor/libeditor/tests/file_bug674770-1.html rename : editor/libeditor/html/tests/file_select_all_without_body.html => editor/libeditor/tests/file_select_all_without_body.html rename : editor/libeditor/html/tests/green.png => editor/libeditor/tests/green.png rename : editor/libeditor/html/tests/test_CF_HTML_clipboard.html => editor/libeditor/tests/test_CF_HTML_clipboard.html rename : editor/libeditor/html/tests/test_bug200416.html => editor/libeditor/tests/test_bug200416.html rename : editor/libeditor/html/tests/test_bug289384.html => editor/libeditor/tests/test_bug289384.html rename : editor/libeditor/html/tests/test_bug290026.html => editor/libeditor/tests/test_bug290026.html rename : editor/libeditor/html/tests/test_bug291780.html => editor/libeditor/tests/test_bug291780.html rename : editor/libeditor/html/tests/test_bug316447.html => editor/libeditor/tests/test_bug316447.html rename : editor/libeditor/html/tests/test_bug332636.html => editor/libeditor/tests/test_bug332636.html rename : editor/libeditor/html/tests/test_bug332636.html^headers^ => editor/libeditor/tests/test_bug332636.html^headers^ rename : editor/libeditor/html/tests/test_bug366682.html => editor/libeditor/tests/test_bug366682.html rename : editor/libeditor/html/tests/test_bug372345.html => editor/libeditor/tests/test_bug372345.html rename : editor/libeditor/html/tests/test_bug404320.html => editor/libeditor/tests/test_bug404320.html rename : editor/libeditor/html/tests/test_bug410986.html => editor/libeditor/tests/test_bug410986.html rename : editor/libeditor/html/tests/test_bug414526.html => editor/libeditor/tests/test_bug414526.html rename : editor/libeditor/html/tests/test_bug417418.html => editor/libeditor/tests/test_bug417418.html rename : editor/libeditor/html/tests/test_bug432225.html => editor/libeditor/tests/test_bug432225.html rename : editor/libeditor/html/tests/test_bug439808.html => editor/libeditor/tests/test_bug439808.html rename : editor/libeditor/html/tests/test_bug442186.html => editor/libeditor/tests/test_bug442186.html rename : editor/libeditor/html/tests/test_bug449243.html => editor/libeditor/tests/test_bug449243.html rename : editor/libeditor/html/tests/test_bug455992.html => editor/libeditor/tests/test_bug455992.html rename : editor/libeditor/html/tests/test_bug456244.html => editor/libeditor/tests/test_bug456244.html rename : editor/libeditor/html/tests/test_bug460740.html => editor/libeditor/tests/test_bug460740.html rename : editor/libeditor/html/tests/test_bug468353.html => editor/libeditor/tests/test_bug468353.html rename : editor/libeditor/html/tests/test_bug478725.html => editor/libeditor/tests/test_bug478725.html rename : editor/libeditor/html/tests/test_bug480647.html => editor/libeditor/tests/test_bug480647.html rename : editor/libeditor/html/tests/test_bug480972.html => editor/libeditor/tests/test_bug480972.html rename : editor/libeditor/html/tests/test_bug484181.html => editor/libeditor/tests/test_bug484181.html rename : editor/libeditor/html/tests/test_bug487524.html => editor/libeditor/tests/test_bug487524.html rename : editor/libeditor/html/tests/test_bug489202.xul => editor/libeditor/tests/test_bug489202.xul rename : editor/libeditor/html/tests/test_bug490879.xul => editor/libeditor/tests/test_bug490879.xul rename : editor/libeditor/html/tests/test_bug520189.html => editor/libeditor/tests/test_bug520189.html rename : editor/libeditor/html/tests/test_bug525389.html => editor/libeditor/tests/test_bug525389.html rename : editor/libeditor/html/tests/test_bug537046.html => editor/libeditor/tests/test_bug537046.html rename : editor/libeditor/html/tests/test_bug549262.html => editor/libeditor/tests/test_bug549262.html rename : editor/libeditor/html/tests/test_bug550434.html => editor/libeditor/tests/test_bug550434.html rename : editor/libeditor/html/tests/test_bug551704.html => editor/libeditor/tests/test_bug551704.html rename : editor/libeditor/html/tests/test_bug552782.html => editor/libeditor/tests/test_bug552782.html rename : editor/libeditor/html/tests/test_bug570144.html => editor/libeditor/tests/test_bug570144.html rename : editor/libeditor/html/tests/test_bug578771.html => editor/libeditor/tests/test_bug578771.html rename : editor/libeditor/html/tests/test_bug587461.html => editor/libeditor/tests/test_bug587461.html rename : editor/libeditor/html/tests/test_bug592592.html => editor/libeditor/tests/test_bug592592.html rename : editor/libeditor/html/tests/test_bug597784.html => editor/libeditor/tests/test_bug597784.html rename : editor/libeditor/html/tests/test_bug599322.html => editor/libeditor/tests/test_bug599322.html rename : editor/libeditor/html/tests/test_bug607584.html => editor/libeditor/tests/test_bug607584.html rename : editor/libeditor/html/tests/test_bug607584.xul => editor/libeditor/tests/test_bug607584.xul rename : editor/libeditor/html/tests/test_bug611182.html => editor/libeditor/tests/test_bug611182.html rename : editor/libeditor/html/tests/test_bug612128.html => editor/libeditor/tests/test_bug612128.html rename : editor/libeditor/html/tests/test_bug612447.html => editor/libeditor/tests/test_bug612447.html rename : editor/libeditor/html/tests/test_bug616590.xul => editor/libeditor/tests/test_bug616590.xul rename : editor/libeditor/html/tests/test_bug620906.html => editor/libeditor/tests/test_bug620906.html rename : editor/libeditor/html/tests/test_bug622371.html => editor/libeditor/tests/test_bug622371.html rename : editor/libeditor/html/tests/test_bug629845.html => editor/libeditor/tests/test_bug629845.html rename : editor/libeditor/html/tests/test_bug635636.html => editor/libeditor/tests/test_bug635636.html rename : editor/libeditor/html/tests/test_bug640321.html => editor/libeditor/tests/test_bug640321.html rename : editor/libeditor/html/tests/test_bug668599.html => editor/libeditor/tests/test_bug668599.html rename : editor/libeditor/html/tests/test_bug674770-1.html => editor/libeditor/tests/test_bug674770-1.html rename : editor/libeditor/html/tests/test_bug674770-2.html => editor/libeditor/tests/test_bug674770-2.html rename : editor/libeditor/html/tests/test_bug674861.html => editor/libeditor/tests/test_bug674861.html rename : editor/libeditor/html/tests/test_bug676401.html => editor/libeditor/tests/test_bug676401.html rename : editor/libeditor/html/tests/test_bug677752.html => editor/libeditor/tests/test_bug677752.html rename : editor/libeditor/html/tests/test_bug686203.html => editor/libeditor/tests/test_bug686203.html rename : editor/libeditor/html/tests/test_bug697842.html => editor/libeditor/tests/test_bug697842.html rename : editor/libeditor/html/tests/test_bug725069.html => editor/libeditor/tests/test_bug725069.html rename : editor/libeditor/html/tests/test_bug735059.html => editor/libeditor/tests/test_bug735059.html rename : editor/libeditor/html/tests/test_bug738366.html => editor/libeditor/tests/test_bug738366.html rename : editor/libeditor/html/tests/test_bug757371.html => editor/libeditor/tests/test_bug757371.html rename : editor/libeditor/html/tests/test_bug767684.html => editor/libeditor/tests/test_bug767684.html rename : editor/libeditor/html/tests/test_bug780035.html => editor/libeditor/tests/test_bug780035.html rename : editor/libeditor/html/tests/test_bug780908.xul => editor/libeditor/tests/test_bug780908.xul rename : editor/libeditor/html/tests/test_bug787432.html => editor/libeditor/tests/test_bug787432.html rename : editor/libeditor/html/tests/test_bug790475.html => editor/libeditor/tests/test_bug790475.html rename : editor/libeditor/html/tests/test_bug796839.html => editor/libeditor/tests/test_bug796839.html rename : editor/libeditor/html/tests/test_bug832025.html => editor/libeditor/tests/test_bug832025.html rename : editor/libeditor/html/tests/test_bug857487.html => editor/libeditor/tests/test_bug857487.html rename : editor/libeditor/html/tests/test_bug966155.html => editor/libeditor/tests/test_bug966155.html rename : editor/libeditor/html/tests/test_bug966552.html => editor/libeditor/tests/test_bug966552.html rename : editor/libeditor/html/tests/test_bug998188.html => editor/libeditor/tests/test_bug998188.html rename : editor/libeditor/html/tests/test_contenteditable_focus.html => editor/libeditor/tests/test_contenteditable_focus.html rename : editor/libeditor/html/tests/test_contenteditable_text_input_handling.html => editor/libeditor/tests/test_contenteditable_text_input_handling.html rename : editor/libeditor/html/tests/test_dom_input_event_on_htmleditor.html => editor/libeditor/tests/test_dom_input_event_on_htmleditor.html rename : editor/libeditor/html/tests/test_htmleditor_keyevent_handling.html => editor/libeditor/tests/test_htmleditor_keyevent_handling.html rename : editor/libeditor/html/tests/test_keypress_untrusted_event.html => editor/libeditor/tests/test_keypress_untrusted_event.html rename : editor/libeditor/html/tests/test_root_element_replacement.html => editor/libeditor/tests/test_root_element_replacement.html rename : editor/libeditor/html/tests/test_select_all_without_body.html => editor/libeditor/tests/test_select_all_without_body.html rename : editor/libeditor/html/tests/test_spellcheck_pref.html => editor/libeditor/tests/test_spellcheck_pref.html
470 lines
16 KiB
C++
470 lines
16 KiB
C++
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
#include "mozilla/Attributes.h"
|
|
#include "mozilla/dom/Element.h"
|
|
#include "mozilla/mozalloc.h"
|
|
#include "nsAString.h"
|
|
#include "nsAutoPtr.h"
|
|
#include "nsCOMPtr.h"
|
|
#include "nsComputedDOMStyle.h"
|
|
#include "nsDebug.h"
|
|
#include "nsEditProperty.h"
|
|
#include "nsError.h"
|
|
#include "nsHTMLCSSUtils.h"
|
|
#include "nsHTMLEditor.h"
|
|
#include "nsIAtom.h"
|
|
#include "nsIContent.h"
|
|
#include "nsID.h"
|
|
#include "nsIDOMCSSPrimitiveValue.h"
|
|
#include "nsIDOMCSSStyleDeclaration.h"
|
|
#include "nsIDOMCSSValue.h"
|
|
#include "nsIDOMElement.h"
|
|
#include "nsIDOMEventTarget.h"
|
|
#include "nsIDOMHTMLElement.h"
|
|
#include "nsIDOMNode.h"
|
|
#include "nsIDOMWindow.h"
|
|
#include "nsIDocument.h"
|
|
#include "nsIDocumentObserver.h"
|
|
#include "nsIHTMLAbsPosEditor.h"
|
|
#include "nsIHTMLEditor.h"
|
|
#include "nsIHTMLInlineTableEditor.h"
|
|
#include "nsIHTMLObjectResizer.h"
|
|
#include "nsIMutationObserver.h"
|
|
#include "nsINode.h"
|
|
#include "nsIPresShell.h"
|
|
#include "nsISupportsImpl.h"
|
|
#include "nsISupportsUtils.h"
|
|
#include "nsLiteralString.h"
|
|
#include "nsPresContext.h"
|
|
#include "nsReadableUtils.h"
|
|
#include "nsString.h"
|
|
#include "nsStringFwd.h"
|
|
#include "nsUnicharUtils.h"
|
|
#include "nscore.h"
|
|
#include "nsContentUtils.h" // for nsAutoScriptBlocker
|
|
|
|
class nsIDOMEventListener;
|
|
class nsISelection;
|
|
|
|
using namespace mozilla;
|
|
using namespace mozilla::dom;
|
|
|
|
// retrieve an integer stored into a CSS computed float value
|
|
static int32_t GetCSSFloatValue(nsIDOMCSSStyleDeclaration * aDecl,
|
|
const nsAString & aProperty)
|
|
{
|
|
MOZ_ASSERT(aDecl);
|
|
|
|
nsCOMPtr<nsIDOMCSSValue> value;
|
|
// get the computed CSSValue of the property
|
|
nsresult res = aDecl->GetPropertyCSSValue(aProperty, getter_AddRefs(value));
|
|
if (NS_FAILED(res) || !value) return 0;
|
|
|
|
// check the type of the returned CSSValue; we handle here only
|
|
// pixel and enum types
|
|
nsCOMPtr<nsIDOMCSSPrimitiveValue> val = do_QueryInterface(value);
|
|
uint16_t type;
|
|
val->GetPrimitiveType(&type);
|
|
|
|
float f = 0;
|
|
switch (type) {
|
|
case nsIDOMCSSPrimitiveValue::CSS_PX:
|
|
// the value is in pixels, just get it
|
|
res = val->GetFloatValue(nsIDOMCSSPrimitiveValue::CSS_PX, &f);
|
|
NS_ENSURE_SUCCESS(res, 0);
|
|
break;
|
|
case nsIDOMCSSPrimitiveValue::CSS_IDENT: {
|
|
// the value is keyword, we have to map these keywords into
|
|
// numeric values
|
|
nsAutoString str;
|
|
res = val->GetStringValue(str);
|
|
if (str.EqualsLiteral("thin"))
|
|
f = 1;
|
|
else if (str.EqualsLiteral("medium"))
|
|
f = 3;
|
|
else if (str.EqualsLiteral("thick"))
|
|
f = 5;
|
|
break;
|
|
}
|
|
}
|
|
|
|
return (int32_t) f;
|
|
}
|
|
|
|
class nsElementDeletionObserver MOZ_FINAL : public nsIMutationObserver
|
|
{
|
|
public:
|
|
nsElementDeletionObserver(nsINode* aNativeAnonNode, nsINode* aObservedNode)
|
|
: mNativeAnonNode(aNativeAnonNode), mObservedNode(aObservedNode) {}
|
|
NS_DECL_ISUPPORTS
|
|
NS_DECL_NSIMUTATIONOBSERVER
|
|
protected:
|
|
~nsElementDeletionObserver() {}
|
|
nsINode* mNativeAnonNode;
|
|
nsINode* mObservedNode;
|
|
};
|
|
|
|
NS_IMPL_ISUPPORTS(nsElementDeletionObserver, nsIMutationObserver)
|
|
NS_IMPL_NSIMUTATIONOBSERVER_CONTENT(nsElementDeletionObserver)
|
|
|
|
void
|
|
nsElementDeletionObserver::NodeWillBeDestroyed(const nsINode* aNode)
|
|
{
|
|
NS_ASSERTION(aNode == mNativeAnonNode || aNode == mObservedNode,
|
|
"Wrong aNode!");
|
|
if (aNode == mNativeAnonNode) {
|
|
mObservedNode->RemoveMutationObserver(this);
|
|
} else {
|
|
mNativeAnonNode->RemoveMutationObserver(this);
|
|
static_cast<nsIContent*>(mNativeAnonNode)->UnbindFromTree();
|
|
}
|
|
|
|
NS_RELEASE_THIS();
|
|
}
|
|
|
|
// Returns in *aReturn an anonymous nsDOMElement of type aTag,
|
|
// child of aParentNode. If aIsCreatedHidden is true, the class
|
|
// "hidden" is added to the created element. If aAnonClass is not
|
|
// the empty string, it becomes the value of the attribute "_moz_anonclass"
|
|
nsresult
|
|
nsHTMLEditor::CreateAnonymousElement(const nsAString & aTag, nsIDOMNode * aParentNode,
|
|
const nsAString & aAnonClass, bool aIsCreatedHidden,
|
|
nsIDOMElement ** aReturn)
|
|
{
|
|
NS_ENSURE_ARG_POINTER(aParentNode);
|
|
NS_ENSURE_ARG_POINTER(aReturn);
|
|
*aReturn = nullptr;
|
|
|
|
nsCOMPtr<nsIContent> parentContent( do_QueryInterface(aParentNode) );
|
|
NS_ENSURE_TRUE(parentContent, NS_OK);
|
|
|
|
nsCOMPtr<nsIDocument> doc = GetDocument();
|
|
NS_ENSURE_TRUE(doc, NS_ERROR_NULL_POINTER);
|
|
|
|
// Get the pres shell
|
|
nsCOMPtr<nsIPresShell> ps = GetPresShell();
|
|
NS_ENSURE_TRUE(ps, NS_ERROR_NOT_INITIALIZED);
|
|
|
|
// Create a new node through the element factory
|
|
nsCOMPtr<Element> newContent =
|
|
CreateHTMLContent(nsCOMPtr<nsIAtom>(do_GetAtom(aTag)));
|
|
NS_ENSURE_STATE(newContent);
|
|
|
|
nsCOMPtr<nsIDOMElement> newElement = do_QueryInterface(newContent);
|
|
NS_ENSURE_TRUE(newElement, NS_ERROR_FAILURE);
|
|
|
|
// add the "hidden" class if needed
|
|
nsresult res;
|
|
if (aIsCreatedHidden) {
|
|
res = newElement->SetAttribute(NS_LITERAL_STRING("class"),
|
|
NS_LITERAL_STRING("hidden"));
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
// add an _moz_anonclass attribute if needed
|
|
if (!aAnonClass.IsEmpty()) {
|
|
res = newElement->SetAttribute(NS_LITERAL_STRING("_moz_anonclass"),
|
|
aAnonClass);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
{
|
|
nsAutoScriptBlocker scriptBlocker;
|
|
|
|
// establish parenthood of the element
|
|
newContent->SetIsNativeAnonymousRoot();
|
|
res = newContent->BindToTree(doc, parentContent, parentContent, true);
|
|
if (NS_FAILED(res)) {
|
|
newContent->UnbindFromTree();
|
|
return res;
|
|
}
|
|
}
|
|
|
|
nsElementDeletionObserver* observer =
|
|
new nsElementDeletionObserver(newContent, parentContent);
|
|
NS_ADDREF(observer); // NodeWillBeDestroyed releases.
|
|
parentContent->AddMutationObserver(observer);
|
|
newContent->AddMutationObserver(observer);
|
|
|
|
// display the element
|
|
ps->RecreateFramesFor(newContent);
|
|
|
|
newElement.forget(aReturn);
|
|
return NS_OK;
|
|
}
|
|
|
|
// Removes event listener and calls DeleteRefToAnonymousNode.
|
|
void
|
|
nsHTMLEditor::RemoveListenerAndDeleteRef(const nsAString& aEvent,
|
|
nsIDOMEventListener* aListener,
|
|
bool aUseCapture,
|
|
nsIDOMElement* aElement,
|
|
nsIContent * aParentContent,
|
|
nsIPresShell* aShell)
|
|
{
|
|
nsCOMPtr<nsIDOMEventTarget> evtTarget(do_QueryInterface(aElement));
|
|
if (evtTarget) {
|
|
evtTarget->RemoveEventListener(aEvent, aListener, aUseCapture);
|
|
}
|
|
DeleteRefToAnonymousNode(aElement, aParentContent, aShell);
|
|
}
|
|
|
|
// Deletes all references to an anonymous element
|
|
void
|
|
nsHTMLEditor::DeleteRefToAnonymousNode(nsIDOMElement* aElement,
|
|
nsIContent* aParentContent,
|
|
nsIPresShell* aShell)
|
|
{
|
|
// call ContentRemoved() for the anonymous content
|
|
// node so its references get removed from the frame manager's
|
|
// undisplay map, and its layout frames get destroyed!
|
|
|
|
if (aElement) {
|
|
nsCOMPtr<nsIContent> content = do_QueryInterface(aElement);
|
|
if (content) {
|
|
nsAutoScriptBlocker scriptBlocker;
|
|
// Need to check whether aShell has been destroyed (but not yet deleted).
|
|
// In that case presContext->GetPresShell() returns nullptr.
|
|
// See bug 338129.
|
|
if (aShell && aShell->GetPresContext() &&
|
|
aShell->GetPresContext()->GetPresShell() == aShell) {
|
|
nsCOMPtr<nsIDocumentObserver> docObserver = do_QueryInterface(aShell);
|
|
if (docObserver) {
|
|
// Call BeginUpdate() so that the nsCSSFrameConstructor/PresShell
|
|
// knows we're messing with the frame tree.
|
|
nsCOMPtr<nsIDocument> document = GetDocument();
|
|
if (document)
|
|
docObserver->BeginUpdate(document, UPDATE_CONTENT_MODEL);
|
|
|
|
// XXX This is wrong (bug 439258). Once it's fixed, the NS_WARNING
|
|
// in RestyleManager::RestyleForRemove should be changed back
|
|
// to an assertion.
|
|
docObserver->ContentRemoved(content->GetCurrentDoc(),
|
|
aParentContent, content, -1,
|
|
content->GetPreviousSibling());
|
|
if (document)
|
|
docObserver->EndUpdate(document, UPDATE_CONTENT_MODEL);
|
|
}
|
|
}
|
|
content->UnbindFromTree();
|
|
}
|
|
}
|
|
}
|
|
|
|
// The following method is mostly called by a selection listener. When a
|
|
// selection change is notified, the method is called to check if resizing
|
|
// handles, a grabber and/or inline table editing UI need to be displayed
|
|
// or refreshed
|
|
NS_IMETHODIMP
|
|
nsHTMLEditor::CheckSelectionStateForAnonymousButtons(nsISelection * aSelection)
|
|
{
|
|
NS_ENSURE_ARG_POINTER(aSelection);
|
|
|
|
// early way out if all contextual UI extensions are disabled
|
|
NS_ENSURE_TRUE(mIsObjectResizingEnabled ||
|
|
mIsAbsolutelyPositioningEnabled ||
|
|
mIsInlineTableEditingEnabled, NS_OK);
|
|
|
|
// Don't change selection state if we're moving.
|
|
if (mIsMoving) {
|
|
return NS_OK;
|
|
}
|
|
|
|
nsCOMPtr<nsIDOMElement> focusElement;
|
|
// let's get the containing element of the selection
|
|
nsresult res = GetSelectionContainer(getter_AddRefs(focusElement));
|
|
NS_ENSURE_TRUE(focusElement, NS_OK);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
|
|
// If we're not in a document, don't try to add resizers
|
|
nsCOMPtr<dom::Element> focusElementNode = do_QueryInterface(focusElement);
|
|
NS_ENSURE_STATE(focusElementNode);
|
|
if (!focusElementNode->IsInDoc()) {
|
|
return NS_OK;
|
|
}
|
|
|
|
// what's its tag?
|
|
nsAutoString focusTagName;
|
|
res = focusElement->GetTagName(focusTagName);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
ToLowerCase(focusTagName);
|
|
nsCOMPtr<nsIAtom> focusTagAtom = do_GetAtom(focusTagName);
|
|
|
|
nsCOMPtr<nsIDOMElement> absPosElement;
|
|
if (mIsAbsolutelyPositioningEnabled) {
|
|
// Absolute Positioning support is enabled, is the selection contained
|
|
// in an absolutely positioned element ?
|
|
res = GetAbsolutelyPositionedSelectionContainer(getter_AddRefs(absPosElement));
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
nsCOMPtr<nsIDOMElement> cellElement;
|
|
if (mIsObjectResizingEnabled || mIsInlineTableEditingEnabled) {
|
|
// Resizing or Inline Table Editing is enabled, we need to check if the
|
|
// selection is contained in a table cell
|
|
res = GetElementOrParentByTagName(NS_LITERAL_STRING("td"),
|
|
nullptr,
|
|
getter_AddRefs(cellElement));
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
if (mIsObjectResizingEnabled && cellElement) {
|
|
// we are here because Resizing is enabled AND selection is contained in
|
|
// a cell
|
|
|
|
// get the enclosing table
|
|
if (nsEditProperty::img != focusTagAtom) {
|
|
// the element container of the selection is not an image, so we'll show
|
|
// the resizers around the table
|
|
nsCOMPtr<nsIDOMNode> tableNode = GetEnclosingTable(cellElement);
|
|
focusElement = do_QueryInterface(tableNode);
|
|
focusTagAtom = nsEditProperty::table;
|
|
}
|
|
}
|
|
|
|
// we allow resizers only around images, tables, and absolutely positioned
|
|
// elements. If we don't have image/table, let's look at the latter case.
|
|
if (nsEditProperty::img != focusTagAtom &&
|
|
nsEditProperty::table != focusTagAtom)
|
|
focusElement = absPosElement;
|
|
|
|
// at this point, focusElement contains the element for Resizing,
|
|
// cellElement contains the element for InlineTableEditing
|
|
// absPosElement contains the element for Positioning
|
|
|
|
// Note: All the Hide/Show methods below may change attributes on real
|
|
// content which means a DOMAttrModified handler may cause arbitrary
|
|
// side effects while this code runs (bug 420439).
|
|
|
|
if (mIsAbsolutelyPositioningEnabled && mAbsolutelyPositionedObject &&
|
|
absPosElement != mAbsolutelyPositionedObject) {
|
|
res = HideGrabber();
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
NS_ASSERTION(!mAbsolutelyPositionedObject, "HideGrabber failed");
|
|
}
|
|
|
|
if (mIsObjectResizingEnabled && mResizedObject &&
|
|
mResizedObject != focusElement) {
|
|
res = HideResizers();
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
NS_ASSERTION(!mResizedObject, "HideResizers failed");
|
|
}
|
|
|
|
if (mIsInlineTableEditingEnabled && mInlineEditedCell &&
|
|
mInlineEditedCell != cellElement) {
|
|
res = HideInlineTableEditingUI();
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
NS_ASSERTION(!mInlineEditedCell, "HideInlineTableEditingUI failed");
|
|
}
|
|
|
|
// now, let's display all contextual UI for good
|
|
nsIContent* hostContent = GetActiveEditingHost();
|
|
nsCOMPtr<nsIDOMNode> hostNode = do_QueryInterface(hostContent);
|
|
|
|
if (mIsObjectResizingEnabled && focusElement &&
|
|
IsModifiableNode(focusElement) && focusElement != hostNode) {
|
|
if (nsEditProperty::img == focusTagAtom)
|
|
mResizedObjectIsAnImage = true;
|
|
if (mResizedObject)
|
|
res = RefreshResizers();
|
|
else
|
|
res = ShowResizers(focusElement);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
if (mIsAbsolutelyPositioningEnabled && absPosElement &&
|
|
IsModifiableNode(absPosElement) && absPosElement != hostNode) {
|
|
if (mAbsolutelyPositionedObject)
|
|
res = RefreshGrabber();
|
|
else
|
|
res = ShowGrabberOnElement(absPosElement);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
}
|
|
|
|
if (mIsInlineTableEditingEnabled && cellElement &&
|
|
IsModifiableNode(cellElement) && cellElement != hostNode) {
|
|
if (mInlineEditedCell)
|
|
res = RefreshInlineTableEditingUI();
|
|
else
|
|
res = ShowInlineTableEditingUI(cellElement);
|
|
}
|
|
|
|
return res;
|
|
}
|
|
|
|
// Resizing and Absolute Positioning need to know everything about the
|
|
// containing box of the element: position, size, margins, borders
|
|
nsresult
|
|
nsHTMLEditor::GetPositionAndDimensions(nsIDOMElement * aElement,
|
|
int32_t & aX, int32_t & aY,
|
|
int32_t & aW, int32_t & aH,
|
|
int32_t & aBorderLeft,
|
|
int32_t & aBorderTop,
|
|
int32_t & aMarginLeft,
|
|
int32_t & aMarginTop)
|
|
{
|
|
NS_ENSURE_ARG_POINTER(aElement);
|
|
|
|
// Is the element positioned ? let's check the cheap way first...
|
|
bool isPositioned = false;
|
|
nsresult res = aElement->HasAttribute(NS_LITERAL_STRING("_moz_abspos"), &isPositioned);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
if (!isPositioned) {
|
|
// hmmm... the expensive way now...
|
|
nsAutoString positionStr;
|
|
mHTMLCSSUtils->GetComputedProperty(aElement, nsEditProperty::cssPosition,
|
|
positionStr);
|
|
isPositioned = positionStr.EqualsLiteral("absolute");
|
|
}
|
|
|
|
if (isPositioned) {
|
|
// Yes, it is absolutely positioned
|
|
mResizedObjectIsAbsolutelyPositioned = true;
|
|
|
|
// Get the all the computed css styles attached to the element node
|
|
nsRefPtr<nsComputedDOMStyle> cssDecl =
|
|
mHTMLCSSUtils->GetComputedStyle(aElement);
|
|
NS_ENSURE_STATE(cssDecl);
|
|
|
|
aBorderLeft = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("border-left-width"));
|
|
aBorderTop = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("border-top-width"));
|
|
aMarginLeft = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("margin-left"));
|
|
aMarginTop = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("margin-top"));
|
|
|
|
aX = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("left")) +
|
|
aMarginLeft + aBorderLeft;
|
|
aY = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("top")) +
|
|
aMarginTop + aBorderTop;
|
|
aW = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("width"));
|
|
aH = GetCSSFloatValue(cssDecl, NS_LITERAL_STRING("height"));
|
|
}
|
|
else {
|
|
mResizedObjectIsAbsolutelyPositioned = false;
|
|
nsCOMPtr<nsIDOMHTMLElement> htmlElement = do_QueryInterface(aElement);
|
|
if (!htmlElement) {
|
|
return NS_ERROR_NULL_POINTER;
|
|
}
|
|
GetElementOrigin(aElement, aX, aY);
|
|
|
|
res = htmlElement->GetOffsetWidth(&aW);
|
|
NS_ENSURE_SUCCESS(res, res);
|
|
res = htmlElement->GetOffsetHeight(&aH);
|
|
|
|
aBorderLeft = 0;
|
|
aBorderTop = 0;
|
|
aMarginLeft = 0;
|
|
aMarginTop = 0;
|
|
}
|
|
return res;
|
|
}
|
|
|
|
// self-explanatory
|
|
void
|
|
nsHTMLEditor::SetAnonymousElementPosition(int32_t aX, int32_t aY, nsIDOMElement *aElement)
|
|
{
|
|
mHTMLCSSUtils->SetCSSPropertyPixels(aElement, NS_LITERAL_STRING("left"), aX);
|
|
mHTMLCSSUtils->SetCSSPropertyPixels(aElement, NS_LITERAL_STRING("top"), aY);
|
|
}
|