Bug 177689 - Remove ENABLE_CSS_REGIONS
Summary: Remove ENABLE_CSS_REGIONS
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Other
Hardware: PC All
: P2 Normal
Assignee: Michael Catanzaro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2017-09-29 16:21 PDT by Michael Catanzaro
Modified: 2017-10-02 05:06 PDT (History)
5 users (show)

See Also:


Attachments
Patch (21.33 KB, patch)
2017-09-29 16:32 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff
Patch (22.39 KB, patch)
2017-10-01 07:15 PDT, Michael Catanzaro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2017-09-29 16:21:10 PDT
Remove ENABLE_CSS_REGIONS.

Also, for GTK, deprecate webkit_dom_element_get_webkit_region_overset. This is no problem because the API was added automatically and it's likely that zero applications are using it.
Comment 1 Michael Catanzaro 2017-09-29 16:32:37 PDT
Created attachment 322253 [details]
Patch
Comment 2 Michael Catanzaro 2017-09-29 16:34:46 PDT
(In reply to Michael Catanzaro from comment #0)
> Remove ENABLE_CSS_REGIONS.
> 
> Also, for GTK, deprecate webkit_dom_element_get_webkit_region_overset. This
> is no problem because the API was added automatically and it's likely that
> zero applications are using it.

Also, the API has never done anything, since GTK has never enabled ENABLE_CSS_REGIONS. I forgot how much fun autogenerated API was!
Comment 3 Michael Catanzaro 2017-09-29 17:03:02 PDT
Hmmm I didn't notice the GObject property, we need to decide how to handle that.
Comment 4 Michael Catanzaro 2017-10-01 07:15:55 PDT
Created attachment 322318 [details]
Patch
Comment 5 Darin Adler 2017-10-01 13:46:21 PDT
Comment on attachment 322318 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=322318&action=review

> Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMDeprecated.cpp:325
> +    g_warning("%s: CSS Regions support has been removed, this function does nothing.", __func__);

This says "does nothing".

> Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMElement.cpp:249
> +        g_warning("%s: CSS Regions support has been removed, the webkit-region-overset property no longer works.", __func__);

This says "no longer works". I think I like "does nothing" better.
Comment 6 Michael Catanzaro 2017-10-02 04:38:48 PDT
The problem is a property never does anything, it just exists, so the "does nothing" text doesn't work as well there.
Comment 7 WebKit Commit Bot 2017-10-02 05:06:00 PDT
Comment on attachment 322318 [details]
Patch

Clearing flags on attachment: 322318

Committed r222704: <http://trac.webkit.org/changeset/222704>
Comment 8 WebKit Commit Bot 2017-10-02 05:06:01 PDT
All reviewed patches have been landed.  Closing bug.
Comment 9 Radar WebKit Bug Importer 2017-10-02 05:06:58 PDT
<rdar://problem/34765572>