Commit 666f4b87 authored by yael.aharon@nokia.com's avatar yael.aharon@nokia.com
Browse files

Initial support for HTMLMeterElement

https://bugs.webkit.org/show_bug.cgi?id=38140

Reviewed by Kent Tamura.

WebCore: 

This patch adds support for HTMLMeterElement, including default rendering
of the meter element. That is because some platforms do not have a native gauge.
The feature is turned on only for the Qt platform.

Tests: fast/dom/HTMLMeterElement/meter-element.html
       fast/dom/HTMLMeterElement/set-meter-properties.html

* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pri:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* css/CSSValueKeywords.in:
* css/html.css:
(meter):
(meter::-webkit-meter):
* html/HTMLAttributeNames.in:
* html/HTMLElement.cpp:
(WebCore::inlineTagList):
* html/HTMLElementsAllInOne.cpp:
* html/HTMLMeterElement.cpp: Added.
(WebCore::HTMLMeterElement::HTMLMeterElement):
(WebCore::HTMLMeterElement::create):
(WebCore::HTMLMeterElement::createRenderer):
(WebCore::HTMLMeterElement::formControlType):
(WebCore::HTMLMeterElement::parseMappedAttribute):
(WebCore::HTMLMeterElement::min):
(WebCore::HTMLMeterElement::setMin):
(WebCore::HTMLMeterElement::max):
(WebCore::HTMLMeterElement::setMax):
(WebCore::HTMLMeterElement::value):
(WebCore::HTMLMeterElement::setValue):
(WebCore::HTMLMeterElement::low):
(WebCore::HTMLMeterElement::setLow):
(WebCore::HTMLMeterElement::high):
(WebCore::HTMLMeterElement::setHigh):
(WebCore::HTMLMeterElement::optimum):
(WebCore::HTMLMeterElement::setOptimum):
* html/HTMLMeterElement.h: Added.
(WebCore::HTMLMeterElement::recalcWillValidate):
* html/HTMLMeterElement.idl: Added.
* html/HTMLTagNames.in:
* page/DOMWindow.idl:
* platform/ThemeTypes.h:
* rendering/RenderMeter.cpp: Added.
(WebCore::RenderMeter::RenderMeter):
(WebCore::RenderMeter::layout):
(WebCore::RenderMeter::updateFromElement):
* rendering/RenderMeter.h: Added.
(WebCore::RenderMeter::renderName):
(WebCore::RenderMeter::isMeter):
(WebCore::toRenderMeter):
* rendering/RenderObject.h:
(WebCore::RenderObject::isMeter):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::adjustStyle):
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::paintBorderOnly):
(WebCore::RenderTheme::paintDecorations):
(WebCore::RenderTheme::adjustMeterStyle):
(WebCore::RenderTheme::paintMeter):
* rendering/RenderTheme.h:

LayoutTests: 

* fast/dom/HTMLMeterElement: Added.
* fast/dom/HTMLMeterElement/meter-element.html: Added.
* fast/dom/HTMLMeterElement/script-tests: Added.
* fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html: Added.
* fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js: Added.
* fast/dom/HTMLMeterElement/set-meter-properties-expected.txt: Added.
* fast/dom/HTMLMeterElement/set-meter-properties.html: Added.
* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/fast/dom/HTMLMeterElement: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.png: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
* platform/win/Skipped:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent f0b7fe4a
2010-05-15 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Kent Tamura.
Initial support for HTMLMeterElement
https://bugs.webkit.org/show_bug.cgi?id=38140
* fast/dom/HTMLMeterElement: Added.
* fast/dom/HTMLMeterElement/meter-element.html: Added.
* fast/dom/HTMLMeterElement/script-tests: Added.
* fast/dom/HTMLMeterElement/script-tests/TEMPLATE.html: Added.
* fast/dom/HTMLMeterElement/script-tests/set-meter-properties.js: Added.
* fast/dom/HTMLMeterElement/set-meter-properties-expected.txt: Added.
* fast/dom/HTMLMeterElement/set-meter-properties.html: Added.
* platform/chromium/test_expectations.txt:
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/fast/dom/HTMLMeterElement: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.checksum: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.png: Added.
* platform/qt/fast/dom/HTMLMeterElement/meter-element-expected.txt: Added.
* platform/win/Skipped:
2010-05-15 Eric Uhrhane <ericu@chromium.org>
 
