Use OptionSet<HangingPunctuation> instead of bitmask.
Created attachment 320645 [details] Patch
Created attachment 320653 [details] Patch
Created attachment 320656 [details] Patch
Created attachment 320658 [details] Patch
Comment on attachment 320658 [details] Patch Could you make HangingPunctuation an enum class at the same time? Is NoHangingPunctuation still needed?
Comment on attachment 320658 [details] Patch Attachment 320658 [details] did not pass mac-debug-ews (mac): Output: http://webkit-queues.webkit.org/results/4536502 New failing tests: fast/text/hanging-punctuation-first-ws.html fast/text/hanging-punctuation-variable-font-size.html fast/text/hanging-punctuation-allow-end-basic.html fast/text/hanging-punctuation-allow-end.html fast/text/hanging-punctuation-last-rtl.html fast/text/hanging-punctuation-first.html fast/text/hanging-punctuation-last-ws.html fast/text/hanging-punctuation-first-and-last-together.html fast/text/hanging-punctuation-last.html fast/text/hanging-punctuation-first-rtl.html fast/text/hanging-punctuation-allow-end-inlines.html fast/css/round-trip-stroke-width-using-computed-style.html
Created attachment 320677 [details] Archive of layout-test-results from ews114 for mac-elcapitan The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews114 Port: mac-elcapitan Platform: Mac OS X 10.11.6
Comment on attachment 320658 [details] Patch Looks like assertions are being hit on Mac debug EWS.
This was fixed in the patch for bug #186015.