Changeset 106794 in webkit
- Timestamp:
- Feb 6, 2012 2:39:29 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 5 added
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r106792 r106794 1 2012-02-06 Hayato Ito <hayato@chromium.org> 2 3 Add <shadow> element, which is guarded by SHADOW_DOM flag. 4 https://bugs.webkit.org/show_bug.cgi?id=76435 5 6 Reviewed by Dimitri Glazkov. 7 8 Test: fast/dom/shadow/shadow-element.html 9 10 * fast/dom/shadow/shadow-element-expected.txt: Added. 11 * fast/dom/shadow/shadow-element.html: Added. 12 1 13 2012-02-06 Joe Thomas <joethomas@motorola.com> 2 14 -
trunk/Source/WebCore/CMakeLists.txt
r106772 r106794 308 308 309 309 html/shadow/HTMLContentElement.idl 310 html/shadow/HTMLShadowElement.idl 310 311 311 312 html/track/TextTrackList.idl … … 867 868 html/shadow/DetailsMarkerControl.cpp 868 869 html/shadow/HTMLContentElement.cpp 870 html/shadow/HTMLShadowElement.cpp 869 871 html/shadow/MediaControls.cpp 870 872 html/shadow/MediaControlRootElement.cpp -
trunk/Source/WebCore/ChangeLog
r106792 r106794 1 2012-02-06 Hayato Ito <hayato@chromium.org> 2 3 Add <shadow> element, which is guarded by SHADOW_DOM flag. 4 https://bugs.webkit.org/show_bug.cgi?id=76435 5 6 Reviewed by Dimitri Glazkov. 7 8 Test: fast/dom/shadow/shadow-element.html 9 10 * CMakeLists.txt: 11 * DerivedSources.cpp: 12 * DerivedSources.make: 13 * DerivedSources.pri: 14 * GNUmakefile.list.am: 15 * Target.pri: 16 * WebCore.gypi: 17 * WebCore.vcproj/WebCore.vcproj: 18 * WebCore.xcodeproj/project.pbxproj: 19 * html/HTMLElementsAllInOne.cpp: 20 * html/HTMLTagNames.in: 21 * html/shadow/HTMLShadowElement.cpp: Added. 22 (WebCore): 23 (WebCore::HTMLShadowElement::HTMLShadowElement): 24 (WebCore::HTMLShadowElement::create): 25 (WebCore::HTMLShadowElement::~HTMLShadowElement): 26 * html/shadow/HTMLShadowElement.h: Added. 27 (WebCore): 28 (HTMLShadowElement): 29 * html/shadow/HTMLShadowElement.idl: Added. 30 1 31 2012-02-06 Joe Thomas <joethomas@motorola.com> 2 32 -
trunk/Source/WebCore/DerivedSources.cpp
r106373 r106794 194 194 #include "JSHTMLScriptElement.cpp" 195 195 #include "JSHTMLSelectElement.cpp" 196 #if ENABLE(SHADOW_DOM) 197 #include "JSHTMLShadowElement.cpp" 198 #endif 196 199 #include "JSHTMLSourceElement.cpp" 197 200 #include "JSHTMLSpanElement.cpp" -
trunk/Source/WebCore/DerivedSources.make
r106373 r106794 300 300 $(WebCore)/html/canvas/WebGLVertexArrayObjectOES.idl \ 301 301 $(WebCore)/html/shadow/HTMLContentElement.idl \ 302 $(WebCore)/html/shadow/HTMLShadowElement.idl \ 302 303 $(WebCore)/html/track/TextTrackList.idl \ 303 304 $(WebCore)/html/track/TrackEvent.idl \ -
trunk/Source/WebCore/DerivedSources.pri
r106377 r106794 328 328 $$PWD/html/VoidCallback.idl \ 329 329 $$PWD/html/shadow/HTMLContentElement.idl \ 330 $$PWD/html/shadow/HTMLShadowElement.idl \ 330 331 $$PWD/inspector/InjectedScriptHost.idl \ 331 332 $$PWD/inspector/InspectorFrontendHost.idl \ -
trunk/Source/WebCore/GNUmakefile.list.am
r106782 r106794 5762 5762 endif # END USE_TEXTURE_MAPPER_GL 5763 5763 endif # USE_ACCELERATED_COMPOSITING 5764 5765 # --- 5766 # Shadow DOM support 5767 # --- 5768 if ENABLE_SHADOW_DOM 5769 webcore_built_sources += \ 5770 DerivedSources/WebCore/JSHTMLShadowElement.cpp \ 5771 DerivedSources/WebCore/JSHTMLShadowElement.h 5772 dom_binding_idls += \ 5773 $(WebCore)/html/shadow/HTMLShadowElement.idl 5774 5775 endif # END ENABLE_SHADOW_DOM -
trunk/Source/WebCore/Target.pri
r106756 r106794 847 847 html/shadow/DetailsMarkerControl.cpp \ 848 848 html/shadow/HTMLContentElement.cpp \ 849 html/shadow/HTMLShadowElement.cpp \ 849 850 html/shadow/MediaControls.cpp \ 850 851 html/shadow/MediaControlRootElement.cpp \ … … 1907 1908 html/shadow/ContentInclusionSelector.h \ 1908 1909 html/shadow/HTMLContentElement.h \ 1910 html/shadow/HTMLShadowElement.h \ 1909 1911 html/shadow/MediaControlElements.h \ 1910 1912 html/shadow/DetailsMarkerControl.h \ -
trunk/Source/WebCore/WebCore.gypi
r106770 r106794 977 977 'html/canvas/WebGLVertexArrayObjectOES.idl', 978 978 'html/shadow/HTMLContentElement.idl', 979 'html/shadow/HTMLShadowElement.idl', 979 980 'html/track/TextTrackList.idl', 980 981 'html/track/TrackEvent.idl', … … 5533 5534 'html/shadow/HTMLContentElement.cpp', 5534 5535 'html/shadow/HTMLContentElement.h', 5536 'html/shadow/HTMLShadowElement.cpp', 5537 'html/shadow/HTMLShadowElement.h', 5535 5538 'html/shadow/MediaControls.cpp', 5536 5539 'html/shadow/MediaControls.h', -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r106770 r106794 8831 8831 </File> 8832 8832 <File 8833 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSHTMLShadowElement.cpp" 8834 > 8835 <FileConfiguration 8836 Name="Debug|Win32" 8837 ExcludedFromBuild="true" 8838 > 8839 <Tool 8840 Name="VCCLCompilerTool" 8841 /> 8842 </FileConfiguration> 8843 <FileConfiguration 8844 Name="Release|Win32" 8845 ExcludedFromBuild="true" 8846 > 8847 <Tool 8848 Name="VCCLCompilerTool" 8849 /> 8850 </FileConfiguration> 8851 <FileConfiguration 8852 Name="Debug_Cairo_CFLite|Win32" 8853 ExcludedFromBuild="true" 8854 > 8855 <Tool 8856 Name="VCCLCompilerTool" 8857 /> 8858 </FileConfiguration> 8859 <FileConfiguration 8860 Name="Release_Cairo_CFLite|Win32" 8861 ExcludedFromBuild="true" 8862 > 8863 <Tool 8864 Name="VCCLCompilerTool" 8865 /> 8866 </FileConfiguration> 8867 <FileConfiguration 8868 Name="Debug_All|Win32" 8869 ExcludedFromBuild="true" 8870 > 8871 <Tool 8872 Name="VCCLCompilerTool" 8873 /> 8874 </FileConfiguration> 8875 <FileConfiguration 8876 Name="Production|Win32" 8877 ExcludedFromBuild="true" 8878 > 8879 <Tool 8880 Name="VCCLCompilerTool" 8881 /> 8882 </FileConfiguration> 8883 </File> 8884 <File 8885 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSHTMLShadowElement.h" 8886 > 8887 </File> 8888 <File 8833 8889 RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSHTMLSourceElement.cpp" 8834 8890 > … … 60834 60890 </File> 60835 60891 <File 60892 RelativePath="..\html\shadow\HTMLShadowElement.cpp" 60893 > 60894 <FileConfiguration 60895 Name="Debug|Win32" 60896 ExcludedFromBuild="true" 60897 > 60898 <Tool 60899 Name="VCCLCompilerTool" 60900 /> 60901 </FileConfiguration> 60902 <FileConfiguration 60903 Name="Release|Win32" 60904 ExcludedFromBuild="true" 60905 > 60906 <Tool 60907 Name="VCCLCompilerTool" 60908 /> 60909 </FileConfiguration> 60910 <FileConfiguration 60911 Name="Debug_Cairo_CFLite|Win32" 60912 ExcludedFromBuild="true" 60913 > 60914 <Tool 60915 Name="VCCLCompilerTool" 60916 /> 60917 </FileConfiguration> 60918 <FileConfiguration 60919 Name="Release_Cairo_CFLite|Win32" 60920 ExcludedFromBuild="true" 60921 > 60922 <Tool 60923 Name="VCCLCompilerTool" 60924 /> 60925 </FileConfiguration> 60926 <FileConfiguration 60927 Name="Debug_All|Win32" 60928 ExcludedFromBuild="true" 60929 > 60930 <Tool 60931 Name="VCCLCompilerTool" 60932 /> 60933 </FileConfiguration> 60934 <FileConfiguration 60935 Name="Production|Win32" 60936 ExcludedFromBuild="true" 60937 > 60938 <Tool 60939 Name="VCCLCompilerTool" 60940 /> 60941 </FileConfiguration> 60942 </File> 60943 <File 60944 RelativePath="..\html\shadow\HTMLShadowElement.h" 60945 > 60946 </File> 60947 <File 60836 60948 RelativePath="..\html\shadow\MediaControlElements.cpp" 60837 60949 > -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r106770 r106794 1360 1360 4A6E9FC813C17D570046A7F8 /* FontFeatureSettings.h in Headers */ = {isa = PBXBuildFile; fileRef = 4A6E9FC613C17D570046A7F8 /* FontFeatureSettings.h */; settings = {ATTRIBUTES = (Private, ); }; }; 1361 1361 4A8C96EB0BE69032004EEFF0 /* FrameSelectionMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 4A8C96EA0BE69032004EEFF0 /* FrameSelectionMac.mm */; }; 1362 4ABDFF0B14DBE385004D117D /* HTMLShadowElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4ABDFF0714DBE312004D117D /* HTMLShadowElement.cpp */; }; 1363 4ABDFF0C14DBE385004D117D /* HTMLShadowElement.h in Headers */ = {isa = PBXBuildFile; fileRef = 4ABDFF0814DBE312004D117D /* HTMLShadowElement.h */; }; 1362 1364 4ACBC0BE12713CBD0094F9B2 /* ClassList.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 4ACBC0BC12713CBD0094F9B2 /* ClassList.cpp */; }; 1363 1365 4ACBC0BF12713CBD0094F9B2 /* ClassList.h in Headers */ = {isa = PBXBuildFile; fileRef = 4ACBC0BD12713CBD0094F9B2 /* ClassList.h */; }; … … 8186 8188 4A6E9FC613C17D570046A7F8 /* FontFeatureSettings.h */ = {isa = PBXFileReference; explicitFileType = sourcecode.c.h; fileEncoding = 4; path = FontFeatureSettings.h; sourceTree = "<group>"; }; 8187 8189 4A8C96EA0BE69032004EEFF0 /* FrameSelectionMac.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; name = FrameSelectionMac.mm; path = mac/FrameSelectionMac.mm; sourceTree = "<group>"; }; 8190 4ABDFF0714DBE312004D117D /* HTMLShadowElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLShadowElement.cpp; sourceTree = "<group>"; }; 8191 4ABDFF0814DBE312004D117D /* HTMLShadowElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLShadowElement.h; sourceTree = "<group>"; }; 8192 4ABDFF0914DBE312004D117D /* HTMLShadowElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLShadowElement.idl; sourceTree = "<group>"; }; 8188 8193 4ACBC0BC12713CBD0094F9B2 /* ClassList.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ClassList.cpp; sourceTree = "<group>"; }; 8189 8194 4ACBC0BD12713CBD0094F9B2 /* ClassList.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ClassList.h; sourceTree = "<group>"; }; … … 14312 14317 57B791A814C6A63300F202D1 /* HTMLContentElement.h */, 14313 14318 A7B7749614CF6353004044BB /* HTMLContentElement.idl */, 14319 4ABDFF0714DBE312004D117D /* HTMLShadowElement.cpp */, 14320 4ABDFF0814DBE312004D117D /* HTMLShadowElement.h */, 14321 4ABDFF0914DBE312004D117D /* HTMLShadowElement.idl */, 14314 14322 417253A81354BBBC00360F2A /* MediaControlElements.cpp */, 14315 14323 417253A91354BBBC00360F2A /* MediaControlElements.h */, … … 22322 22330 977B3876122883E900B81FF8 /* HTMLScriptRunnerHost.h in Headers */, 22323 22331 A81369D8097374F600D74463 /* HTMLSelectElement.h in Headers */, 22332 4ABDFF0C14DBE385004D117D /* HTMLShadowElement.h in Headers */, 22324 22333 E44613A80CD6331000FADA75 /* HTMLSourceElement.h in Headers */, 22325 22334 977E2DCE12F0E28300C13379 /* HTMLSourceTracker.h in Headers */, … … 25366 25375 977B3874122883E900B81FF8 /* HTMLScriptRunner.cpp in Sources */, 25367 25376 A81369D9097374F600D74463 /* HTMLSelectElement.cpp in Sources */, 25377 4ABDFF0B14DBE385004D117D /* HTMLShadowElement.cpp in Sources */, 25368 25378 E44613A70CD6331000FADA75 /* HTMLSourceElement.cpp in Sources */, 25369 25379 977E2DCD12F0E28300C13379 /* HTMLSourceTracker.cpp in Sources */, -
trunk/Source/WebCore/html/HTMLElementsAllInOne.cpp
r106373 r106794 91 91 #include "HTMLScriptElement.cpp" 92 92 #include "HTMLSelectElement.cpp" 93 #include "HTMLShadowElement.cpp" 93 94 #include "HTMLSourceElement.cpp" 94 95 #include "HTMLSpanElement.cpp" -
trunk/Source/WebCore/html/HTMLTagNames.in
r106373 r106794 94 94 option constructorNeedsFormElement 95 95 output constructorNeedsFormElement 96 shadow interfaceName=HTMLShadowElement, conditional=SHADOW_DOM 96 97 p interfaceName=HTMLParagraphElement 97 98 param
Note: See TracChangeset
for help on using the changeset viewer.