Reviewed by Dmitry Titov.
<html><body><meter min=10 value=30 max=100>30%</meter><meter min=0 value=70 max=100 style="width:10px; height:60px;">70%</meter></body></html>
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<link rel="stylesheet" href="../../js/resources/js-test-style.css">
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="YOUR_JS_FILE_HERE"></script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
description('Test setting valid and invalid properties of HTMLMeterElement.');
var m = document.createElement('meter');
debug("Test values before properties were set");
shouldBe("m.min", "0");
shouldBe("m.value", "0");
shouldBe("m.max", "1");
shouldBe("m.low", "0");
shouldBe("m.high", "1");
shouldBe("m.optimum", "0.5");
debug("Set valid values");
m.min = "-10";
m.value = 7e1;
m.max = "1e2";
m.low = "10.1";
m.high = "99.5";
m.optimum = "70";
shouldBe("m.min", "-10");
shouldBe("m.value", "70");
shouldBe("m.max", "100");
shouldBe("m.low", "10.1");
shouldBe("m.high", "99.5");
shouldBe("m.optimum", "70");
debug("Set attributes to improper values - 1");
m.min = -10;
m.value = 200;
m.max = 100.0;
m.low = 200;
m.high = -50;
m.optimum = null;
shouldBe("m.min", "-10");
shouldBe("m.value", "100");
shouldBe("m.max", "100");
shouldBe("m.low", "100");
shouldBe("m.high", "100");
shouldBe("m.optimum", "0");
debug("Set attributes to improper values - 2");
m.min = 200.0;
m.value = -200.0;
m.max = 0;
m.low = null;
shouldBe("m.min", "200.0");
shouldBe("m.value", "200.0");
shouldBe("m.max", "200.0");
shouldBe("m.low", "200.0");
debug("Set attributes to improper values - 3");
m.min = 100.0;
m.value = 200.0;
m.max = 50;
m.low = 10;
m.high = 15e1;
m.optimum = 12.5;
shouldBe("m.min", "100.0");
shouldBe("m.value", "100.0");
shouldBe("m.max", "100.0");
shouldBe("m.low", "100.0");
shouldBe("m.high", "100.0");
shouldBe("m.optimum", "100.0");
debug("Set attributes to improper values - 4");
m.min = 0.0;
m.value = 250.0;
m.max = 200;
m.low = -10;
m.high = 15e2;
m.optimum = 12.5;
shouldBe("m.min", "0.0");
shouldBe("m.value", "200.0");
shouldBe("m.max", "200.0");
shouldBe("m.low", "0.0");
shouldBe("m.high", "200.0");
shouldBe("m.optimum", "12.5");
debug("Set value to invalid value");
shouldThrow('m.value = "value";', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set min to NaN");
shouldThrow('m.min = NaN;', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set max to Infinity");
shouldThrow('m.max = Infinity;', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set low to invalid value");
shouldThrow('m.low = "low";', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set high to NaN");
shouldThrow('m.high = NaN;', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set optimum to Infinity");
shouldThrow('m.optimum = Infinity;', '"Error: NOT_SUPPORTED_ERR: DOM Exception 9"');
debug("Set attributes to valid numbers");
m.setAttribute("min", 0);
m.setAttribute("value", 5);
m.setAttribute("max", 10);
shouldBe("m.value", "5");
shouldBe("m.max", "10");
shouldBe("parseInt(m.getAttribute('value'))", "5");
shouldBe("parseInt(m.getAttribute('max'))", "10");
debug("Set attributes to invalid values");
m.setAttribute("value", "ABC");
m.setAttribute("max", "#");
shouldBe("m.value", "0");
shouldBe("m.max", "1");
shouldBe("m.getAttribute('value')", "'ABC'");
shouldBe("m.getAttribute('max')", "'#'");
debug("Set attributes to numbers with leading spaces");
m.setAttribute("value", " 5");
m.setAttribute("min", " 5");
m.setAttribute("max", " 5");
m.setAttribute("low", " 5");
m.setAttribute("high", " 5");
m.setAttribute("optimum", " 5");
shouldBe("m.value", "0");
shouldBe("m.min", "0");
shouldBe("m.max", "1");
shouldBe("m.low", "0");
shouldBe("m.high", "1");
shouldBe("m.optimum", "0.5");
var successfullyParsed = true;
Test setting valid and invalid properties of HTMLMeterElement.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Test values before properties were set
PASS m.min is 0
PASS m.value is 0
PASS m.max is 1
PASS m.low is 0
PASS m.high is 1
PASS m.optimum is 0.5
Set valid values
PASS m.min is -10
PASS m.value is 70
PASS m.max is 100
PASS m.low is 10.1
PASS m.high is 99.5
PASS m.optimum is 70
Set attributes to improper values - 1
PASS m.min is -10
PASS m.value is 100
PASS m.max is 100
PASS m.low is 100
PASS m.high is 100
PASS m.optimum is 0
Set attributes to improper values - 2
PASS m.min is 200.0
PASS m.value is 200.0
PASS m.max is 200.0
PASS m.low is 200.0
Set attributes to improper values - 3
PASS m.min is 100.0
PASS m.value is 100.0
PASS m.max is 100.0
PASS m.low is 100.0
PASS m.high is 100.0
PASS m.optimum is 100.0
Set attributes to improper values - 4
PASS m.min is 0.0
PASS m.value is 200.0
PASS m.max is 200.0
PASS m.low is 0.0
PASS m.high is 200.0
PASS m.optimum is 12.5
Set value to invalid value
PASS m.value = "value"; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set min to NaN
PASS m.min = NaN; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set max to Infinity
PASS m.max = Infinity; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set low to invalid value
PASS m.low = "low"; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set high to NaN
PASS m.high = NaN; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set optimum to Infinity
PASS m.optimum = Infinity; threw exception Error: NOT_SUPPORTED_ERR: DOM Exception 9.
Set attributes to valid numbers
PASS m.value is 5
PASS m.max is 10
PASS parseInt(m.getAttribute('value')) is 5
PASS parseInt(m.getAttribute('max')) is 10
Set attributes to invalid values
PASS m.value is 0
PASS m.max is 1
PASS m.getAttribute('value') is 'ABC'
PASS m.getAttribute('max') is '#'
Set attributes to numbers with leading spaces
PASS m.value is 0
PASS m.min is 0
PASS m.max is 1
PASS m.low is 0
PASS m.high is 1
PASS m.optimum is 0.5
PASS successfullyParsed is true
TEST COMPLETE
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<link rel="stylesheet" href="../../js/resources/js-test-style.css">
<script src="../../js/resources/js-test-pre.js"></script>
</head>
<body>
<p id="description"></p>
<div id="console"></div>
<script src="script-tests/set-meter-properties.js"></script>
<script src="../../js/resources/js-test-post.js"></script>
</body>
</html>
......@@ -2626,6 +2626,10 @@ BUG38227 DEFER : fast/dom/HTMLProgressElement/progress-element.html = MISSING
BUG38227 DEFER : fast/dom/HTMLProgressElement/set-progress-properties.html = TEXT
BUG38227 SKIP : fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element.html = FAIL
// HTMLMeterElement related tests deferred due to https://bugs.webkit.org/show_bug.cgi?id=37074.
BUGWK37074 DEFER : fast/dom/HTMLMeterElement/meter-element.html = MISSING
BUGWK37074 DEFER : fast/dom/HTMLMeterElement/set-meter-properties.html = TEXT
// WebKit roll 56004 -> 56026
BUG38278 : fast/events/continuous-platform-wheelevent-in-scrolling-div.html = TIMEOUT
BUG38278 : fast/events/platform-wheelevent-in-scrolling-div.html = TIMEOUT
......
......@@ -5714,6 +5714,10 @@ fast/dom/HTMLProgressElement/progress-element.html
fast/dom/HTMLProgressElement/set-progress-properties.html
fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element.html
# meter element is not supported
fast/dom/HTMLMeterElement/meter-element.html
fast/dom/HTMLMeterElement/set-meter-properties.html
# Needs mock support, and build slave Geolocation service
# See https://bugs.webkit.org/show_bug.cgi?id=36053
fast/dom/Geolocation/maximum-age.html
......
......@@ -142,6 +142,10 @@ fast/forms/multiple-form-submission-protection-mouse.html
# The animation causes the result of this test to depend on the speed of executing it, and that will cause it to be flaky
fast/dom/HTMLProgressElement/progress-element.html
# meter element is not supported
fast/dom/HTMLMeterElement/meter-element.html
fast/dom/HTMLMeterElement/set-meter-properties.html
# event.dataTransfer.setData('text/uri-list') not correctly implemented on Mac
editing/pasteboard/dataTransfer-setData-getData.html
......
22dbcc8ef6e004c22aaecf5ea7126527
\ No newline at end of file
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderMeter {METER} at (0,44) size 80x16
RenderText {#text} at (0,0) size 0x0
RenderMeter {METER} at (80,0) size 10x60
RenderText {#text} at (0,0) size 0x0
RenderText {#text} at (0,0) size 0x0
......@@ -834,6 +834,10 @@ fast/dom/HTMLProgressElement/progress-element.html
fast/dom/HTMLProgressElement/set-progress-properties.html
fast/dom/HTMLProgressElement/progress-bar-value-pseudo-element.html
# meter element is not supported
fast/dom/HTMLMeterElement/meter-element.html
fast/dom/HTMLMeterElement/set-meter-properties.html
# No Widgets 1.0 support
fast/media/media-feature-wgt-view-mode.html
......
2010-05-15 Yael Aharon <yael.aharon@nokia.com>
Reviewed by Kent Tamura.
Initial support for HTMLMeterElement
https://bugs.webkit.org/show_bug.cgi?id=38140
This patch adds support for HTMLMeterElement, including default rendering
of the meter element. That is because some platforms do not have a native gauge.
The feature is turned on only for the Qt platform.
Tests: fast/dom/HTMLMeterElement/meter-element.html
fast/dom/HTMLMeterElement/set-meter-properties.html
* DerivedSources.cpp:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pri:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
* css/CSSValueKeywords.in:
* css/html.css:
(meter):
(meter::-webkit-meter):
* html/HTMLAttributeNames.in:
* html/HTMLElement.cpp:
(WebCore::inlineTagList):
* html/HTMLElementsAllInOne.cpp:
* html/HTMLMeterElement.cpp: Added.
(WebCore::HTMLMeterElement::HTMLMeterElement):
(WebCore::HTMLMeterElement::create):
(WebCore::HTMLMeterElement::createRenderer):
(WebCore::HTMLMeterElement::formControlType):
(WebCore::HTMLMeterElement::parseMappedAttribute):
(WebCore::HTMLMeterElement::min):
(WebCore::HTMLMeterElement::setMin):
(WebCore::HTMLMeterElement::max):
(WebCore::HTMLMeterElement::setMax):
(WebCore::HTMLMeterElement::value):
(WebCore::HTMLMeterElement::setValue):
(WebCore::HTMLMeterElement::low):
(WebCore::HTMLMeterElement::setLow):
(WebCore::HTMLMeterElement::high):
(WebCore::HTMLMeterElement::setHigh):
(WebCore::HTMLMeterElement::optimum):
(WebCore::HTMLMeterElement::setOptimum):
* html/HTMLMeterElement.h: Added.
(WebCore::HTMLMeterElement::recalcWillValidate):
* html/HTMLMeterElement.idl: Added.
* html/HTMLTagNames.in:
* page/DOMWindow.idl:
* platform/ThemeTypes.h:
* rendering/RenderMeter.cpp: Added.
(WebCore::RenderMeter::RenderMeter):
(WebCore::RenderMeter::layout):
(WebCore::RenderMeter::updateFromElement):
* rendering/RenderMeter.h: Added.
(WebCore::RenderMeter::renderName):
(WebCore::RenderMeter::isMeter):
(WebCore::toRenderMeter):
* rendering/RenderObject.h:
(WebCore::RenderObject::isMeter):
* rendering/RenderTheme.cpp:
(WebCore::RenderTheme::adjustStyle):
(WebCore::RenderTheme::paint):
(WebCore::RenderTheme::paintBorderOnly):
(WebCore::RenderTheme::paintDecorations):
(WebCore::RenderTheme::adjustMeterStyle):
(WebCore::RenderTheme::paintMeter):
* rendering/RenderTheme.h:
2010-05-15 Eric Uhrhane <ericu@chromium.org>
 
Reviewed by Dmitry Titov.
......@@ -140,6 +140,7 @@
#include "JSHTMLMediaElement.cpp"
#include "JSHTMLMenuElement.cpp"
#include "JSHTMLMetaElement.cpp"
#include "JSHTMLMeterElement.cpp"
#include "JSHTMLModElement.cpp"
#include "JSHTMLObjectElement.cpp"
#include "JSHTMLOListElement.cpp"
......
......@@ -182,6 +182,7 @@ DOM_CLASSES = \
HTMLMediaElement \
HTMLMenuElement \
HTMLMetaElement \
HTMLMeterElement \
HTMLModElement \
HTMLOListElement \
HTMLObjectElement \
......@@ -644,6 +645,10 @@ ifeq ($(findstring ENABLE_DATALIST,$(FEATURE_DEFINES)), ENABLE_DATALIST)
HTML_FLAGS := $(HTML_FLAGS) ENABLE_DATALIST=1
endif
ifeq ($(findstring ENABLE_METER_TAG,$(FEATURE_DEFINES)), ENABLE_METER_TAG)
HTML_FLAGS := $(HTML_FLAGS) ENABLE_METER_TAG=1
endif
ifeq ($(findstring ENABLE_PROGRESS_TAG,$(FEATURE_DEFINES)), ENABLE_PROGRESS_TAG)
HTML_FLAGS := $(HTML_FLAGS) ENABLE_PROGRESS_TAG=1
endif
......
......@@ -244,6 +244,7 @@ IDL_BINDINGS += \
WebCore/html/MediaError.idl \
WebCore/html/HTMLMenuElement.idl \
WebCore/html/HTMLMetaElement.idl \
WebCore/html/HTMLMeterElement.idl \
WebCore/html/HTMLModElement.idl \
WebCore/html/HTMLOListElement.idl \
WebCore/html/HTMLObjectElement.idl \
......@@ -1167,6 +1168,8 @@ webcore_sources += \
WebCore/html/HTMLMenuElement.h \
WebCore/html/HTMLMetaElement.cpp \
WebCore/html/HTMLMetaElement.h \
WebCore/html/HTMLMeterElement.cpp \
WebCore/html/HTMLMeterElement.h \
WebCore/html/HTMLModElement.cpp \
WebCore/html/HTMLModElement.h \
WebCore/html/HTMLNameCollection.cpp \
......@@ -1900,6 +1903,8 @@ webcore_sources += \
WebCore/rendering/RenderMarquee.h \
WebCore/rendering/RenderMenuList.cpp \
WebCore/rendering/RenderMenuList.h \
WebCore/rendering/RenderMeter.cpp \
WebCore/rendering/RenderMeter.h \
WebCore/rendering/RenderObject.cpp \
WebCore/rendering/RenderObject.h \
WebCore/rendering/RenderObjectChildList.cpp \
......@@ -2246,6 +2251,14 @@ FEATURE_DEFINES += ENABLE_DATAGRID=0
webcore_cppflags += \
-DENABLE_DATAGRID=0
# ----
# HTML Meter Element - disable for now.
# ----
FEATURE_DEFINES += ENABLE_METER_TAG=0
webcore_cppflags += \
-DENABLE_METER_TAG=0
# ----
# HTML Progress Element - disable for now, since painting code is missing.
# ----
......
......@@ -158,6 +158,7 @@
'html/HTMLMediaElement.idl',
'html/HTMLMenuElement.idl',
'html/HTMLMetaElement.idl',
'html/HTMLMeterElement.idl',
'html/HTMLModElement.idl',
'html/HTMLOListElement.idl',
'html/HTMLObjectElement.idl',
......@@ -1560,6 +1561,8 @@
'html/HTMLMenuElement.h',
'html/HTMLMetaElement.cpp',
'html/HTMLMetaElement.h',
'html/HTMLMeterElement.cpp',
'html/HTMLMeterElement.h',
'html/HTMLModElement.cpp',
'html/HTMLModElement.h',
'html/HTMLNameCollection.cpp',
......@@ -3137,6 +3140,8 @@
'rendering/RenderMediaControlsChromium.h',
'rendering/RenderMenuList.cpp',
'rendering/RenderMenuList.h',
'rendering/RenderMeter.cpp',
'rendering/RenderMeter.h',
'rendering/RenderObject.cpp',
'rendering/RenderObject.h',
'rendering/RenderObjectChildList.cpp',
......
......@@ -58,6 +58,7 @@ contains(DEFINES, ENABLE_SINGLE_THREADED=1) {
!contains(DEFINES, ENABLE_VIDEO=.): DEFINES += ENABLE_VIDEO=1
!contains(DEFINES, ENABLE_RUBY=.): DEFINES += ENABLE_RUBY=1
!contains(DEFINES, ENABLE_SANDBOX=.): DEFINES += ENABLE_SANDBOX=1
!contains(DEFINES, ENABLE_METER_TAG=.): DEFINES += ENABLE_METER_TAG=1
!contains(DEFINES, ENABLE_PROGRESS_TAG=.): DEFINES += ENABLE_PROGRESS_TAG=1
!contains(DEFINES, ENABLE_BLOB_SLICE=.): DEFINES += ENABLE_BLOB_SLICE=0
!contains(DEFINES, ENABLE_NOTIFICATIONS=.): DEFINES += ENABLE_NOTIFICATIONS=1
......@@ -163,6 +164,7 @@ contains(DEFINES, ENABLE_WEB_SOCKETS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_WE
contains(DEFINES, ENABLE_TOUCH_EVENTS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_TOUCH_EVENTS=1
contains(DEFINES, ENABLE_TILED_BACKING_STORE=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_TILED_BACKING_STORE=1
contains(DEFINES, ENABLE_NOTIFICATIONS=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_NOTIFICATIONS=1
contains(DEFINES, ENABLE_METER_TAG=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_METER_TAG=1
contains(DEFINES, ENABLE_PROGRESS_TAG=1): FEATURE_DEFINES_JAVASCRIPT += ENABLE_PROGRESS_TAG=1
......@@ -377,6 +379,7 @@ IDL_BINDINGS += \
html/HTMLMediaElement.idl \
html/HTMLMenuElement.idl \
html/HTMLMetaElement.idl \
html/HTMLMeterElement.idl \
html/HTMLModElement.idl \
html/HTMLObjectElement.idl \
html/HTMLOListElement.idl \
......
......@@ -655,6 +655,7 @@ SOURCES += \
html/HTMLMarqueeElement.cpp \
html/HTMLMenuElement.cpp \
html/HTMLMetaElement.cpp \
html/HTMLMeterElement.cpp \
html/HTMLModElement.cpp \
html/HTMLNameCollection.cpp \
html/HTMLObjectElement.cpp \
......@@ -936,6 +937,7 @@ SOURCES += \
rendering/RenderListMarker.cpp \
rendering/RenderMarquee.cpp \
rendering/RenderMenuList.cpp \
rendering/RenderMeter.cpp \
rendering/RenderObject.cpp \
rendering/RenderObjectChildList.cpp \
rendering/RenderPart.cpp \
......@@ -1376,6 +1378,7 @@ HEADERS += \
html/HTMLMediaElement.h \
html/HTMLMenuElement.h \
html/HTMLMetaElement.h \
html/HTMLMeterElement.h \
html/HTMLModElement.h \
html/HTMLNameCollection.h \
html/HTMLNoScriptElement.h \
......@@ -1715,6 +1718,7 @@ HEADERS += \
rendering/RenderMarquee.h \
rendering/RenderMedia.h \
rendering/RenderMenuList.h \
rendering/RenderMeter.h \
rendering/RenderObjectChildList.h \
rendering/RenderObject.h \
rendering/RenderPart.h \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment