OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright (C) 2012 Google, Inc. All rights reserved. | 3 * Copyright (C) 2012 Google, Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 case DocumentImportNodeOptionalArgument: | 723 case DocumentImportNodeOptionalArgument: |
724 return "The behavior of importNode() with no boolean argument is about t
o change from doing a deep clone to doing a shallow clone. " | 724 return "The behavior of importNode() with no boolean argument is about t
o change from doing a deep clone to doing a shallow clone. " |
725 "Make sure to pass an explicit boolean argument to keep your current
behavior."; | 725 "Make sure to pass an explicit boolean argument to keep your current
behavior."; |
726 | 726 |
727 case OverflowChangedEvent: | 727 case OverflowChangedEvent: |
728 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; | 728 return "The 'overflowchanged' event is deprecated and may be removed. Pl
ease do not use it."; |
729 | 729 |
730 case HTMLHeadElementProfile: | 730 case HTMLHeadElementProfile: |
731 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; | 731 return "'HTMLHeadElement.profile' is deprecated. The reflected attribute
has no effect."; |
732 | 732 |
| 733 case ElementSetPrefix: |
| 734 return "Setting 'Element.prefix' is deprecated, as it is read-only per D
OM (http://dom.spec.whatwg.org/#element)."; |
| 735 |
733 // Features that aren't deprecated don't have a deprecation message. | 736 // Features that aren't deprecated don't have a deprecation message. |
734 default: | 737 default: |
735 return String(); | 738 return String(); |
736 } | 739 } |
737 } | 740 } |
738 | 741 |
739 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) | 742 void UseCounter::count(CSSParserContext context, CSSPropertyID feature) |
740 { | 743 { |
741 ASSERT(feature >= firstCSSProperty); | 744 ASSERT(feature >= firstCSSProperty); |
742 ASSERT(feature <= lastCSSProperty); | 745 ASSERT(feature <= lastCSSProperty); |
(...skipping 28 matching lines...) Expand all Loading... |
771 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) | 774 UseCounter* UseCounter::getFrom(const StyleSheetContents* sheetContents) |
772 { | 775 { |
773 // FIXME: We may want to handle stylesheets that have multiple owners | 776 // FIXME: We may want to handle stylesheets that have multiple owners |
774 // http://crbug.com/242125 | 777 // http://crbug.com/242125 |
775 if (sheetContents && sheetContents->hasSingleOwnerNode()) | 778 if (sheetContents && sheetContents->hasSingleOwnerNode()) |
776 return getFrom(sheetContents->singleOwnerDocument()); | 779 return getFrom(sheetContents->singleOwnerDocument()); |
777 return 0; | 780 return 0; |
778 } | 781 } |
779 | 782 |
780 } // namespace WebCore | 783 } // namespace WebCore |
OLD | NEW |