зеркало из https://github.com/mozilla/gecko-dev.git
servo: Merge #5775 - Implement CSSStyleDeclaration.float (fixes #5101) (from nox:cssstyledeclaration-float); r=jdm
It just needs to be prefixed by an underscore. Source-Repo: https://github.com/servo/servo Source-Revision: 7fa1a6a42621a8bd46137b3417a7623a6b3ed2d1
This commit is contained in:
Родитель
28ea4a79d5
Коммит
2b41fd7ef3
|
@ -84,7 +84,7 @@ partial interface CSSStyleDeclaration {
|
||||||
[TreatNullAs=EmptyString] attribute DOMString boxShadow;
|
[TreatNullAs=EmptyString] attribute DOMString boxShadow;
|
||||||
[TreatNullAs=EmptyString] attribute DOMString textShadow;
|
[TreatNullAs=EmptyString] attribute DOMString textShadow;
|
||||||
|
|
||||||
//[TreatNullAs=EmptyString] attribute DOMString float; //XXXjdm need BinaryName annotation
|
[TreatNullAs=EmptyString] attribute DOMString _float;
|
||||||
|
|
||||||
[TreatNullAs=EmptyString] attribute DOMString clear;
|
[TreatNullAs=EmptyString] attribute DOMString clear;
|
||||||
|
|
||||||
|
|
|
@ -5497,9 +5497,7 @@ macro_rules! css_properties_accessors {
|
||||||
($macro_name: ident) => {
|
($macro_name: ident) => {
|
||||||
$macro_name! {
|
$macro_name! {
|
||||||
% for property in SHORTHANDS + LONGHANDS:
|
% for property in SHORTHANDS + LONGHANDS:
|
||||||
## Servo internal CSS properties are not accessible.
|
% if property.derived_from is None:
|
||||||
## FIXME: Add BinaryName WebIDL annotation (#4435).
|
|
||||||
% if property.derived_from is None and property.name != "float":
|
|
||||||
% if property != LONGHANDS[-1]:
|
% if property != LONGHANDS[-1]:
|
||||||
[${property.camel_case}, Set${property.camel_case}, "${property.name}"],
|
[${property.camel_case}, Set${property.camel_case}, "${property.name}"],
|
||||||
% else:
|
% else:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче