Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
66 views

In general, there is the next slide from the presentation the life of a pixel: Quote from spec: A block container box either contains only block-level boxes or establishes an inline formatting ...
MaximPro's user avatar
  • 556
2 votes
2 answers
366 views

Check this dialog box implementation. const open = document.getElementById('open') const dlg = document.getElementById('dlg') open.addEventListener('click', function () { dlg.showModal() }) dlg....
Lone Learner's user avatar
  • 21.2k
9 votes
1 answer
556 views

CSS styles such as display: inline allow <span> and <div> to break (fragment) into several rectangles on separate lines, whereas <fieldset> and <button> with the same CSS rules ...
root's user avatar
  • 2,946
2 votes
3 answers
206 views

The following code yields one circle in Firefox, but two circles in Chrome: .foo { visibility: hidden; } .foo:nth-child(2) { visibility: visible !important; } <svg> <circle class="foo" ...
root's user avatar
  • 2,946
0 votes
0 answers
40 views

Is there a specification of the HTML a server has to produce so that Vue (3.x) can hydrate it? "Easy": get a Vue app server side rendered (we have successfully used Nuxt in production) &...
jonas's user avatar
  • 677
6 votes
1 answer
244 views

I've been coding in Java since 2005 and never thought that the code like that would actually be compilable: public class FooClass { public static final String FOO = FooClass.FOO; } Intellij ...
Andremoniy's user avatar
  • 35.1k
5 votes
2 answers
159 views

I am confused in C++ specification and I don't understand the following (I found similar topics but not exactly my question) Given the following source: int16_t a = 10000; int16_t b = 20000; int32_t c ...
FERcsI's user avatar
  • 500
-4 votes
1 answer
238 views

In composing an XML DTD, <!ENTITY % linearunit "( ... | ... | ...)"> listing all of the acceptable strings for linear measurement units in an application, I've just become aware that &...
Theodore Hall's user avatar
0 votes
1 answer
165 views

I tried to find examples where the formStateRestoreCallback lifecycle hook could return autocomplete as the second reason argument, but I didn't find anything. Here is a quote from the specification: ...
MaximPro's user avatar
  • 556
1 vote
1 answer
50 views

i have two kinds of input the jsons case 1: { "MainObject": { "MainObjectDetails": { "SubDetails": { "ObjectProperty": "1" } ...
user3691240's user avatar
0 votes
0 answers
208 views

I am trying to generate a specifications file at buildtime for my controllers using OpenApi. I included this in the csproj file: <OpenApiDocumentsDirectory>$(MSBuildProjectDirectory)/ApiSpecs<...
amsh2's user avatar
  • 1
0 votes
0 answers
13 views

The code is a simple example that helps explain the problem I have. These are the entities I have: @Entity @Data public class Parent { @Id @Column(nullable = false, updatable = false) @...
xabikip's user avatar
  • 58
1 vote
0 answers
47 views

I'm wondering if there are extensions, libraries or applications which can help create examples from OpenAPI rulesets used for linting OpenAPI specifications. I've been googling for "generate ...
Harald S. Hanssen's user avatar
0 votes
1 answer
53 views

How one using spring data specifications can do the equivalent of this: select a.*, (select count(1) from b where b.a_id = a.id) as count from a; If this is not possible is there an equivalent?
minihulk22's user avatar
6 votes
1 answer
89 views

Python does slice-by-copy on strings: Does Python do slice-by-reference on strings? Is this something that all implementations of Python need to respect, or is it just a detail of the CPython ...
Kaia's user avatar
  • 899
0 votes
2 answers
144 views

For whence parameter of fseek (or lseek in POSIX), some languages that calls C lib assume SEEK_SET, SEEK_CUR, SEEK_END are 0,1,2, respectively, such as gfortran, Nim [^py]. [^py]: while Python's seek ...
lit's user avatar
  • 19
0 votes
2 answers
68 views

On one hand the Java class spec says: There may be no more than one LocalVariableTable attribute per local variable in the attributes table of a Code attribute. But on the other hand lots of ...
Computer says 'no'--SOooooo's user avatar
-2 votes
1 answer
142 views

How can I design a ChatGPT alternative that recognises patterns in algorithm specifications in Prolog and maps input to output? I need recursive patterns in nested list form with [r,"a"] for ...
Lucian Green's user avatar
1 vote
0 answers
167 views

Is it valid for a GraphQL server to return an empty object (i.e. {}) as a field's value? For example, given a GraphQL schema like type Query { person: Person } type Person { name: String } and a ...
Logan's user avatar
  • 1,844
0 votes
1 answer
133 views

Whatwg spec describes conception of the speculative HTML parsing. So, there are many places in spec with the term active speculative parser. Spec says that HTML parser that owns an instance of ...
MaximPro's user avatar
  • 556
0 votes
0 answers
98 views

Note: I asked this question in the WHATWG repo, but the issue was closed almost instantly with a reason stating something like "this sort of question is better suited for SO". The WHATWG ...
MaximPro's user avatar
  • 556
0 votes
1 answer
69 views

Currently I have the following INPUT JSON. The "temp"-Object has been added with the help of a default spec. { "items": [ { "description": "myDescription&...
Katja Bürger's user avatar
3 votes
1 answer
29 views

In a UML definition of a metamodel it is possible to define metaconstraints e.g. <<metaconstraint>> umlRole="classifier" <<metaconstraint>> umlRole = "class"...
wikitect's user avatar
  • 474
2 votes
1 answer
119 views

As per my understanding, for Sticky Positioning Scheme, the CSS spec defines that the insets applied to an sticky element is relative to the edges of the nearest scrollport which then forms the Sticky ...
Perspicacious's user avatar
1 vote
0 answers
87 views

I packaged my django project with pyinstaller, my project tree is like below: I did all bellow steps: Copy all static file into static/ with python manage.py collectstatic Add all static file in ....
Xianghui's user avatar

1
2 3 4 5
36