-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
rocs.hu-berlin.de - Location abbreviation text overlapp each other #51616
Comments
Firefox: <g class="button" transform="translate(30,540)">
<circle r="10" style="stroke: black; fill: darkred;"></circle>
<text transform="translate(0,30)" style="text-anchor: middle">CAN</text>
</g> Chrome: <g class="button" transform="translate(30,540)">
<circle r="10" style="stroke: black; fill: darkred;"></circle>
<text transform="translate(0,30)" style="text-anchor: middle; font-size: 10px;">CAN</text>
</g> Note the missing |
http://rocs.hu-berlin.de/corona/interactives/event_horizon/eh_sg.js buttons.append("text").text(function(d){return d.root}).style("text-anchor","middle")
.attr("transform","translate(0,30)").style("font-size",10) Guessing that if it was |
Here's where d3.js's https://github.com/d3/d3-selection/blob/v1.4.1/src/selection/style.js#L19 It seems that Blink and WebKit are happy to accept a unitless value for |
It seems like jQuery tried to pre-empt this difference, maybe. |
I'm guessing Firefox bails at step 6 of https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-setproperty
|
I can't find any existing Bugzilla core bugs for this, but we should probably try outreach here -- the site is doing the wrong thing per-spec. They should just use |
I sent an email to the contact noted on the page. |
I think a similar issues occurs on Desktop page. URL: http://rocs.hu-berlin.de/corona/ Firefox: <text transform="translate(445,9.431137724550897)" style="text-anchor: end; font-weight: bold; fill: darkred;">74877</text> Chrome: <text transform="translate(445,9.431137724550897)" style="text-anchor: end; font-weight: bold; fill: darkred; font-size: 10px;">74877</text> Tested with: |
Here also: Firefox: <rect class="buttonbackground" style="fill: white;" x="-2" y="-17.350939750671387" width="69.67643737792969" height="23.188674926757812" rx="1" ry="1"></rect> Chrome: <rect class="buttonbackground" x="-2.78125" y="-11.21875" width="61.8125" height="15.53125" rx="1" ry="1" style="fill: white;"></rect> |
URL: http://rocs.hu-berlin.de/corona/docs/model/visual_analytics/
Browser / Version: Firefox Preview Nightly 200408 (馃 77.0a1-20200407093520)
Operating System: Samsung Galaxy S6 Edge (Android 7.0) - 1440 x 2560 pixels (~577 ppi pixel density)
Tested Another Browser: Yes Chrome
Problem type: Design is broken
Description: Items are overlapped
Steps to Reproduce:
Expected Behavior:
The text has a fair size, thus no locations are overlapped.
Actual Behavior:
The text is displayed too large, thus overlapping the locations.
Notes:
Watchers:
@softvision-oana-arbuzov
@softvision-sergiulogigan
@cipriansv
View the screenshot
Browser Configuration
From webcompat.com with 鉂わ笍
The text was updated successfully, but these errors were encountered: